-
Notifications
You must be signed in to change notification settings - Fork 10.2k
MCP Servers Don't Work with NVM #64
Copy link
Copy link
Closed
Description
Problem
When using NVM (Node Version Manager), the standard installation and usage instructions for MCP servers don't work. The app tries to use an incorrect Node and fails.
Workaround
- Avoid
npx, install packages globally. - Use absolute paths to both the Node executable and server script.
Example:
{
"mcpServers": {
"puppeteer": {
"command": "/Users/username/.nvm/versions/node/v22.11.0/bin/node",
"args": [
"/Users/username/.nvm/versions/node/v22.11.0/lib/node_modules/@modelcontextprotocol/server-puppeteer/dist/index.js"
]
}
}
}OS: macOS 15.1.1 (24B91)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels