southleft/figma-console-mcp

Your design system as an API. Connect AI to Figma for extraction, creation, and debugging.

What is this?

Figma Console MCP is a bridge that connects AI assistants (like Claude) to Figma, the collaborative design tool. It's built on the Model Context Protocol (MCP) — a standard way for AI tools to talk to external services.

The project's tagline is "Your design system as an API." A design system is a collection of reusable design tokens (colors, fonts, spacing), components, and styles that keep a product visually consistent. This server turns that design data into structured information an AI can read and act on.

What can it do?

The README lists a wide range of capabilities. The headline features:

  • Read design data — Pull variables, components, and styles out of Figma files.
  • Write to Figma — Create UI components, frames, and layouts directly in Figma. It can even create a full component set (all variants) in one call.
  • Manage design tokens — Create, update, rename, and delete design variables/tokens.
  • Two-way token sync — Export Figma variables to DTCG JSON (a standard token format) plus 9 other formats; push code-side edits back into Figma. The README claims this replaces Style Dictionary and Tokens Studio's export pipeline.
  • Codebase → design system extraction — Scan a production codebase, extract its de-facto styling into tokens (with provenance per token), scaffold a design-system package with a Storybook workshop, and push the tokens back into Figma as variables.
  • Accessibility scanning — 14 WCAG design checks with conformance-level tagging, plus axe-core code scanning.
  • Design-code parity checks — Deterministic comparison of a Figma component against its code counterpart (visual, spacing, typography, tokens, API, accessibility).
  • Design-system health audits — A Lighthouse-style scored audit across naming, tokens, metadata, accessibility, consistency, and coverage.
  • Version history — List versions, diff snapshots, generate markdown changelogs, and trace when properties/variants were introduced via binary-search blame.
  • Real-time monitoring — Watch console logs from a Figma plugin (the "Desktop Bridge").
  • FigJam boards — Create stickies, flowcharts, tables, and code blocks on Figma's collaborative whiteboard.
  • Slides — Build and manage Figma Slides decks programmatically.
  • Screenshots — Take screenshots for visual debugging.

How does it work?

Figma has two ways to be controlled programmatically:

  1. REST API — Figma's official web API (read-only for most data, with some write capabilities).
  2. Plugin API — Runs inside the Figma Desktop app, can do more, including writes.

This server uses both. For full write access, it relies on a companion plugin called the Desktop Bridge that runs inside Figma Desktop. The AI sends commands through the MCP server, which relays them to the plugin, which executes them inside Figma.

For Cloud Mode (web AI clients like Claude.ai), the flow is:

AI Client → Cloud MCP Server → Durable Object Relay → Desktop Bridge Plugin → Figma

Four ways to connect

The README offers four setup methods, each with different trade-offs:

Method Best for Tools Node.js needed? Write access?
NPX (recommended) Full AI-assisted design 130 Yes ✅
Cloud Mode Web AI clients (Claude.ai, v0, Replit, Lovable) 105 after pairing No ✅
Local Git Contributors who want source code 130 Yes ✅
Remote SSE Quick read-only exploration Read-only subset No ❌

Key differences:

  • Remote SSE is read-only — you can view data, take screenshots, read logs, but cannot create or modify designs.
  • Cloud Mode unlocks write access for web AI clients without requiring Node.js. It uses OAuth authentication (automatic) and works with Free, Pro, and Organization Figma plans for variables (because it uses the Plugin API, not the Enterprise-only REST API).
  • NPX / Local Git give the full 130 tools including real-time monitoring (console logs, selection tracking) which Cloud Mode lacks.

Setup basics

For NPX / Local Git (full capabilities):

  1. You need Node.js 18+, Figma Desktop (not just the web app), and an MCP client (Claude Code, Cursor, Windsurf, etc.).
  2. Create a Figma Personal Access Token (starts with figd_) with specific scopes: File content, File versions, Library content, Library assets, Comments (read/write), Current user, and Variables (Enterprise only, optional).
  3. Configure your MCP client with the token as an environment variable (FIGMA_ACCESS_TOKEN).
  4. Install the Desktop Bridge plugin in Figma Desktop by importing a manifest file that the server auto-creates at ~/.figma-console-mcp/plugin/manifest.json. The plugin scans ports 9223–9232 and connects automatically.
  5. Restart your client and test with prompts like "Create a simple frame with a blue background."

For Remote SSE (read-only):

  • Just add a custom connector in Claude Desktop with URL https://figma-console-mcp.southleft.com/sse. OAuth happens automatically.

For Cloud Mode:

  • Add the endpoint https://figma-console-mcp.southleft.com/mcp to your AI platform's MCP settings, using your Figma PAT as a Bearer token.
  • Then pair the Desktop Bridge plugin: the AI gives you a 6-character code (expires in 5 minutes), you enter it in the plugin's Cloud Mode toggle, and you're connected.

Authentication

Two methods:

  • Remote/Cloud modes: OAuth — browser opens automatically, one-time authorization, token stored and refreshed automatically. Works with Free, Pro, and Enterprise plans.
  • Local modes (NPX/Local Git): Manual Personal Access Token set as an environment variable.

Recent features (v1.46.0, latest)

  • Shaders — apply shaders and set their properties by name (figma_apply_shader, figma_list_shaders).
  • Grid and auto layout — set layout in one call with CSS-style grid tracks (figma_set_layout).
  • OKLCH and Display P3 color — use modern CSS colors on fills and strokes.
  • Text wrap and variable fonts — set text wrap (balance, pretty) and variable-font axes with figma_set_text.

v1.45 added Motion: animate layers with presets, custom animation styles, or keyframes bound to Timing and Easing tokens; export video; find code layers.

Notable details

  • Cross-MCP identity: Every tool response carries _mcp: "figma-console-mcp" and errors are prefixed [figma-console-mcp] so attribution stays clear when multiple Figma MCP servers run in the same agent.
  • Plugin updates: Figma caches plugin files. Re-importing the manifest is only required when release notes say so (rarely); otherwise the server stays wire-compatible with older plugins. The plugin shows an update banner when the server bundles a newer version.
  • OpenAI Codex note: The README warns that Codex's default timeouts (10s/60s) are too short and recommends setting startup_timeout_sec = 60 and tool_timeout_sec = 300.
  • License: MIT.
  • Sponsorship: The project accepts GitHub sponsors (southleft).

Bottom line

Figma Console MCP turns Figma into a programmable design backend for AI assistants. It's particularly strong for design-system work — extracting tokens, syncing them bidirectionally with code, running parity and accessibility checks, and generating health audits. The main caveat is that full write access requires Figma Desktop with the companion plugin installed; the read-only Remote SSE mode works anywhere but can't create or modify designs.

Related

  • Project
  • Project
  • Project
  • Project
  • Project