diff --git a/packages/mcp/src/index.ts b/packages/mcp/src/index.ts index 2bc67d8c..e1214ba6 100644 --- a/packages/mcp/src/index.ts +++ b/packages/mcp/src/index.ts @@ -18,6 +18,7 @@ const DEFAULT_PORT = 3000; // Parse CLI arguments using commander const program = new Command() + .version(SERVER_VERSION, "-v, --version", "output the current version") .option("--transport ", "transport type", "stdio") .option("--port ", "port for HTTP transport", DEFAULT_PORT.toString()) .option("--api-key ", "API key for authentication (or set CONTEXT7_API_KEY env var)")