# MCP server keep loading and display error: Invalid URL protocol

**URL:** <https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768>\
**Category:** Bug Reports\
**Created:** [October 24, 2025, 9:52am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768 "2025-10-24T09:52:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![408183](https://avatars.discourse-cdn.com/v4/letter/4/ac8455/32.png) [@408183](https://forum.cursor.com/u/408183)\
**Post date:** [October 24, 2025, 9:52am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/1 "2025-10-24T09:52:50Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I added mcp server setting:

```auto
{
  "mcpServers": {
    "Figma": {
      "url": "https://mcp.figma.com/mcp"
    }
  }
}

```

Then the mcp server state becomes “Loading tools” and here is the log

2025-10-24 17:44:29.152 [info] No stored tokens found  
2025-10-24 17:44:29.152 [error] Client error for command SSE error: Invalid URL protocol: the URL must start with `http:` or `https:`.  
2025-10-24 17:44:29.152 [error] Error connecting to SSE server after fallback: SSE error: Invalid URL protocol: the URL must start with `http:` or `https:`.

### Steps to Reproduce

Set

```auto
{
  "mcpServers": {
    "Figma": {
      "url": "https://mcp.figma.com/mcp",
      "headers": {}
    }
  }
}

```

### Expected Behavior

Go on and show something else instead of showing the URL error

### Operating System

MacOS

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.54  
VSCode Version: 1.99.3  
Commit: 5c17eb2968a37f66bc6662f48d6356a100b67be0  
Date: 2025-10-21T19:07:38.476Z (2 days ago)  
Electron: 34.5.8  
Chromium: 132.0.6834.210  
Node.js: 20.19.1  
V8: 13.2.152.41-electron.0  
OS: Darwin arm64 23.4.0

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<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:** [October 24, 2025, 10:22am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/2 "2025-10-24T10:22:03Z")

</div>

Hey, thanks for the report. The issue is with the Figma MCP setup.

Figma MCP runs locally, not via a direct remote URL. You need to:

1. Follow Figma’s instructions to start the local server: [Guide to the Figma MCP server – Figma Learn - Help Center](https://help.figma.com/hc/en-us/articles/32132100833559-Guide-to-the-Dev-Mode-MCP-Server)
2. Update your mcp.json configuration:

```auto
{
  "mcpServers": {
    "Figma": {
      "url": "http://127.0.0.1:3845/sse"
    }
  }
}

```

The error indicates that the URL [https://mcp.figma.com/mcp](https://mcp.figma.com/mcp) isn’t recognized by Cursor’s MCP client as a valid SSE endpoint.

If the local Figma server is already running but the issue persists, please share the full MCP logs (Output tab → select “MCP: Figma” in the dropdown).

Let me know if this helps.

---

<div class="post-metadata">

**Author:** ![408183](https://avatars.discourse-cdn.com/v4/letter/4/ac8455/32.png) [@408183](https://forum.cursor.com/u/408183)\
**Post date:** [October 24, 2025, 10:25am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/3 "2025-10-24T10:25:49Z")

</div>

So is it depends on the MCP server’s response?

Now my another MCP server also faces this problem  
```  
{

“mcpServers”: {

“ai-sdk-5-migration”: {

“url”: “[https://ai-sdk-5-migration-mcp-server.vercel.app/api/mcp](https://ai-sdk-5-migration-mcp-server.vercel.app/api/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:** [October 24, 2025, 12:49pm UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/4 "2025-10-24T12:49:44Z")

</div>

Got it, thanks. The error points to URL protocol validation failing, even though your URLs look correct.

For the `ai-sdk-5-migration` server ([https://ai-sdk-5-migration-mcp-server.vercel.app/api/mcp](https://ai-sdk-5-migration-mcp-server.vercel.app/api/mcp)): the `JSON‑RPC` error confirms it’s not an SSE server, it’s a standard `JSON‑RPC` endpoint.

Cursor’s MCP client supports remote servers over SSE only. SSE streams events via GET, while your Vercel endpoint responds with `JSON‑RPC` (typically POST).

Solutions:

- Check if the `ai-sdk-5-migration` MCP server documents an SSE endpoint
- If it only supports `STDIO/JSON‑RPC`, run it locally via a command instead of using a URL
- Use a different MCP server that supports SSE for remote connections

Same for Figma, their MCP runs locally via stdio, which is why a local bridge at `http://127.0.0.1:3845/sse` works (it translates to SSE).

---

<div class="post-metadata">

**Author:** ![Zepp](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/zepp/32/84235_2.png) [@Zepp](https://forum.cursor.com/u/Zepp)\
**Post date:** [October 25, 2025, 7:02am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/5 "2025-10-25T07:02:09Z")

</div>

Thanks, but this is my another cursor account. The same confiuration works on this version of Cursor.

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/9/3/93e467fae712593436135e00461884eae39f5f1a.png)

And here is the version:

```auto
Version: 1.7.46
VSCode Version: 1.99.3
Commit: b9e5948c1ad20443a5cecba6b84a3c9b99d62580
Date: 2025-10-14T01:21:46.830Z (1 wk ago)
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.6.0

```

Both use HTTP/1.1 as HTTP compatibility mode.

I feel like this is a bug of the latest version IDE

---

<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:** [October 25, 2025, 6:59pm UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/6 "2025-10-25T18:59:45Z")

</div>

Thanks for the info, we’ll look into it. Also please update to version 1.7.54 and let me know if the issue still persists.

---

<div class="post-metadata">

**Author:** ![408183](https://avatars.discourse-cdn.com/v4/letter/4/ac8455/32.png) [@408183](https://forum.cursor.com/u/408183)\
**Post date:** [October 27, 2025, 2:08am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/7 "2025-10-27T02:08:32Z")

</div>

Actually, the latest 1.7.54 is the faulty version

> [@MCP server keep loading and display error: Invalid URL protocol](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768):
>
> Where does the bug appear (feature/product)? Cursor IDE Describe the Bug I added mcp server setting: { "mcpServers": { "Figma": { "url": "https://mcp.figma.com/mcp" } } } Then the mcp server state becomes “Loading tools” and here is the log 2025-10-24 17:44:29.152 [info] No stored tokens found 2025-10-24 17:44:29.152 [error] Client error for command SSE error: Invalid URL protocol: the URL must start with http: or https:. 2025-10-24 17:44:29.152 [error] Error connecting t…

---

<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:** [November 18, 2025, 2:09am UTC](https://forum.cursor.com/t/mcp-server-keep-loading-and-display-error-invalid-url-protocol/138768/8 "2025-11-18T02:09:05Z")

</div>

Closed on November 18, 2025, 2:09am UTC

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