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:.
The error indicates that the URL 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).
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).