Closed
Description
A pain to get it working in Cluade. Some co-workers got it working by adding env.PATH:
"MongoDB": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server",
"--connectionString",
"<xxx>"
],
"env": {
"PATH": "/Users/<xxx>/.nvm/versions/node/v22.15.0/bin:/bin"
}
}
I tried all advice in https://github.com/mongodb-js/mongodb-mcp-server with no luck.