diff --git a/README.md b/README.md index d8c6d60..92729b5 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,7 @@ A command line tool for quickly scaffolding new MCP (Model Context Protocol) ser ## Getting Started ```bash -# Create a new server in the current directory -npx @modelcontextprotocol/create-server - -# Or specify a directory +# Create a new server in the directory `my-server` npx @modelcontextprotocol/create-server my-server # With options diff --git a/package.json b/package.json index 2a2f098..c5d9d73 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@modelcontextprotocol/create-server", - "version": "0.1.0", + "version": "0.1.1", "description": "CLI tool to create new MCP servers", "license": "MIT", "author": "Anthropic, PBC (https://anthropic.com)", diff --git a/src/index.ts b/src/index.ts index 32d001b..4d14d5c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -181,7 +181,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", process.cwd()) + .argument("", "Directory to create the server in") .option("-n, --name ", "Name of the server") .option("-d, --description ", "Description of the server") .action(createServer);