Skip to main content

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}

This seems like an expired token or auth. I had Claude Code “Reconnect” and things started working again with /mcp.


Just for your information, guys — in my case, when I try the /mcp endpoints using the get_code tool in VS Code, I encounter a timeout error. Other tools are working fine. Could this be related to a server-side issue?  Anyone finds a solution on this. 

 


This still seems broken. VSCode 1.103, fresh Figma installation, dev seat, started the MCP, get the toast that it’s running, but then see the following:

VS Code:

2025-08-19 10:31:17.945 5info] Starting server figma
2025-08-19 10:31:17.948 8info] Connection state: Starting
2025-08-19 10:31:17.949 9info] Starting server from Remote extension host
2025-08-19 10:31:17.989 9info] Connection state: Running
2025-08-19 10:31:18.062 2info] Connection state: Error Error sending message to http://127.0.0.1:3845/mcp: TypeError: fetch failed
2025-08-19 10:31:18.062 2error] Server exited before responding to `initialize` request.

 

Config:

    "figma": {
// The Figma MCP server requires you to setup the local client.
// 1. Install the rich client: https://www.figma.com/downloads/
// 2. Login with a "Dev" account
// 3. Enable the MCP: Upper left Figma menu -> Preferences -> "Enable Dev Mode MCP Server"
// 4. Click start above "figma" (above this comment).
"type": "http",
"url": "http://127.0.0.1:3845/mcp"
}

If you nav to the endpoint in a browser, you get:

{"jsonrpc":"2.0","error":{"code":-32001,"message":"Invalid sessionId"},"id":null}

Hey All, thanks for following up! 

As ​@Tom Reem mentioned previously, when you’re testing using CURL or in the browser, you’ll receive the Invalid sessionId, because you’re not passing in a session ID as a parameter. While MCP clients do allow this, it’s not designed to be used directly. Again, this is an issue on the Cursor side of things. Even if it goes red after a few minutes, but it will still work.

Again, for direct one on one support with this, we encourage you to reach out to our support team directly and provide screenshots of exactly where in your MCP clients the errors are popping up: https://help.figma.com/hc/en-us/requests/new


This seems like an expired token or auth. I had Claude Code “Reconnect” and things started working again with /mcp.

👍 This works for me.


This worked for me:
claude mcp add figma-dev -- npx -y figma-developer-mcp --figma-api-key=YOUR_API_KEY  --stdio  

You can generate an API_KEY in your account settings.


Reply