I have Figma MCP enabled but whenever I go to the MCP server URL I see the following response
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
I have Figma MCP enabled but whenever I go to the MCP server URL I see the following response
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
Same issue for me. The figma desktop app showed a banner indicating that I was still using the old endpoint and suggested switching to the new sse endpoint. I did so but was unable to connect after changing it.
.mcp.json for claude code:
"figma" : {
"type": "sse",
"url": "http://127.0.0.1:3845/mcp"
}
The old /sse endpoint still works.
Same here
Same here
Despite being deprecated, add the URL to be /sse instead of /mcp, this will give deprecation warning inside Figma but it’ll work just fine. Hopefully they fix it soon
This worked for me for Claude Code. Using the official instructions (with the URL set to /mcp) did not work, but changing it to /sse has made it green)
Absolutely love how they released breaking change on Friday evening. Vibe coders all the way through!
Hi everyone — thank you for flagging this! I’ve shared your reports with our engineering team, and they’ve identified the cause of the issue. An investigation into a fix is currently in the works, and we’ll follow up here as soon as we have more to share.
Appreciate your patience in the meantime — and don’t hesitate to reach out if anything else comes up.
Also managed to get this working just by changing the URL to http://127.0.0.1:3845/sse
Hey everyone — good news. I checked in with the team working on this, and the issue has now been resolved. There was a problem in the setup documentation, but it’s been corrected — everything should work as expected now.
Next steps:
claude mcp remove figma-dev-mode-mcp-server
.http://127.0.0.1:3845/mcp
outlined in the updated Figma Learn guide: Guide to the Dev Mode MCP Server.
Reminder:
/sse
is deprecated and will stop working in the future.
Appreciate everyone’s patience while we worked on this! Let us know how things go — and feel free to reach out if anything else comes up.
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
When using http://127.0.0.1:3845/mcp
and when i use http://127.0.0.1:3845/sse
the agent load the prompt (get_code for example) to infinity..
Thank’s for your help
This has not been resolved - got it to work once randomly but then getting:
Figma MCP Cursor test % curl -s http://127.0.0.1:3845/mcp || echo "Connection failed"
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
Edit: Figured this out. Just had to remove the mcp and install the mcp in the correct directory.
Im still getting a “failed to connect” error using the /mcp or /sse commands. I removed the mcp multiple times and it seems to be running the figma desktop app. I wish there were more ways to debug this.
Not sure whats happening. Anyone have any suggestions? (on Mac OS, using Claude Code)
Hey everyone i’ve fix it with this config . By changing not just the link but the type too from sse to http
in claude-code.
● Update(..\.claude.json)
600 "mcpContextUris": o],
601 "mcpServers": {
602 "figma-server": {
603 - "type": "sse",
603 + "type": "http",
604 "url": "http://localhost:3845/mcp"
605 }
606 },
I still have the problem
Figma + Cursor. can’t connect it
I’m using vsCode, my configuration is good but always the same problem.
I tried using Cursor and have the same…
only http://127.0.0.1:3845/sse works. http://127.0.0.1:3845/mcp still returns
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
(Figma Desktop App version 125.6.5)
Anyone had any luck here? I get stuck in calling_get_code:
{
"clientLanguages": "typescript,javascript,html,css",
"clientFrameworks": "react,next.js",
"nodeId": ""
}
Visiting the URL gives me: {"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
I also don’t understand why the indicator keeps going red no matter home many times i turn it off and on.
Please be careful of setting up third party MCPs and sharing your Figma token with them.
Figma MCP Endpoint Issue - /mcp endpoint not working, only /sse works
SUMMARY
Despite Figma Desktop indicating that the MCP server is running at the /mcp endpoint, only the /sse endpoint is functional. The /mcp endpoint consistently returns JSON-RPC errors.
ENVIRONMENT DETAILS
- Figma Version: 125.7.5 (latest as of August 12, 2025)
- Operating System: macOS
- MCP Server Port: 3845 (confirmed running)
- Installation: Fresh reinstall to ensure no version conflicts
What Works:
- SSE Endpoint (http://127.0.0.1:3845/sse):
- Returns HTTP 200 OK
- Content-Type: text/event-stream
- Proper security headers
- Establishes connection successfully
- MCP tools function correctly through this endpoint
What Doesn't Work:
- MCP Endpoint (http://127.0.0.1:3845/mcp):
- Returns various JSON-RPC errors depending on request format
- Common errors encountered:
{"jsonrpc": "2.0", "error": {"code": -32001, "message": "Invalid sessionId"}, "id": null}
{"jsonrpc": "2.0", "error": {"code": -32000, "message": "Invalid request body for initialize request"}, "id": null}
TECHNICAL INVESTIGATION
Server Status Verification:
I confirmed that Figma is running the MCP server on port 3845 and VS Code can connect to it via the SSE endpoint.
Endpoint Testing Results:
- SSE Endpoint: curl -v http://127.0.0.1:3845/sse returns HTTP 200 OK with proper event-stream content
- MCP Endpoint: curl -X POST http://127.0.0.1:3845/mcp with standard JSON-RPC requests returns error messages
TROUBLESHOOTING STEPS ATTEMPTED
1. Clean Installation:
- Completely uninstalled and reinstalled Figma Desktop
- Downloaded latest version (125.7.5) from official website
- Verified no old MCP installations remained
2. Configuration Cleanup:
- Removed all third-party MCP installations
- Cleared MCP-related caches and configurations
- Ensured no port conflicts
3. Multiple Request Formats Tested:
- Standard MCP initialize requests
- Various JSON-RPC parameter combinations
- Different HTTP headers and content types
4. Process Verification:
- Confirmed Figma process is running the MCP server
- Verified port 3845 is correctly bound to Figma
- Established that VS Code can connect via SSE endpoint
CURRENT WORKAROUND
The SSE endpoint (/sse) works perfectly and provides full MCP functionality. MCP configuration that works:
```json
"Figma Dev Mode MCP": {
"url": "http://127.0.0.1:3845/sse"
}
```
QUESTIONS FOR FIGMA TEAM
1. Is the /mcp endpoint fully implemented in version 125.7.5?
- The endpoint exists but returns errors for standard MCP requests
- Are there specific authentication or session requirements?
2. What is the expected request format for the /mcp endpoint?
- Standard JSON-RPC 2.0 requests fail with "Invalid request body"
- Is there additional metadata or headers required?
3. Should we continue using the /sse endpoint?
- It works reliably but may be deprecated
- What is the migration timeline if any?
4. Are there any known issues with the MCP endpoint in the current version?
- This could help other developers experiencing similar issues
Please clarify the expected behavior and provide guidance on:
1. Proper usage of the /mcp endpoint
2. Whether /sse will remain supported
3. Any additional configuration required for /mcp endpoint functionality
Thank you for your attention to this matter. The MCP integration is valuable for design-to-code workflows, and clarifying this endpoint behavior would help the developer community.
Hi everyone,
I really appreciate you taking the time to share your updates here. I’ve passed your latest replies along to our product team to keep your experience front and center.
A couple of points to help clarify next steps:
If you’d like a member of our Product Support team to take a closer look at your specific file, please reach out to them directly and include:
Thanks again for your patience — your reports are a big help in improving things
Please be careful of setting up third party MCPs and sharing your Figma token with them.
Of course. But I still need to get work done. The /sse and /mcp endpoints don’t work. I also use motiff.com and their MCP server works perfectly fine.
Until Figma fixes this, I’m actually getting work done using the tool above. If it’s not fixed before I’m done then I’ll just use the tools that actually work.
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
- "OPTIONS /openapi.json HTTP/1.1" 200 OKTom ReemTom Reem
- "GET /openapi.json HTTP/1.1" 200 OK
- INFO - Calling endpoint: get_code, with args: {'clientLanguages': 'xml', 'clientFrameworks': 'android'}
- INFO - Unexpected error calling get_code
- "POST /get_code HTTP/1.1" 500 Internal Server Error
Please help to check it, thanks~
{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}
- "OPTIONS /openapi.json HTTP/1.1" 200 OK
- "GET /openapi.json HTTP/1.1" 200 OK
- INFO - Calling endpoint: get_code, with args: {'clientLanguages': 'xml', 'clientFrameworks': 'android'}
- INFO - Unexpected error calling get_code
- "POST /get_code HTTP/1.1" 500 Internal Server Error
Please help to check it, thanks~
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.