Thanks for the feedback @Haiwei_Wang! This is a known bug that’s gaining traction pretty quickly.
Two known workarounds:
- Set
commandto the absolute path of system npx (e.g.,/Users/<user>/.nvm/versions/node/<version>/bin/npx) - Add
"env": { "NPM_CONFIG_PREFIX": "<npm config get prefix value>" }to each MCP server entry in mcp.json