From 0f115861f117970a4d1c19e923c87eaa06f5bc8e Mon Sep 17 00:00:00 2001 From: Justin Spahr-Summers Date: Mon, 18 Nov 2024 14:09:59 +0000 Subject: [PATCH] Fix default directory/name --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);