When adding servers to mcp.json, all servers in the MCP server list in cursor settings show an error when try to initialize: “failed to create client” or “client closed”
I have same issue with you. Everthing set up like example
{
“mcpServers”: {
“firecrawl-mcp”: {
“command”: “npx”,
“args”: [
“-y”,
“firecrawl-mcp”
],
“env”: {
“FIRECRAWL_API_KEY”: “■■■”
}
}
}
}
Actually you make a good point about Node.js. I’m using devbox for this project so all of my dependancies are handled through it, including node. Switching to devbox run npx as the command remedies the issue of no node installed, but the mcp server is still not able to initialize.
Absolutely. It’s so weird. I have using debug tool of MCP
I can init it local when using this tool. I am try multiple node version > 18 → 22. But i can’t start any MCP tools in cursor setting. idk
Im run in mac os 15.3.2 apple m1
╰─ nvm list
v10.16.0
→ v14.18.0
v16.20.0
v18.20.4
v20.18.2
v22.13.1
system
default → 14 (-> v14.18.0)
use → 14 (-> v14.18.0)
iojs → N/A (default)
unstable → N/A (default)
node → stable (-> v22.13.1) (default)
stable → 22.13 (-> v22.13.1) (default)
I have a question about your setting mcp server. If i setup it is not global setting mcp Which node version cursor will using for execute mcp ?
Thank you for your reply.
It make me doubt about version default of node in my enviroment.
My default dev version in nvm is always 14.6 . Therefore i have change default to > 20. Now MCP Servers work correctly .