designfit MCP server
io.github.as9978/designfit·v0.2.1·6 starsValidate AI-built front-ends against Figma by tokens and geometry, not pixels.
6 stars1 downloads/wk
Reviews
Write oneNobody has reviewed designfit yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
designfit tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
designfit_extractdesignfit_validate
Public scan report
scanner v0.1.10 · 2026-10-03 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/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
How designfit compares
Against every graded Media MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 70% of 1,337 Media servers
- Tools
- 2
- the typical Media server has 7
- Tools that change things
- 0%
- typical: 4%. Fewer write tools means less an agent can break
- GitHub stars
- 6
- more than 83% of 715 Media servers
- Downloads a week
- 1
- more than 0% of 365 Media servers with a package
What its tools let an agent do: 2 read
Install designfit in Claude Code, Cursor or VS Code
Runs npx -y designfit on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add designfit -- npx -y designfit
What the publisher says
From the designfit repository's README, as published. We do not edit it. Read it on GitHub
designfit
Validate AI-built front-ends against their Figma design — without the screenshot-diff thrash.
https://github.com/user-attachments/assets/01df52c9-90eb-4abc-b56c-fe18b31076cd
A real run on a 360-node Figma frame: designfitextract reads the frame from its link, then designfitvalidate scores three build iterations, 87 to 89 to 100 pass. No screenshot diffing anywhere in it.
designfit is an MCP server + Claude Code skill that checks a rendered implementation against its Figma design and hands the coding agent a machine-actionable fix-list. It compares design tokens and geometry (element boxes relative to the screen root) — not raw pixels — so font-rendering noise never makes the agent oscillate. Deterministic in, deterministic out.
Why geometry, not pixels
Screenshot-diffing an AI-built UI against a Figma frame thrashes: anti-aliasing and sub-pixel shifts read as "still wrong," so the agent fixes forever. designfit compares what a designer actually catches — wrong colors, wrong sizes, misalignment, missing elements — as deterministic measurements with explicit tolerances. Same input, same output, no oscillation.
Install
Claude Code — as a plugin:
/plugin marketplace add as9978/designfit
/plugin install designfit@designfitThen once, to fetch the browser the measurement engine drives:
npx playwright install chromiumThe plugin registers the designfitextract and designfitvalidate MCP tools and the designfit-fidelity-loop skill together, and asks once for a Figma personal access token (optional: without it, extract accepts pasted /nodes JSON).
Any other MCP client — manually:
npm install -g designfit
npx playwright install chromium{ "mcpServers": { "designfit": { "command": "designfit", "env": { "FIGMA_TOKEN": "<token>" } } } }Windows: some MCP clients can't spawn a bare designfit (it resolves to designfit.cmd). Use { "command": "npx", "args": ["-y", "designfit"] }, or point at the binary directly with { "command": "node", "args": ["/node_modules/designfit/dist/index.js"] }. The plugin install above already uses the npx form, so it isn't affected.
Use
Ask your agent to implement a Figma frame and give it the frame's link. The designfit-fidelity-loop skill drives: designfitextract → build → tag elements with data-designfit-id → designfitvalidate → fix → repeat until pass → strip the tags.
If you installed the plugin, the skill is already registered. On a manual install it isn't: skills aren't auto-loaded from an npm dependency, so copy the one that ships at skill/SKILL.md into your agent's skills directory (for Claude Code: .claude/skills/designfit-fidelity-loop/SKILL.md) so it can be discovered.
Two tools:
- designfitextract takes a Figma link ({ url }), or { fileKey, nodeId }, or a pasted GET /v1/files/:key/nodes body ({ nodes }), plus optional maxDepth, and returns { design, componentMap, viewport }. Fetching needs FIGMATOKEN in the MCP server's environment. Hidden nodes are skipped and a frame made only of vectors is one leaf.
- designfit_validate takes { url, viewport, design, componentMap, tolerances? } and returns { pass, score, violations, unmapped }.
For a full walkthrough on a real Figma frame — the loop, a copy-paste prompt, and troubleshooting — see docs/validating-a-figma-frame.md.
v1 scope
One viewport. Token + geometry + presence checks. Responsive multi-breakpoint and a perceptual VLM fallback are on the roadmap, not in v1.
License
MIT
Nothing above is checked by us. What we check is on the safety report.
designfit: common questions
- Is designfit MCP server safe?
- Mostly: it is graded B (83/100). Read the designfit safety report
- How do I install designfit?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does designfit need an API key?
- Yes. The registry entry asks for
FIGMA_TOKEN. - Is designfit maintained?
- The last commit was 31 days ago (2026-10-03). The latest release is v0.2.1.
- What can I use instead of designfit?
- Servers from other publishers that do the same job: Dembrandt MCP server, Figma Rust MCP server and Mimic AI MCP server. Compare all designfit alternatives.
- How does designfit compare with other Media MCP servers?
- safety score 83/100 (higher than 70% of 1,337 Media servers); tools 2 (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 designfit
Same job from other publishers: the closest match first, then the best rated.
- DembrandtDesign tokens from any live site: colours, type, spacing, components, drift against a baseline.not reviewedWidely usedB
- Figma RustFigma MCP server in Rust: plugin bridge, no API token, no rate limits, 73 tools.not reviewedEstablishedA
- Mimic AIBuilds Figma from your design system: real components and tokens, enforced, learning every build.not reviewedGrowingA
- PolymationAuthor Rive; convert Lottie, After Effects, Animate and Figma into it; animate AI and pixel art.not reviewedGrowingC
- Figma GoFigma MCP server with full read/write access via plugin bridge — no API token or rate limits.not reviewedGrowingA