Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -104,8 +103,8 @@ It should look like this
"servers": {
"mongodb-mcp-server": {
"type": "stdio",
"command": "/Users/<user>/workplace/atlas-mcp-server/dist/index.js",
"args": []
"command": "npx",
"args": ["-y", "@mongodb-js/mongodb-mcp-server"]
}
}
}
Expand Down Expand Up @@ -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"]
}
}
}
Expand Down
40 changes: 3 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mongodb-js/mongodb-mcp-server",
"description": "MongoDB Model Context Protocol Server",
"version": "0.0.0",
"version": "0.0.1",
"main": "dist/index.js",
"author": "MongoDB <[email protected]>",
"homepage": "https://github.com/mongodb-js/mongodb-mcp-server",
Expand Down Expand Up @@ -35,13 +35,10 @@
"@eslint/js": "^9.24.0",
"@jest/globals": "^29.7.0",
"@modelcontextprotocol/inspector": "^0.8.2",
"@modelcontextprotocol/sdk": "^1.8.0",
"@redocly/cli": "^1.34.2",
"@types/express": "^5.0.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.0",
"@types/simple-oauth2": "^5.0.7",
"@types/yargs-parser": "^21.0.3",
"eslint": "^9.24.0",
"eslint-config-prettier": "^10.1.1",
"globals": "^16.0.0",
Expand All @@ -58,6 +55,9 @@
"yaml": "^2.7.1"
},
"dependencies": {
"@types/simple-oauth2": "^5.0.7",
"@types/yargs-parser": "^21.0.3",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@types don't need to be in dependencies since we're transpiling to pure js.

"@modelcontextprotocol/sdk": "^1.8.0",
"@mongodb-js/devtools-connect": "^3.7.2",
"@mongosh/service-provider-node-driver": "^3.6.0",
"bson": "^6.10.3",
Expand Down
Loading