{"slug": "how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches", "title": "How to set up the Figma MCP server with Claude Code (and get code that matches your design)", "summary": "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.", "body_md": "**Short answer**\n\n- To connect Figma to Claude Code, install the Figma plugin with\n`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.\n- 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.\n\nMCP (Model Context Protocol) is a standard way for AI tools to connect to other apps. The [Figma MCP server](https://help.figma.com/hc/en-us/articles/32132100833559) 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.\n\nIt 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.\n\n| What you can do | Direction | Needs | \n|---|---|---|\n| Generate code from a selected frame | Figma → code | Remote or desktop server | \n| Pull variables, components and layout data | Figma → code | Remote or desktop server | \n| Reuse your real components (Code Connect) | Figma → code | Code Connect set up | \n| Write frames and components to the canvas | Code → Figma | Remote server, Full seat outside drafts | \n| Send the live UI of your app to Figma | Code → Figma | Remote server, supported client | \n\nThis 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](https://developers.figma.com/docs/figma-mcp-server/rate-limits-access/) in November 2026:\n\n| Seat | Professional | Organization | Enterprise | \n|---|---|---|---|\n| Full or Dev | 200 calls a day, 10 a minute | 200 calls a day, 15 a minute | 600 calls a day, 20 a minute | \n| View or Collab | 20 calls a month | 20 calls a month | 20 calls a month | \n\nOn 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.\n\nYou also need [Claude Code](https://code.claude.com/docs/en/overview) installed and a Figma account that can open the file you want to use.\n\nThere 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.\n\nIn your terminal, run:\n\n**Terminal**\n\n```\nclaude plugin install figma@claude-plugins-official\n```\n\nRestart Claude Code if it was running. If the command fails, your organization may block plugins; use option 2 instead.\n\nThis adds the server to the current project only:\n\n```\nclaude mcp add --transport http figma https://mcp.figma.com/mcp\n```\n\nTo 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.\n\nOutside 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](https://help.figma.com/hc/en-us/articles/39888612464151).\n\nFigma 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.\n\nOnce 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.\n\nIf your team already has a component library in code, set up [Code Connect](https://help.figma.com/hc/en-us/articles/32132100833559) so the agent uses your real components instead of writing new ones.\n\n*Same screen, two files. Claude Code can only follow the structure that's actually in the file.*\n\nCopy 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](https://elmamoune.dev/blog/vibe-coding-prompts).\n\n**Prompt**\n\n```\nBuild this frame as a page: [Figma link]\nUse our existing components from src/components and our tokens.\nDon't hard-code colors, spacing or font sizes.\nMatch the layout at 1440px and make it work at 390px.\nBefore you write code, list the components you'll reuse and any you need to create.\nRead the variables in this file: [Figma link]\nCreate CSS variables (or our Tailwind theme) for colors, spacing, radius and type.\nKeep the Figma names so designers and developers use the same words.\nShow me the list before you write the file.\nCompare the page at /pricing with this frame: [Figma link]\nList every difference in spacing, type, color and alignment, most visible first.\nDon't change anything yet.\nCapture the running page at localhost:3000/settings and send it to Figma as editable layers,\nin a new page called \"Built, 26 Nov\", so I can review it next to the design.\n```\n\nThis 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.\n\n| What you see | Why | Fix | \n|---|---|---|\n| figma: Needs authentication | Server added, not signed in | /mcp → figma → Authenticate → Allow access | \n| \"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 | \n| The plugin install fails | Your organization blocks plugins | Add the server by hand (option 2) | \n| Desktop server not found | Figma desktop app closed or server not enabled | Use the remote server, or open the app with the file | \n| 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 | \n| Every screen looks slightly different | Hard-coded values in Figma | Move colors and spacing to variables, then regenerate | \n\nThe 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.\n\nI design SaaS products in Figma and build them with Claude Code, the way I built [Profilapp](https://elmamoune.dev/blog/designing-and-vibe-coding-profilapp). If you're choosing tools for that workflow, see [the best vibe coding tools, compared](https://elmamoune.dev/blog/best-vibe-coding-tools). And if you'd rather have a designer set up the file and the build for you, [see my services](https://elmamoune.dev/#services).\n\nThe 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.\n\nThe 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.\n\nYes, 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.\n\nUsually 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.\n\nAdd the server with the user scope: claude mcp add --scope user --transport http figma [https://mcp.figma.com/mcp](https://mcp.figma.com/mcp). Without it, Claude Code adds the server to the current project only.\n\n*Originally published on [elmamoune.dev](https://elmamoune.dev/blog/figma-mcp-claude-code). I'm El Mamoune, a product designer who designs SaaS products in Figma and builds them with AI coding tools. [More about me](https://elmamoune.dev/about).*", "url": "https://wpnews.pro/news/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches", "canonical_source": "https://dev.to/elmamoune7/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches-your-design-52mm", "published_at": "2026-11-26 15:38:28+00:00", "updated_at": "2026-11-26 15:46:13.507842+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "developer-tools", "ai-tools"], "entities": ["Figma", "Claude Code", "Anthropic", "Model Context Protocol", "Code Connect"], "also_reported_by": [], "takeaway": "Installing the Figma MCP server via the official plugin or `claude mcp add --transport http figma https://mcp.figma.com/mcp` lets Claude Code read real frames, components and variables, but Full or Dev seats on paid plans cap reads at 200 tool calls a day while View and Collab seats get only 20 a mo", "recommendation": {"advice": "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.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches", "markdown": "https://wpnews.pro/news/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches.md", "text": "https://wpnews.pro/news/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches.txt", "jsonld": "https://wpnews.pro/news/how-to-set-up-the-figma-mcp-server-with-claude-code-and-get-code-that-matches.jsonld"}}