Troubleshoot MCP Server Startup with npx on Ubuntu 22 and Node.js 20

Resolved 💬 2 comments Opened Mar 5, 2025 by stobias123 Closed Mar 5, 2025

Bug Description
no matter what I do I can't seem to get an MCP server to start. I'm on ubuntu 22 with nvm nodejs 20, have tried with full paths, using npm, npx, no dice.

Environment Info

  • Platform: linux
  • Terminal: ghostty
  • Version: 0.2.30
  • Feedback ID: c16c75ff-173d-401c-bbbf-b0cfa2c58dd9

I've tried adding with full path, or various other incantations, always see this.

  {
    "error": "Connection failed: spawn /home/stobias/.nvm/versions/node/v20.13.1/bin/node /home/user/.nvm/versions/node/v20.13.1/lib/node_modules/@modelcontextprotocol/server-puppeteer/dist/index.js ENOENT",
    "timestamp": "2025-03-05T05:18:36.454Z",
    "sessionId": "7b07eed9-943d-4ace-93b7-8b56809afb89",
    "cwd": "/home/user/repos/misc_projects"
  }

example command to try to add an mcp server.

claude mcp add figma 'npx -y @modelcontextprotocol/server-puppeteer'

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