# Firecrawl MCP in Cursor gives "Client Closed" error

**URL:** <https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941>\
**Category:** Help\
**Created:** [March 21, 2025, 2:26pm UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941 "2025-03-21T14:26:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![divaneren2](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/divaneren2/32/39192_2.png) [@divaneren2](https://forum.cursor.com/u/divaneren2)\
**Post date:** [March 21, 2025, 2:26pm UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941/1 "2025-03-21T14:26:10Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/5/9/599c8be645e84ef3699fb4496cd33d8d65bfb48c.png)  
I’m sure I did everything right but unfortunately firecrawl-mcp doesn’t work in Cursor. I tried it in Windsurf and it works there.

When I run it through cmd it works fine:

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

**PLEASE HELP ME**

---

<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 22, 2025, 1:47pm UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941/2 "2025-03-22T13:47:38Z")

</div>

Hey, it seems you incorrectly added the server in the mcp.json file. Here’s an example of a server:

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

```

> **[GitHub - mendableai/firecrawl-mcp-server: Official Firecrawl MCP Server - Adds powerful web...](https://github.com/mendableai/firecrawl-mcp-server)**
>
> Official Firecrawl MCP Server - Adds powerful web scraping to Cursor, Claude and any other LLM clients.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/5/b54373df39695a955797dcadc7063eace9382eea.png)

---

<div class="post-metadata">

**Author:** ![giventadevelop](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/giventadevelop/32/40270_2.png) [@giventadevelop](https://forum.cursor.com/u/giventadevelop)\
**Post date:** [March 25, 2025, 4:03am UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941/3 "2025-03-25T04:03:24Z")

</div>

If you are in windows make sure the entry in the Json file is us below and also make sure only one of the server is enabled at a time I have found issues having both the Github and fire crawl mcp servers enabled at the same time having issues at this moment it is able to load only one server at a time the npx command won’t work as it is so you have to use the cmd command as below

```auto
"mcp-server-firecrawl": {
      "command": "cmd",
      "args": [
        "/c",
        "npx",
        "-y", "firecrawl-mcp"],
      "env": {
        "FIRECRAWL_API_KEY": "3a52f2cb80d4b"
      }
    }

```

Make sure only one server is enabled at a time has shown in the image below to work with the fire crawl and you can switch once you have used it click the enable or disabled button and then refresh to get it enabled

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

---

<div class="post-metadata">

**Author:** ![divaneren2](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/divaneren2/32/39192_2.png) [@divaneren2](https://forum.cursor.com/u/divaneren2)\
**Post date:** [April 4, 2025, 1:21pm UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941/4 "2025-04-04T13:21:58Z")

</div>

Thank you very much

---

<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:** [May 4, 2025, 1:22pm UTC](https://forum.cursor.com/t/firecrawl-mcp-in-cursor-gives-client-closed-error/67941/5 "2025-05-04T13:22:37Z")

</div>

Closed on May 4, 2025, 1:22pm UTC

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