diff --git a/src/index.ts b/src/index.ts index 9b87098..64c802b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -84,7 +84,7 @@ async function createServer(directory: string, options: any = {}) { const program = new Command() .name("create-mcp-server") .description("Create a new MCP server") - .argument("[directory]", "Directory to create the server in", ".") + .argument("[directory]", "Directory to create the server in", process.cwd()) .option("-n, --name ", "Name of the server") .option("-d, --description ", "Description of the server") .action(createServer);