cd /news/ai-agents/how-to-set-up-the-figma-mcp-server-w… · home › topics › ai-agents › article
[ARTICLE · art-176855] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How to set up the Figma MCP server with Claude Code (and get code that matches your design)

A developer documented a five-minute setup for connecting Figma to Claude Code via the Figma MCP server, either through the official plugin (`claude plugin install figma@claude-plugins-official`) or by adding the remote endpoint at mcp.figma.com/mcp with the `claude mcp add` command. The writeup notes that output quality hinges on the Figma file itself—variables, auto layout, components and real layer names—and that seat-based rate limits (200 tool calls a day for Full or Dev seats on paid plans, 20 a month for View and Collab seats) are the most common point of failure.

recommendation

Add the Figma MCP server at user scope so it works across projects, and confirm your seat's daily tool-call limit before relying on it in a build session.

more in playbook: Designing agent systems
by read8 min views1 publishedNov 26, 2026

Short answer

  • To connect Figma to Claude Code, install the Figma plugin with claude plugin install figma@claude-plugins-official, or add the remote server with claude mcp add --transport http figma https://mcp.figma.com/mcp. Then type /mcp, pick figma, choose Authenticate and allow access in the browser.- The setup takes five minutes. The result depends on your Figma file: variables for colors and spacing, auto layout, components and real layer names are what turn a guess into code that matches the design.
  • Check your seat before you start: a Full or Dev seat on a paid plan gets 200 tool calls a day, while View and Collab seats get 20 a month.

MCP (Model Context Protocol) is a standard way for AI tools to connect to other apps. The Figma MCP server gives Claude Code direct access to your Figma files, so instead of pasting screenshots and hex codes into a chat, the agent reads the real thing: frames, components, variables and layout.

It works in both directions. From Figma to code, Claude Code can turn a selected frame into code and pull your variables and components into the project. From code to Figma, it can write native frames and components to the canvas, and capture the live UI of a running web app as editable layers.

What you can do Direction Needs
Generate code from a selected frame Figma → code Remote or desktop server
Pull variables, components and layout data Figma → code Remote or desktop server
Reuse your real components (Code Connect) Figma → code Code Connect set up
Write frames and components to the canvas Code → Figma Remote server, Full seat outside drafts
Send the live UI of your app to Figma Code → Figma Remote server, supported client

This is where most setups fail, so check it first. The server itself is available to everyone, but how often you can use it depends on your plan and seat. These are the limits on Figma's rate limits page in November 2026:

Seat Professional Organization Enterprise
Full or Dev 200 calls a day, 10 a minute 200 calls a day, 15 a minute 600 calls a day, 20 a minute
View or Collab 20 calls a month 20 calls a month 20 calls a month

On the Starter plan you get 20 calls a month, which a single build session can use up. The limits apply to tools that read from Figma; writing tools such as creating a file or sending a design to the canvas don't count. Your account also has to belong to the plan that owns the file, so a paid seat reading a file in a free Starter team can still hit the Starter limit.

You also need Claude Code installed and a Figma account that can open the file you want to use.

There are two ways. The plugin is the one Figma recommends, because it adds the server and a set of skills for common Figma workflows in one step.

In your terminal, run:

Terminal

claude plugin install figma@claude-plugins-official

Restart Claude Code if it was running. If the command fails, your organization may block plugins; use option 2 instead.

This adds the server to the current project only:

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

To use Figma in every project, add the user scope: claude mcp add --scope user --transport http figma https://mcp.figma.com/mcp. This is what I'd do: you set it up once and forget it.

Outside a session, claude mcp list shows every server. If figma says "Needs authentication", the server is added but you haven't signed in yet: repeat steps 2 and 3. The full official steps are in Figma's Claude Code setup guide.

Figma also has a desktop server that runs through the Figma desktop app at http://127.0.0.1:3845/mcp. It needs a Dev or Full seat on a paid plan, and Figma strongly recommends the remote server instead: it has more features, including writing to the canvas, and doesn't depend on the desktop app being open.

