Skip to content

Commit 894885f

Browse files
committed
fix: dependencies
1 parent 9286078 commit 894885f

File tree

3 files changed

+12
-46
lines changed

3 files changed

+12
-46
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ npm run build
8686

8787
Prerequisites:
8888

89-
- Use VSCode Insiders (https://code.visualstudio.com/insiders/)
90-
- Setup copilot in VSCode Insiders
89+
- Node.js v20.x
9190

9291
Step 1: Add the mcp server to VSCode configuration
9392

@@ -104,8 +103,8 @@ It should look like this
104103
"servers": {
105104
"mongodb-mcp-server": {
106105
"type": "stdio",
107-
"command": "/Users/<user>/workplace/atlas-mcp-server/dist/index.js",
108-
"args": []
106+
"command": "npx",
107+
"args": ["-y", "@mongodb-js/mongodb-mcp-server"]
109108
}
110109
}
111110
}
@@ -141,7 +140,8 @@ Paste the mcp server configuration into the file
141140
{
142141
"mcpServers": {
143142
"Demo": {
144-
"command": "path/to/this/repo/atlas-mc-server/dist/index.js"
143+
"command": "npx",
144+
"args": ["-y", "@mongodb-js/mongodb-mcp-server"]
145145
}
146146
}
147147
}

package-lock.json

Lines changed: 3 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@mongodb-js/mongodb-mcp-server",
33
"description": "MongoDB Model Context Protocol Server",
4-
"version": "0.0.0",
4+
"version": "0.0.1",
55
"main": "dist/index.js",
66
"author": "MongoDB <[email protected]>",
77
"homepage": "https://github.com/mongodb-js/mongodb-mcp-server",
@@ -35,13 +35,10 @@
3535
"@eslint/js": "^9.24.0",
3636
"@jest/globals": "^29.7.0",
3737
"@modelcontextprotocol/inspector": "^0.8.2",
38-
"@modelcontextprotocol/sdk": "^1.8.0",
3938
"@redocly/cli": "^1.34.2",
4039
"@types/express": "^5.0.1",
4140
"@types/jest": "^29.5.14",
4241
"@types/node": "^22.14.0",
43-
"@types/simple-oauth2": "^5.0.7",
44-
"@types/yargs-parser": "^21.0.3",
4542
"eslint": "^9.24.0",
4643
"eslint-config-prettier": "^10.1.1",
4744
"globals": "^16.0.0",
@@ -58,6 +55,9 @@
5855
"yaml": "^2.7.1"
5956
},
6057
"dependencies": {
58+
"@types/simple-oauth2": "^5.0.7",
59+
"@types/yargs-parser": "^21.0.3",
60+
"@modelcontextprotocol/sdk": "^1.8.0",
6161
"@mongodb-js/devtools-connect": "^3.7.2",
6262
"@mongosh/service-provider-node-driver": "^3.6.0",
6363
"bson": "^6.10.3",

0 commit comments

Comments
 (0)