Skip to content

Claude: MCP server does not start with nvm version #192

Closed
@Gervwyk

Description

@Gervwyk

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions