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 withclaude 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.
What the Figma MCP server does
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 |
Before you start: plans, seats and limits
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.
How to set up the Figma MCP server in Claude Code
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.
Option 1: install the Figma plugin (recommended)
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.
Option 2: add the remote server by hand
This adds the server to the current project only:
Terminal
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.
Sign in and check the connection
- Start a new Claude Code session.
- Type /mcp, select figma and choose Authenticate.
- Click Allow access in the browser window that opens.
- Back in Claude Code you should see "Authentication successful. Connected to figma". Run /mcp again to confirm it's listed.
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.
What about the desktop server?
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.
Prepare your Figma file: the part that decides the result
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.
- Use variables for colors, spacing, radius and type. They become your design tokens in code instead of one-off hex values.
- Use auto layout for everything that should stretch or stack. It tells the agent how the layout behaves, not just how it looks at one size.
- Name layers by what they are: CardHeader, PriceRow, PrimaryButton. Not Frame 12.
- Turn repeated parts into components with variants, so the agent builds one component instead of five slightly different copies.
- Resize the frame in Figma before you prompt. If it breaks in Figma, it will break in code.
- Work one frame or one component at a time. Small selections give better code and use fewer tool calls.
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.
Prompts that work with Figma MCP
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.
Build a screen from a frame
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. Turn Figma variables into tokens
Prompt
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. Check the build against the design
Prompt
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. Send the live UI back to Figma
Prompt
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.
Common problems and fixes
| 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 |
Where this fits in a designer's workflow
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.
FAQ
Is the Figma MCP server free?
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.
Should I use the remote or the desktop Figma MCP server?
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.
Can Claude Code edit my Figma file?
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.
Why does Claude Code ignore my design?
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.
How do I connect Figma to Claude Code for all my projects?
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.
