[Agent CLI] Figma MCP server not usable

Where does the bug appear (feature/product)?

Cursor CLI

Describe the Bug

The Figma MCP server can be used via Cursor IDE, but the same configuration in cursor-agent results in :

Failed to list MCP servers: HTTP 403: Invalid OAuth error response: SyntaxError: Unexpected token 'F', "Forbidden" is not valid JSON. Raw body: Forbidden

when running cursor-agent mcp list/login

My .cursor/mcp.json:

{
  "mcpServers": {
    "Figma": {
      "url": "https://mcp.figma.com/mcp",
      "headers": {}
    }
  }
}

Steps to Reproduce

Add the Figma MCP server config as indicated above

Expected Behavior

cursor-agent mcp login should display a URL to follow to authenticate.

Operating System

Ubuntu 24.04

Current Cursor Version (Menu → About Cursor → Copy)

cursor-agent 2025.10.22-f894c20

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue with cursor-agent’s OAuth/authentication handling for remote MCP servers.

The team is aware of similar bugs where cursor-agent fails to authenticate with OAuth-based MCP servers (like Figma and GitHub), even though they work in the IDE.

Workaround for now: use the Figma MCP through the Cursor IDE instead of the cursor-agent CLI.

I’ll pass this additional Figma MCP case to the team. Based on the error, cursor-agent isn’t handling the OAuth flow that the IDE completes correctly.

1 Like