diff --git a/README.md b/README.md index b887870a..3a2d93d4 100644 --- a/README.md +++ b/README.md @@ -86,8 +86,7 @@ npm run build Prerequisites: -- Use VSCode Insiders (https://code.visualstudio.com/insiders/) -- Setup copilot in VSCode Insiders +- Node.js v20.x Step 1: Add the mcp server to VSCode configuration @@ -104,8 +103,8 @@ It should look like this "servers": { "mongodb-mcp-server": { "type": "stdio", - "command": "/Users//workplace/atlas-mcp-server/dist/index.js", - "args": [] + "command": "npx", + "args": ["-y", "@mongodb-js/mongodb-mcp-server"] } } } @@ -141,7 +140,8 @@ Paste the mcp server configuration into the file { "mcpServers": { "Demo": { - "command": "path/to/this/repo/atlas-mc-server/dist/index.js" + "command": "npx", + "args": ["-y", "@mongodb-js/mongodb-mcp-server"] } } } diff --git a/package-lock.json b/package-lock.json index 121f9105..d47036ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mongodb-js/mongodb-mcp-server", - "version": "0.0.0", + "version": "0.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mongodb-js/mongodb-mcp-server", - "version": "0.0.0", + "version": "0.0.1", "license": "Apache-2.0", "dependencies": { "@modelcontextprotocol/sdk": "^1.8.0",