Once it's connected, the quality of the code depends on what Claude Code can read. A frame built from loose rectangles with "Group 47" layers gives it nothing to work with, so it guesses. A frame built like a real interface gives it structure to follow. This is design work, and it's where a designer makes the biggest difference.

If your team already has a component library in code, set up Code Connect so the agent uses your real components instead of writing new ones.

Same screen, two files. Claude Code can only follow the structure that's actually in the file.

Copy a frame's link in Figma (right-click, Copy link to selection) and paste it into the prompt. These are the prompts I'd start with. For more, see my 23 vibe coding prompts.

Prompt

Build this frame as a page: [Figma link]
Use our existing components from src/components and our tokens.
Don't hard-code colors, spacing or font sizes.
Match the layout at 1440px and make it work at 390px.
Before you write code, list the components you'll reuse and any you need to create.
Read the variables in this file: [Figma link]
Create CSS variables (or our Tailwind theme) for colors, spacing, radius and type.
Keep the Figma names so designers and developers use the same words.
Show me the list before you write the file.
Compare the page at /pricing with this frame: [Figma link]
List every difference in spacing, type, color and alignment, most visible first.
Don't change anything yet.
Capture the running page at localhost:3000/settings and send it to Figma as editable layers,
in a new page called "Built, 26 Nov", so I can review it next to the design.

This direction, code to canvas, is the one most guides skip. It's useful when the build has moved ahead of the design: you get the real screen back in Figma, review it like any other design, leave comments, and give those comments to the agent for the next pass.

What you see Why Fix
figma: Needs authentication Server added, not signed in /mcp → figma → Authenticate → Allow access
"You've reached the Figma MCP tool call limit on the Starter plan" View/Collab seat, Starter plan, or the file lives in a Starter team Use a Full or Dev seat on a paid plan, and move the file to that team
The plugin install fails Your organization blocks plugins Add the server by hand (option 2)
Desktop server not found Figma desktop app closed or server not enabled Use the remote server, or open the app with the file
Code ignores your components No Code Connect and no rules for the agent Set up Code Connect, or name your components and folders in the prompt and in CLAUDE.md
Every screen looks slightly different Hard-coded values in Figma Move colors and spacing to variables, then regenerate

The Figma MCP server doesn't replace design. It removes the copy-paste step between the canvas and the code, so the design decisions you make in Figma actually reach the product. The work that matters is still the same: a clear spec, a small design system, and screens that handle real states.

I design SaaS products in Figma and build them with Claude Code, the way I built Profilapp. If you're choosing tools for that workflow, see the best vibe coding tools, compared. And if you'd rather have a designer set up the file and the build for you, see my services.

The server is available on every plan, but usage is limited by seat. Full and Dev seats on paid plans get 200 tool calls a day (600 on Enterprise). View and Collab seats, and the Starter plan, get 20 calls a month. Writing to the canvas is free during the beta and will later become usage-based.

The remote server. Figma recommends it, it works without the desktop app, and it's the only one that can write to the canvas and capture live UI. The desktop server runs locally at 127.0.0.1:3845 and needs a Dev or Full seat on a paid plan.

Yes, with the remote server. It can create and change frames, components and auto layout using your design system, and send a running web page to Figma as editable layers. Writing outside your drafts needs a Full seat.

Usually because the file has no structure to follow: hard-coded colors, no auto layout, unnamed layers and no components. Add variables, auto layout and semantic layer names, select one frame at a time, and tell it which code components to reuse.

Add the server with the user scope: claude mcp add --scope user --transport http figma https://mcp.figma.com/mcp. Without it, Claude Code adds the server to the current project only.

Originally published on elmamoune.dev. I'm El Mamoune, a product designer who designs SaaS products in Figma and builds them with AI coding tools. More about me.

── more in #ai-agents 4 stories · sorted by recency
── more on @figma 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-set-up-the-fi…] indexed:0 read:8min 2026-11-26 · —