Figma MCP logo

Figma MCP

Converts Figma frames into deterministic HTML, React, or Next.js output and verifies results with pixel, layout, stacking, and clipping checks.

Install Figma MCP

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": {
    "figma-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "figma-codekit-mcp@latest"
      ],
      "env": {
        "FIGMA_TOKEN": "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.

Automated check passed— started and listed 3 tools correctly ().

Overview

figma-mcp converts Figma frames into deterministic HTML and supporting files, with optional React, Next.js, Tailwind, responsive, and design-token outputs. Its verification tool renders the result in Chromium, compares it with the reference image, measures element bounds, and reports stacking or clipping problems. It can also verify a running application at a local URL, regardless of framework. Use it when generated interface code needs measurable visual validation rather than manual comparison.

Use cases

  • Convert a Figma frame into deterministic HTML and supporting assets
  • Generate React or Next.js implementations from a selected frame
  • Verify a local application against a Figma reference
  • Inspect layout structure and design tokens without loading raw Figma JSON
  • Iterate on mismatched UI using pixel and element-level diagnostics

Key features

  • Deterministic Figma-to-HTML conversion
  • Optional React, Next.js, Tailwind, and responsive output
  • Pixel-diff verification in Chromium
  • Element bounding-box, paint-order, and clipping checks
  • W3C DTCG and CSS design-token exports
  • Cached frame data and file-based tool results

Tools3

What Figma MCP lets your agent do. Expand a tool for its parameters.

Verified live~1.2k tokens of context

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.

13/13 checks healthy over the last 62d

What it can do

From the 3 tools this server returned when we ran it.

Handles credentials · 1Makes network requests · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptspostinstall
npm provenanceSigned build
Package age32 days
Maintainers1

Observed 2026-11-16 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · figma-codekit-mcp@latest (npm)

Adoption & maintenance

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

GitHub stars1Stargazers on the source repository.
npm downloads618Package downloads in the last 30 days.
Last commit11d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Figma MCP works

What figma-mcp does

figma-mcp turns a selected Figma frame into files that an agent or developer can inspect and run. The conversion includes HTML, an intermediate representation in ir.json, image assets, a reference PNG, and design-token files in W3C DTCG JSON, CSS, and Tailwind v4 formats. React output can include imported components, while Next.js output can be produced as a runnable App Router project. Tailwind output uses utility classes in React or Next.js results.

The server is designed around a conversion-and-verification loop. It does not use an LLM to determine the initial layout, and the refinement process is driven by the calling agent editing files and invoking verification again.

How it works

figma_convert fetches a frame through the Figma API and writes the generated artifacts to files. Images are stored in an assets/ directory by default, or embedded as data URIs when inlineAssets: true is selected. Figma responses are cached per frame, allowing subsequent work on a converted frame to run without another API request.

figma_verify renders HTML in Chromium and compares it with the Figma reference. Its results include an overall pixel mismatch, high-difference regions, element bounding-box IoU measurements, and targeted correction guidance. It also checks rendered paint order against the design order and detects content clipped by an ancestor. To check an existing application instead, pass its running url and optionally a selector.

Responsive conversion follows sizing intent declared through Figma Auto Layout. FILL, HUG, and FIXED sizing map to different web behaviors. Frames without root Auto Layout remain fixed canvases and are scaled to the viewport rather than reflowed; adding Auto Layout in Figma provides the information needed for genuine reflow.

figma_inspect prints the intermediate representation as a filtered, indented outline containing roles, boxes, layout data, text, and tokens. Tool results return file paths and measurements instead of placing large generated documents directly into the agent context.

Setup and configuration

A Figma personal access token with the File content: read scope is required. Set it in FIGMA_TOKEN, then register the server with an MCP host using npx -y figma-codekit-mcp@latest. Claude Code can add it with claude mcp add; other hosts can use a JSON MCP configuration with the command, arguments, and environment variable.

Run the package with --check to validate Node, token discovery, Figma authentication, and Chromium availability. If the browser is missing, --install-browser installs it. On Windows, hosts that cannot spawn npx.cmd directly can invoke it through cmd /c npx.

Tools and capabilities

  • figma_convert: Generate HTML, assets, reference imagery, IR data, design tokens, and optional React, Next.js, Tailwind, or responsive output.
  • figma_verify: Compare generated HTML or a running page against a Figma frame using pixels, element geometry, paint order, and clipping checks.
  • figma_inspect: Examine the converted IR as a concise, filterable outline.
  • Cached frame responses: Reuse fetched Figma data during later conversion and verification passes.

Limitations and notes

Responsive behavior depends on Auto Layout information in the source design. A canvas-style frame keeps its coordinates and is scaled instead of automatically becoming a reflowing layout. Verification requires Chromium for rendered comparisons, while checking a running page requires that page to be available at the supplied URL. The refinement loop runs through the calling agent; the server does not contain a separate LLM or require an ANTHROPIC_API_KEY.

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 Figma MCP

figma-mcp is an MCP server that connects an agent to Figma and Chromium-based visual verification. Its main tools are figma_convert for deterministic HTML or optional React/Next.js output, figma_verify for pixel, element, stacking, and clipping checks, and figma_inspect for readable design structure.

Install it through an MCP host with `npx -y figma-codekit-mcp@latest` and provide `FIGMA_TOKEN`. Claude Code can register it with `claude mcp add`; other hosts can place the command and environment variable in their MCP JSON configuration.

figma-mcp requires a Figma personal access token with the `File content: read` scope. Set the token in the `FIGMA_TOKEN` environment variable before starting the server. The `--check` option verifies that a token is present and accepted without printing its value.

Yes, figma-mcp can verify a running application instead of generated HTML. Pass the app URL, such as a local development address, to `figma_verify`, and optionally provide a selector to target part of the page. The app can use any framework.

Yes, figma-mcp uses a standard MCP command configuration and can be registered with MCP hosts that support standard servers, including Cursor. Configure the `npx` command and `FIGMA_TOKEN` in Cursor's MCP settings.

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 PreviewFigma MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/figma-mcp?style=directory)](https://allmcps.com/mcp/figma-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/figma-mcp"><img src="https://allmcps.com/api/badge/figma-mcp?style=directory" alt="Figma MCP on AllMCPs" /></a>