Environment
- OS: Windows 11
- Claude Code version: 2.1.156
- MCP registration: claude mcp add --scope user --transport http figma https://mcp.figma.com/mcp
-
Problem
When attempting to authenticate Figma MCP in Claude Code (/mcp → figma → Authenticate), the following error appears immediately without any browser popup:
SDK auth failed: The operation timed out.
No browser window opens at any point during the flow.
-
Debugging steps I took
Step 1 — Confirmed MCP server itself is reachable
Sending a raw JSON-RPC initialize request to https://mcp.figma.com/mcp returns HTTP 401 with the expected www-authenticate header:
www-authenticate: Bearer resource_metadata="https://mcp.figma.com/.well-known/oauth-protected-resource",
 scope="mcp:connect",
 authorization_uri="https://api.figma.com/.well-known/oauth-authorization-server"
The MCP server is up and correctly signaling that OAuth is required. ✅
Step 2 — Traced the OAuth discovery endpoint
Claude Code needs to fetch https://api.figma.com/.well-known/oauth-authorization-server to build the authorization URL before opening a browser. I tested this endpoint directly:
- Browser: ERR_EMPTY_RESPONSE — server estabends no data
- Node.js: ECONNRESET — same behavior
- curl: Empty reply from server after ~60 seconds — TLS renegotiation occurs twice, then connection closes with no response body
Meanwhile, https://api.figma.com/ (root) returns a normal 302 redirect to https://www.figma.com/developers. So api.figma.com is not fully down — only the /.well-known/oauth-authorization-server path is broken.
Step 3 — Ruled out local causes
- Tried adding "BROWSER": "cmd.exe /c start" to Claude Code settings — no change (browser popup never fires because
the OAuth discovery step fails before the br
- Verified Node.js TLS handshake succeeds with mcp.figma.com — the issue is strictly with the /.well-known/ endpoint on api.figma.com
-
Root cause hypothesis
api.figma.com/.well-known/oauth-authorization-server appears to be non-functional — it accepts a TLS connection but
never sends an HTTP response, causing Claudeout during the discovery phase, before abrowser can be opened or any token exchange can occur.
This seems to match reports in this thread ae is server-side.
-
Request
Could the Figma team confirm:
1. Is api.figma.com/.well-known/oauth-authorturn a JSON response per RFC 8414?
2. Is there a known ETA for a fix?
3. Is there any workaround — e.g., a static authorization endpoint URL that Claude Code could be configured to use directly?
