GUIDE

Figma MCP with Claude Code

Figma’s MCP server lets Claude Code read a frame and build UI from it. Here is the setup, how to hand it the right frame, and where a canvas the agent can edit is the better fit.

Connect Figma to Claude Code

Figma’s remote server needs no desktop app. In your terminal, add it once (add --scope user to make it available in every project):

claude mcp add --transport http figma https://mcp.figma.com/mcp

Start a new Claude Code session, type /mcp, select figma, choose Authenticate and click Allow access. Claude Code then reports that it is connected. Figma also ships a Claude Code plugin (claude plugin install figma@claude-plugins-official) that adds its skills on top of the server; the manual command above does not install them. Both routes are in Figma’s own setup guide, which is the source to trust if the commands change.

Give Claude Code the right frame

  • In Figma, right-click a frame or layer and choose Copy link to selection.
  • Paste the link into your prompt and say what to build: the component, the framework, where it goes.
  • Name your own components and tokens in the prompt, so the generated code reuses them instead of inventing new ones.

Keep the selection small. One screen or one component per prompt gives the agent less to guess than a whole page.

What to expect

Figma’s server is built so an agent can read design context from files that already exist in Figma. That is the right tool when your design team and its libraries live there. The agent follows a file someone else drew; it does not own the design.

When the agent should draw, not just read

If Claude Code is a daily collaborator on the design itself, a read-only link is the wrong shape. Wonderblok is a canvas with its own MCP server: Claude Code reads frames, components and tokens, and edits the file you have open, with every edit carrying the hash of your design rules. Connect it once:

claude mcp add --scope user wonderblok -- \
  "/Applications/Wonderblok.app/Contents/MacOS/wonderblok-app" mcp

The docs have the full setup, and Figma MCP alternative compares the two in detail. You can run both: Figma for files that already exist there, Wonderblok for new work.

Questions

How do I connect Figma to Claude Code?
Run claude mcp add --transport http figma https://mcp.figma.com/mcp, start a new session, open /mcp, pick figma, choose Authenticate and allow access. Figma also offers a Claude Code plugin that adds its skills.
Do I need the Figma desktop app?
No. Figma's remote server does not require the desktop app. You sign in with your Figma account the first time you connect.
How do I point Claude Code at one frame?
In Figma, right-click the frame or layer, choose Copy link to selection, and paste the link into your prompt. The server reads the node from the link.
Can I use Figma's MCP server with Codex or Cursor?
Yes. Figma documents setup for Claude Code, Codex, Cursor and VS Code, among others.
Is Wonderblok a replacement for Figma's MCP server?
No. Wonderblok is a separate canvas with its own MCP server and its own .wonderblok files. It is for work where the agent draws and edits the design with you, not for reading files that live in Figma.