Skip to content

Figma MCP node not found in Cursor: pass the right node ID

Better Design

Direct answer

A node-not-found error means the Figma MCP server got no node ID, or one it cannot find in that file. Right-click the frame in Figma, choose Copy link to selection, and paste that link into your prompt, because only the desktop server can read your current selection.

A hand-drawn terminal showing the command or error this guide covers: cursor mcp specific node not found.

Steps that get the Figma MCP server a node it can find

Each command below comes from the official docs, read on November 12, 2026. The comment above each line says what it does.

commands and config
# Figma's help center: design context is link-based, and your client extracts the node ID from this link.
Right-click the frame or layer > Copy link to selection

# Figma's MCP guide: the file key is the segment after /design/, and the node ID is the node-id value, such as 42-15.
https://figma.com/design/:fileKey/:fileName?node-id=1-2

# Without a node ID it returns the file's top-level pages; if the node ID is invalid, the error also includes the page list.
get_metadata

# Figma's remote server config for Cursor (Cursor Settings > Tools & MCP > add a custom MCP server).
{
  "mcpServers": {
    "figma": {
      "url": "https://mcp.figma.com/mcp"
    }
  }
}

# In Cursor: remove a leftover desktop server so Cursor stops calling it instead of the remote one.
Cursor Settings > Tools & MCP > remove the server at http://127.0.0.1:3845/mcp, then restart Cursor

# In Claude Code: the same fix from the terminal, for a leftover desktop server at http://127.0.0.1:3845/mcp.
claude mcp list
claude mcp remove figma-desktop

# Figma's FAQ: failed tool calls in Cursor often come from expired or corrupted sign-in tokens; sign in again after.
Cmd Shift P (Mac) / Ctrl Shift P > Clear All MCP Tokens

# Ask your agent to run it to see the email, plans and seat you are signed in with.
whoami

The steps for cursor mcp specific node not found

Four steps take you from the problem to a working MCP server.

A hand-drawn four-step path: Copy link to selection in Figma, Paste the link into the prompt, Check which Figma server the client uses, Run get_design_context again.
  1. Step 1: Copy link to selection in Figma
  2. Step 2: Paste the link into the prompt
  3. Step 3: Check which Figma server the client uses
  4. Step 4: Run get_design_context again

Causes and the fixes Figma documents

The prompt says "my selection" but the client uses the remote server
Fix

Include a link to a frame or layer in the prompt

Source

Figma developer docs, Tools and prompts

The node ID does not exist in that file
Fix

Copy a fresh link with Copy link to selection, or call get_metadata to list the pages

Source

Figma REST API docs, Tools and prompts

The desktop and remote servers are both configured
Fix

Remove the 127.0.0.1:3845 entry, or name them figma and figma-desktop and name the remote one in prompts

Source

Figma help center, Code to canvas

The signed-in account cannot open the file
Fix

Run whoami and check the account belongs to the plan that owns the file

Source

Figma MCP server FAQs

Expired sign-in tokens in Cursor
Fix

Run Clear All MCP Tokens, sign in again, then restart Cursor

Source

Figma MCP server FAQs

Caveats the docs call out

  • Your client won't open the link; it only extracts the node ID the MCP server needs.
  • Prompting with your current selection only works with the desktop server.
  • The desktop server needs the Figma desktop app open with a Figma Design file, and the server turned on in Dev Mode.
  • Large, deeply nested frames can fail without an error; select a smaller section or a single component.
  • You can only use the MCP server with Figma files you already have access to.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Figma MCP node not found in Cursor: pass the right node ID" at https://better-design.com/blog/figma-mcp-node-not-found and help me apply it to my project.

A node-not-found error means the Figma MCP server got no node ID, or one it cannot find in that file. Right-click the frame in Figma, choose Copy link to selection, and paste that link into your prompt, because only the desktop server can read your current selection.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

Why does "use my selection" fail in Cursor?

Figma's docs say selection prompts only work with the desktop server. With the remote server at https://mcp.figma.com/mcp, include a link to a frame or layer in the prompt.

Where does the node ID come from?

From the node-id value in a Figma link, such as node-id=42-15. Right-click a layer and choose Copy link to selection to get one.

How do I find valid node IDs in a file?

Call get_metadata without a node ID. It returns the file's top-level pages, and its outline lists layer IDs, names and types.

Where these commands and paths come from

Each command, path and caveat comes from the official docs, read on November 12, 2026. Commands change between releases, so check the docs for your version.

Add design guidance to the same setup

MCP servers give your coding agent tools and data. Better Design is an MCP server too: it gives the agent a design system, interface principles and review rules, so the screens it builds look designed.