figma-mcp server
io.github.Mehmoodqureshi/figma-mcp·v0.2.1·1 starsFigma to pixel-perfect code: deterministic HTML/React, then a render + pixel-diff verify loop.
1 stars12 downloads/wk
Reviews
Write oneNobody has reviewed figma-mcp yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
figma-mcp tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
figma_convertFetch a Figma frame and deterministically convert it to self-contained HTML (no LLM).
figma_inspectPrint the IR tree as an indented outline (role, name, box, layout, text, tokens) so you can
figma_verifyRender an HTML file in Chromium, pixel-diff it against the Figma reference, and check each
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan31 source files scanned15/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Findings (2)
- mediumnpm install lifecycle script present
install.script - mediumnpm install lifecycle script present
install.scriptpackage.json: …eline": "node example/pipeline.js", "postinstall": "node scripts/postinstall.js" }, "d…
How figma-mcp compares
Against every graded Media MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 68/100
- higher than 32% of 1,337 Media servers
- Tools
- 3
- the typical Media server has 7
- Tools that change things
- 0%
- typical: 4%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 55% of 715 Media servers
- Downloads a week
- 12
- more than 3% of 365 Media servers with a package
What its tools let an agent do: 3 read
Install figma-mcp in Claude Code, Cursor or VS Code
Runs npx -y @mehmoodqureshi/figma-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add figma-mcp -- npx -y @mehmoodqureshi/figma-mcp
What the publisher says
From the figma-mcp repository's README, as published. We do not edit it. Read it on GitHub
figma-mcp
Figma → code that is actually checked against the design.
Most Figma-to-code tools stop at the moment of generation: they hand you JSX and walk away. Nobody ever renders the output and compares it to the frame, so the result stalls at "90% there" and you spend the afternoon nudging padding by eye.
This MCP server closes that loop. It converts a frame to self-contained HTML deterministically (no LLM, no hallucinated layout), then renders your code in Chromium, pixel-diffs it against the Figma reference, measures every element's box, and tells the agent exactly what is missing or misplaced. The agent edits, calls verify again, and repeats until the diff is at the anti-aliasing floor.
Figma reference First pass — 5.18% off Pixel diff Converged — 0.00%
Those are real artifacts from npm run example, which runs the loop end to end with no API key. The generate callback in that demo is a scripted stand-in for an LLM, so it shows the loop mechanics honestly — the measuring is real, the "model" is not.
Why the verify step matters
A Figma node tree tells you what the designer declared. It does not tell you what a browser will do with your CSS. Those diverge constantly — a flex gap that collapses, a font that falls back, an absolute child that escapes its parent. The only way to know is to render it and look.
figma_verify gives the agent three independent signals per pass:
how wrong and where.
- Pixel diff — the overall mismatch ratio plus the worst regions, so it knows
the live DOM, and matched against its Figma box. This is what turns "the bottom-left looks off" into "the CTA button is missing" or "the price label is 40px too low".
- Element bounding-box IoU — every IR node is tagged data-ir-id, measured in
pre-order index is its paint order; elementsFromPoint over a sample grid gives the rendered order wherever two elements actually overlap. This catches the class of bug the other two signals are blind to by construction: elements present, in exactly the right box, stacked the wrong way round — or cut off by an ancestor's overflow where the design lets them overhang. Neither moves a box, and on a tall frame neither moves the diff ratio much, but a decorative overlay drawn over a photo instead of under it is the first thing a person sees. Reported as WRONG STACKING / OVER-CLIPPED, and reported even when the pixel diff has converged.
- Paint order and clipping — Figma lists children back-to-front, so a node's
Tools
Responsive output depends on what the design actually declares
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
figma-mcp: common questions
- Is figma-mcp server safe?
- With care: it is graded C, so read the findings first (68/100). Read the figma-mcp safety report
- How do I install figma-mcp?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does figma-mcp need an API key?
- Yes. The registry entry asks for
FIGMA_TOKEN. - Is figma-mcp maintained?
- The last commit was 39 days ago (2026-09-26). The latest release is v0.2.1.
- What can I use instead of figma-mcp?
- Servers from other publishers that do the same job: melta UI MCP server, Polymation MCP server and HTML to Figma — Design System MCP server.
- How does figma-mcp compare with other Media MCP servers?
- safety score 68/100 (higher than 32% of 1,337 Media servers); tools 3 (the typical Media server has 7); tools that change things 0% (typical: 4%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to figma-mcp
Same job from other publishers: the closest match first, then the best rated.
- melta UIAI-Ready design system MCP: melta UI tokens, component contracts, 107 rules, check_html self-verifynot reviewedEstablishedA
- PolymationAuthor Rive; convert Lottie, After Effects, Animate and Figma into it; animate AI and pixel art.not reviewedGrowingC
- HTML to Figma — Design SystemTranslate HTML prototypes into Figma using your design system's real components and tokens.not reviewedGrowingA
- Figma UIBidirectional Figma MCP — AI draws UI on Figma canvas, reads designs backnot reviewedEstablishedA
- anymdAny file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.not reviewedEstablishedA