Where does the bug appear (feature/product)?
Somewhere else…
Describe the Bug
Environment:
macOS, Cursor (Latest version)
Steps to Reproduce:
Added an MCP server (Figma Plugin / Custom SSE) but mistakenly entered a URL without the https:// protocol.
The UI threw an Invalid URL protocol error.
Attempted to fix it by: Uninstalling the plugin, deleting the custom MCP from the UI, completely clearing /.cursor/mcp.json, and clearing the global mcp.json (~/Library/Application Support/Cursor/User/globalStorage/pro.antelope.cursor/mcp.json).
Force-quit Cursor (Cmd+Q), killed all related background processes, and restarted the Mac.
Expected Behavior:
Cursor should drop the invalid MCP connection attempt since all configuration files and UI toggles have been cleared and disabled.
Actual Behavior:
Cursor permanently caches the initial invalid URL state in a deeper internal database (likely IndexedDB or workspace storage). Upon restarting, it ignores the empty JSON files and indefinitely retries connecting to the phantom URL, falling back between streamableHttp and SSE, completely locking up the MCP process and spamming the output logs.
Logs:
Plaintext
[info] Creating streamableHttp transport
[error] Client error for command Invalid URL protocol: the URL must start with http: or https:.
[warning] Error connecting to streamableHttp server, falling back to SSE…
[error] Client error for command SSE error: Invalid URL protocol…
[info] Server not yet created, returning empty offerings
(Repeats infinitely every few seconds)
Steps to Reproduce
- Add an MCP server (Figma Plugin or Custom SSE) in Cursor Settings, but intentionally enter a URL without the
http://orhttps://protocol prefix. - Observe the initial
Invalid URL protocolerror in the MCP logs. - Attempt to fix the issue by completely removing the faulty MCP server: uninstall the Figma plugin, delete the custom server from the UI, and clear all contents inside both the project-level
.cursor/mcp.jsonand the globalmcp.json(at ~/Library/Application Support/Cursor/User/globalStorage/pro.antelope.cursor/mcp.json). - Force quit Cursor (Cmd+Q) and restart the application (or even restart the Mac).
- Open the MCP logs again. Observe that Cursor completely ignores the empty JSON files and remains stuck in an infinite retry loop, constantly trying to connect to the deleted/invalid URL and spamming the
Invalid URL protocolerror every few seconds.
Operating System
MacOS
Version Information
Version: 2.6.21
VSCode Version: 1.105.1
Commit: fea2f546c979a0a4ad1deab23552a43568807590
Date: 2026-03-21T22:09:10.098Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Yes - Cursor is unusable