# MCP servers won't initialize

**URL:** <https://forum.cursor.com/t/mcp-servers-wont-initialize/68469>\
**Category:** Help\
**Created:** [March 22, 2025, 10:39pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469 "2025-03-22T22:39:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stoxophone](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/stoxophone/32/38948_2.png) [@Stoxophone](https://forum.cursor.com/u/Stoxophone)\
**Post date:** [March 22, 2025, 10:39pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/1 "2025-03-22T22:39:15Z")

</div>

MacOS sequoia 15.3.1  
Cursor v0.47.8

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”

Heres my server list (edited to remove API keys):

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/a/f/af1719cc57461caf9d2d6317a89a887c57909552.png)

And my mcp.json:

```auto
{
  "mcpServers": {
    "firecrawl-mcp-server": {
      "command": "npx",
      "args": ["-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": ...
      }
    }
  }
}

```

Any other MCP server I try I get the same response.

---

<div class="post-metadata">

**Author:** ![angushhz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/angushhz/32/9291_2.png) [@angushhz](https://forum.cursor.com/u/angushhz)\
**Post date:** [March 23, 2025, 9:14am UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/2 "2025-03-23T09:14:44Z")

</div>

I have same issue with you. Everthing set up like example  
{  
“mcpServers”: {  
“firecrawl-mcp”: {  
“command”: “npx”,  
“args”: [  
“-y”,  
“firecrawl-mcp”  
],  
“env”: {  
“FIRECRAWL\_API\_KEY”: “■■■”  
}  
}  
}  
}

```auto
Version: 0.47.8
VSCode Version: 1.96.2
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

```

 ![CleanShot 2025-03-23 at 16.14.05@2x](https://us1.discourse-cdn.com/cursor1/original/3X/d/b/db438dc3f020d92d39448ad6288301bf8f318df0.png)

@ SSE error: TypeError: fetch failed: connect ECONNREFUSED 127.0.0.1:3000, connect ECONNREFUSED ::1:300C

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 23, 2025, 11:12am UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/4 "2025-03-23T11:12:09Z")

</div>

Hey, it’s working as expected for me. Also, make sure you have Node.js installed on your system.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/2/c/2cefac349e0b48a738f4138fa4bc268090d2a6d7.png)

---

<div class="post-metadata">

**Author:** ![Stoxophone](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/stoxophone/32/38948_2.png) [@Stoxophone](https://forum.cursor.com/u/Stoxophone)\
**Post date:** [March 23, 2025, 4:31pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/5 "2025-03-23T16:31:48Z")

</div>

Is this cursor v0.47.8?

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.

---

<div class="post-metadata">

**Author:** ![angushhz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/angushhz/32/9291_2.png) [@angushhz](https://forum.cursor.com/u/angushhz)\
**Post date:** [March 23, 2025, 4:43pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/6 "2025-03-23T16:43:42Z")

</div>

Absolutely. It’s so weird. I have using debug tool of MCP

> **[Debugging - Model Context Protocol](https://modelcontextprotocol.io/docs/tools/debugging)**
>
> A comprehensive guide to debugging Model Context Protocol (MCP) integrations

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

 ![CleanShot 2025-03-23 at 23.42.22](https://us1.discourse-cdn.com/cursor1/original/3X/a/6/a611655db71298b7ab5ed6e49c339405e8adc3d0.png)  
╰─ 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 ?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [March 23, 2025, 4:50pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/7 "2025-03-23T16:50:56Z")

</div>

Hey, my version is 0.47.8. Maybe it doesn’t work with devbox. In this case, try configuring MCP for the project instead of using a global setup.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/2/0/20709e3a44f867206786c3040a77bea49da62286.png)

---

<div class="post-metadata">

**Author:** ![angushhz](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/angushhz/32/9291_2.png) [@angushhz](https://forum.cursor.com/u/angushhz)\
**Post date:** [March 23, 2025, 5:10pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/8 "2025-03-23T17:10:00Z")

</div>

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 .

 ![CleanShot 2025-03-24 at 00.09.49@2x](https://us1.discourse-cdn.com/cursor1/original/3X/6/a/6a68c782e9ccd860948fe09d86fd10234827fe42.png)

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 22, 2025, 5:10pm UTC](https://forum.cursor.com/t/mcp-servers-wont-initialize/68469/9 "2025-04-22T17:10:18Z")

</div>

Closed on April 22, 2025, 5:10pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
