Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCP does not support NVM #3

Open
serverlesspolska opened this issue Dec 27, 2024 · 0 comments
Open

MCP does not support NVM #3

serverlesspolska opened this issue Dec 27, 2024 · 0 comments

Comments

@serverlesspolska
Copy link

Hello @RafalWilinski,

Thank you for this project. While playing with it, I found that Claude MCP does not support NVM (Node Version Manager).
See: modelcontextprotocol/servers#64

Here is my workaround.

Use the following setup, assuming you have installed Node 20 using nvm.

{
  "mcpServers": {
    "aws": {
      "command": "/Users/<USERNAME>/.nvm/versions/node/v20.10.0/bin/node",
      "args": [
        "<WORKSPACE_PATH>/aws-mcp/node_modules/tsx/dist/cli.mjs",
        "<WORKSPACE_PATH>/aws-mcp/index.ts",
        "--prefix",
        "<WORKSPACE_PATH>/aws-mcp",
        "start"
      ]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant