Asdesigned logo

Asdesigned

Compares rendered UI styles with Figma nodes and reports property-level drift through CLI and MCP tools.

Install Asdesigned

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "asdesigned": {
      "command": "npx",
      "args": [
        "-y",
        "asdesigned"
      ],
      "env": {
        "FIGMA_TOKEN": "YOUR_VALUE_HERE",
        "ASDESIGNED_BROWSER": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y asdesigned

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The asdesigned MCP server compares a rendered browser element with its corresponding Figma design node. It uses Figma REST data and Playwright-computed styles, normalizes both into a shared specification, and reports differences such as size, spacing, colors, and typography. MCP tools support comparison, DOM inspection, and Figma variant inspection, including designed interaction states. Reach for it when an agent or CI job needs property-level design validation rather than a screenshot-only diff.

Use cases

  • Compare a local component against its Figma source
  • Check hover and focus variants in CI
  • Inspect computed styles on a rendered DOM element
  • List designed component states before implementation
  • Generate JSON or HTML drift reports

Key features

  • Figma-to-DOM property comparison
  • MCP tools for comparison and inspection
  • Interaction-state and variant matching
  • Computed-style inspection with Playwright
  • Tolerance-aware drift reporting
  • JSON and HTML report output

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 62d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · asdesigned (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads178Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How Asdesigned works

What asdesigned MCP server does

The asdesigned MCP server connects Figma designs with a running web page so an agent can check whether an implemented element matches its source design. It compares one Figma node with one rendered DOM element at a selected viewport and reports each differing property with the design value, rendered value, and delta.

The comparison covers computed style values such as dimensions, padding, colors, font family, and font weight. It can also evaluate interaction states when the Figma component set defines matching variants. Supported requested states include default, hover, focus, active, and disabled. A state without a corresponding design variant is skipped instead of treated as a failure.

How it works

Figma data is read through the Figma REST API, while the rendered page is opened with Playwright. Both inputs are converted into a common style representation containing optional fields, pixel values, and RGBA colors. The comparison applies tolerances including approximately ±1px for dimensions, a small color-distance threshold, and exact comparison for font weight.

The MCP interface exposes three tools:

  • compare_design compares a Figma URL with a rendered page and selector, optionally across requested states.
  • inspect_element reads computed styles from a page element, with an optional single state.
  • inspect_figma reads a Figma node and can list the variants available in its component set.

The asdesigned MCP server can therefore be used by an agent during implementation, while the command-line interface can produce terminal, JSON, or self-contained HTML output. A comparison exits with code 1 when actual drift is found, allowing the CLI form to participate in CI checks.

Setup and configuration

Install without a global package using npx asdesigned, or install the command globally with npm. Playwright Chromium must also be installed once with npx playwright install chromium.

Set FIGMA_TOKEN to a Figma personal access token with permission to read file content. The value can be provided in the environment or a .env file. ASDESIGNED_BROWSER may point to an existing Chrome or Chromium executable instead of using Playwright's downloaded browser.

For Claude Code or Cursor, configure an MCP server that runs npx -y asdesigned asdesigned-mcp and passes FIGMA_TOKEN in its environment. The repository also provides a skill file describing when an agent should use the tool.

Tools and capabilities

Use a Figma URL, local page URL, and CSS selector as the core inputs. State comparisons can request named states or all supported states. For Figma components, variant matching recognizes common labels such as Default, Hover, Focused, Pressed, Rest, and Inactive, and can follow a component set from an individual variant.

The rendered side forces relevant pseudo-classes before reading computed styles, including both :focus and :focus-visible. Reports distinguish matching properties from drifted properties and identify skipped states. JSON output is available for scripts, and HTML output provides a standalone report.

Limitations and notes

The asdesigned MCP server checks one node and one rendered element at one viewport per run. Responsive validation requires separate runs for each designed breakpoint; it does not infer design truth between frames or sweep breakpoints automatically.

It compares computed styles, not layout relationships between siblings, content, behavior, transition duration, or easing. State checking depends on Figma component variants. If a hover or focus appearance exists only as a prototype interaction, there is no design variant to compare and the state is skipped. If every requested state lacks a design, the run reports that nothing was compared and exits non-zero.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Asdesigned

asdesigned is an MCP server that connects Figma designs with rendered browser elements and exposes compare_design, inspect_element, and inspect_figma tools. It can compare computed styles against a Figma node, inspect live DOM styles, and inspect component variants for interaction states.

Run it through npx with `npx -y asdesigned asdesigned-mcp`, or install the package globally with npm. Install Playwright Chromium separately with `npx playwright install chromium`, then configure the MCP client with `FIGMA_TOKEN`.

Add an MCP entry that runs `npx -y asdesigned asdesigned-mcp` and passes `FIGMA_TOKEN` in the environment. The README provides the same configuration shape for Cursor's `.cursor/mcp.json` and Claude Code's `.mcp.json`.

Yes, when those states are represented as Figma component variants. `compare_design` accepts requested states, while `inspect_figma` can list available variants. A requested state without a matching design variant is skipped rather than reported as drift.

It checks one viewport per run, with 1280×800 as the default. To validate multiple designed breakpoints, run separate comparisons with the appropriate viewport settings; it does not perform an automatic breakpoint sweep.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAsdesigned AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/asdesigned?style=directory)](https://allmcps.com/mcp/asdesigned)
HTML Embed
<a href="https://allmcps.com/mcp/asdesigned"><img src="https://allmcps.com/api/badge/asdesigned?style=directory" alt="Asdesigned on AllMCPs" /></a>