Figwright logo

Figwright

by awdr74100

Read Figma designs into grounded code or create and edit canvas content through MCP.

Install Figwright

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": {
    "awdr74100-figwright": {
      "command": "npx",
      "args": [
        "-y",
        "@figwright/mcp@latest"
      ]
    }
  }
}

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

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

awdr74100/figwright MCP server connects an MCP client to Figma through a local WebSocket relay and companion plugin. It supports both design inspection and canvas authoring, including framework-aware code generation, layout editing, styles, variables, components, prototypes, and motion. Grounding tools connect Figma data with a codebase so agents can reuse existing components, tokens, and icons. Reach for it when an agent needs to move designs between Figma and code without relying on a paid Dev Mode seat.

Use cases

  • Generate framework-aware code from a selected Figma frame
  • Build screens and components on the Figma canvas from a specification
  • Reuse project components, tokens, and icons during code generation
  • Compare a Figma design with a saved baseline
  • Inspect and export Figma assets, documents, and motion designs

Key features

  • Bidirectional Figma read and write access
  • Local WebSocket relay with a companion plugin
  • Framework-aware code generation
  • Component, token, and icon grounding
  • Canvas, prototype, and motion editing
  • Multi-file Figma workflows

Tools3

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

Self-reported~230 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 Today

Recent health check succeeded.

37/38 checks healthy over the last 90d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · @figwright/mcp@latest (npm)

Adoption & maintenance

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

GitHub stars1.3kStargazers on the source repository.
npm downloads7.4kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Tools exposed3Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Figwright works

What awdr74100/figwright MCP server does

awdr74100/figwright exposes Figma through MCP for two-way work. An agent can inspect a selected frame or broader document structure, retrieve styles, variables, components, fonts, assets, screenshots, prototype information, and animation state, then use that context to produce code. It can also create and modify Figma content rather than stopping at code generation.

The server is designed for workflows where generated code should reflect an existing project. Its grounding tools can associate Figma components, tokens, and icons with corresponding codebase resources. The design_diff capability compares a design with a saved baseline so an agent can focus on changes.

How it works

The MCP process runs locally and communicates with a Figma plugin over a local WebSocket relay. The plugin is responsible for operating on the open Figma file, while the MCP client gives an agent access to the exposed tools. A Figma desktop app is required to import the development plugin, and the free Figma tier is sufficient.

The server is launched with npx, so it runs as its own Node.js process. Supported runtimes are Node.js 20.19 or later in the 20.x line, or Node.js 22.12 or later. The server and plugin are released together and should be updated together.

Setup and configuration

Add the server to an MCP client's configuration using the published package:

config.json
{
  "mcpServers": {
    "figwright": {
      "command": "npx",
      "args": ["-y", "@figwright/mcp@latest"]
    }
  }
}

Then download the plugin archive from the latest GitHub release, unzip it, and import its manifest.json through Figma Desktop's development-plugin menu. Open Figwright from Plugins → Development. The plugin connects to the local server automatically; an agent can call ping to verify the connection.

Optional skills are available for code generation and design building. Install both with npx skills add awdr74100/figwright/skills, or install an individual skill from the repository. Skills require the MCP server to be connected.

Tools and capabilities

The 135 tools are grouped into three areas:

  • Read: inspect selections, documents, nodes, styles, variables, components, fonts, prototype reactions and flows, motion state, screenshots, image-fill assets, PDF exports, and video exports in MP4, GIF, or WebM formats.
  • Write: create and edit frames, text, shapes, pages, components, images, styles, variables, auto-layout, effects, prototypes, motion timelines, and Figma Draw content. Batch editing can apply multiple changes in one operation.
  • Grounding: obtain de-duplicated design context and map Figma components, tokens, and icons to project code. design_diff identifies changes from a stored baseline.

The server also includes list_files and use_file for working with more than one open Figma file. Its skills cover selection-to-code workflows and building Figma designs from code or descriptions.

Limitations and notes

The plugin is distributed as a development plugin rather than through the Figma Community marketplace. It must be imported with the Figma desktop app. Node.js 18, Node.js 21, and Node.js 22.0 through 22.11 are unsupported.

A running client session keeps the server version it started with, so restart the MCP connection after updating. Replace the imported plugin files as well, because server and plugin releases are intended to stay in sync. The project is licensed under MIT.

Reviews

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

Frequently Asked Questions about Figwright

awdr74100/figwright is an MCP server that connects an MCP client to Figma through a local WebSocket relay and companion plugin. Its main tools read selections, documents, styles, variables, components, assets, and motion, while write tools create and edit canvas content, layouts, prototypes, and animations.

Install it by adding an MCP entry that runs `npx -y @figwright/mcp@latest`, then import the plugin's `manifest.json` into Figma Desktop. Open the plugin from the Development plugins menu and verify the connection with `ping`. Node.js 20.19+ or 22.12+ is required.

Yes, awdr74100/figwright works with Cursor. Add the server using the same MCP configuration shape used by other clients, install and open the Figma development plugin, and connect the client to the local server.

Yes, awdr74100/figwright can write designs back to Figma through its plugin. Its write tools create and edit frames, text, shapes, layouts, styles, variables, components, pages, images, prototypes, motion content, and Figma Draw paths.

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