A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/modelcontextprotocol/servers/issues/64 below:

MCP Servers Don't Work with NVM · Issue #64 · modelcontextprotocol/servers · GitHub

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
  1. Avoid npx, install packages globally.
  2. 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)

lborgav, aravindballa, evalstate, isaacphi, zhengshuai1001 and 127 morestephenlb, adit-shah-devrev and MaksimKiselevgitgirees, iwata-minkabu, cyborgshead, Jemaz, GARCHENG and 16 moremrprst, stephenlb and adit-shah-devrevJackCA, odellus and stephenlb


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4