Server data from the Official MCP Registry
Diff a rendered UI element against its Figma source and get every drifted property with its delta.
About
Diff a rendered UI element against its Figma source and get every drifted property with its delta.
Security Report
asdesigned is a well-architected design comparison tool with sound security practices. It properly manages the FIGMA_TOKEN credential through environment variables, implements reasonable input validation via Zod schemas in the MCP server, and has no malicious patterns or data exfiltration risks. Minor code quality observations around error handling and selector validation do not materially impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (2 critical, 0 high severity). Package verification found 1 issue.
7 files analyzed · 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: FIGMA_TOKEN
Environment variable: ASDESIGNED_BROWSER
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-maher-reven-asdesigned": {
"env": {
"FIGMA_TOKEN": "your-figma-token-here",
"ASDESIGNED_BROWSER": "your-asdesigned-browser-here"
},
"args": [
"-y",
"asdesigned"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
asdesigned
Is it as designed? Diff a rendered UI component against its Figma source and see exactly what drifted. Built for coding agents: give Claude Code or Cursor the tool and they can check their own work against the design.

asdesigned compare https://www.figma.com/design/<key>/<file>?node-id=12-345 \
--url http://localhost:3000 --selector .btn-primary
design figma Button / Primary 1:4
rendered dom <button class="btn-primary"> .btn-primary
box
✗ width design 120px → rendered 112px (−8px)
padding
✗ left design 16px → rendered 12px (−4px)
✗ right design 16px → rendered 12px (−4px)
border
✗ color design #1d4ed8 → rendered #2563eb (Δ29.43)
typography
✗ fontFamily design "Inter" → rendered "Arial"
✗ fontWeight design 600 → rendered 500 (−100)
6 drift · 20 match
FAIL (tolerance ±1px, color Δ≤4)
That output is real — examples/button.html against a real Figma component. Five of those six were planted.
The sixth wasn't: <button> elements don't inherit font-family, so the page quietly fell back to Arial.
Nobody sees that in a screenshot review. The diff does.
Figma gives you the intent. The browser gives you the reality. asdesigned compares the two — and your coding agent can call it to check its own work.
Status: v0.1 — early, usable. Figma → spec, DOM → spec, diff, terminal + HTML report, MCP server.
Install
npx asdesigned --help # no install
npm i -g asdesigned # or install the `asdesigned` command globally
npx playwright install chromium # one-time: the browser used to render pages
Set FIGMA_TOKEN (a Figma personal access token with file content: read) in your environment or a .env file.
Use it from an agent (MCP)
asdesigned ships an MCP server so Claude Code, Cursor, and other MCP clients can call it directly.
Tools: compare_design, inspect_element, inspect_figma.
Claude Code — .mcp.json in your project:
{
"mcpServers": {
"asdesigned": {
"command": "npx",
"args": ["-y", "asdesigned", "asdesigned-mcp"],
"env": { "FIGMA_TOKEN": "figd_…" }
}
}
}
Cursor — .cursor/mcp.json, same shape.
A skill file describing when and how an agent should reach for the tool lives in
skills/asdesigned/SKILL.md — drop it into your agent's skills folder.
Use it from the terminal
asdesigned compare <figma-url> --url http://localhost:3000 --selector .btn-primary
asdesigned compare <figma-url> --url … --selector … --html report.html # self-contained visual report
asdesigned compare <figma-url> --url … --selector … --json # for CI / scripts
asdesigned inspect http://localhost:3000 --selector .btn-primary
asdesigned inspect <figma-url>
Exit code is 1 when drift is found, so compare works as a CI check.
How it works
Both sides are normalized into one flat StyleSpec — px numbers, RGBA colors, every field optional — and a pure
diff compares them with sensible tolerances (±1px, small color distance, zero tolerance on font weight).
Fields missing on one side are reported but don't fail the run; only real drift does.
src/spec.ts— the shared formatsrc/diff.ts— the comparisonsrc/readers/figma.ts— Figma REST → specsrc/readers/dom.ts— Playwright computed styles → specsrc/report.ts,src/report-html.ts— output
Development
npm install
npm test
npm run build
node dist/cli.js --help
ASDESIGNED_BROWSER=/path/to/chrome uses an existing Chrome/Chromium instead of Playwright's download.
How it relates to other tools
- Figma's MCP server gives agents the design. Chrome DevTools MCP gives agents the browser. asdesigned is the missing verb between them: compare.
- Visual regression tools (Percy, Chromatic, pixel diffs) compare screenshots of your app to earlier screenshots of your app. asdesigned compares your app to the design, and reports properties, not pixels — so the result is a fix, not a heatmap.
design-driftexplores similar ground with pixel + element diffing and a viewer. asdesigned is deliberately smaller — one verb, agent-first, 23 kB.
License
MIT
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
