Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Your design system as an API. Connect AI to Figma for extraction, creation, and debugging.
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Both catalog entries mention figma.
ModelContextProtocol server for Figma
Both catalog entries mention figma.
A Model Context Protocol (MCP) that allows Claude Desktop and other AI tools (Claude Code, Cursor, Antigravity, etc.) to read, analyze, and modify Figma designs
Both catalog entries mention figma.
Export files, access design data, manage projects, comments, and team assets
Fetched from the repository for this visit.
Your design system as an API. A design-system-focused Model Context Protocol server for Figma. It works in both directions (Figma ⇄ code), writes to Figma, and runs deterministic checks for design-code parity, accessibility, and design-system health. It hands the AI exact tokens, variants, bindings, and states as structured data rather than prescribing a framework or house style, so generated code follows your team's own stack and conventions.
🆕 v2.5: Token exports resolve variables from other libraries: When your variables alias a shared library (a theme on top of a primitives library),
figma_export_tokensand the Token Browser read those library variables through the Desktop Bridge, so CSS, SCSS, Tailwind, Style Dictionary and the other formats write real values instead of skipping the tokens, and DTCG carries the library collections as their own sets. Read-only: import never changes library variables. No plugin re-import. See what's new →
Figma Console MCP connects AI assistants (like Claude) to Figma, enabling:
_mcp: "figma-console-mcp" and errors are prefixed [figma-console-mcp] so attribution stays unambiguous in agents running multiple Figma MCPsFirst, decide what you want to do:
| I want to... | Setup Method | Time |
|---|---|---|
| Create and modify designs with AI | NPX Setup (Recommended) | ~10 min |
| Design from the web (Claude.ai, v0, Replit, Lovable) | Cloud Mode | ~5 min |
| Contribute to the project | Local Git Setup | ~15 min |
| Just explore my design data (read-only) | Remote SSE | ~2 min |
| Capability | NPX / Local Git | Cloud Mode | Remote SSE |
|---|---|---|---|
| Read design data | ✅ | ✅ | ✅ |
| Create components & frames | ✅ | ✅ | ❌ |
| Edit existing designs | ✅ | ✅ | ❌ |
| Manage design tokens/variables | ✅ | ✅ | ❌ |
| FigJam boards (stickies, flowcharts, Mermaid diagrams) | ✅ | ✅ | ❌ |
| Real-time monitoring (console, selection) | ✅ | ❌ | ❌ |
Codebase → design system extraction (figma_ds_*) | ✅ | ❌ | ❌ |
| Code Connect: publish through your repo's CLI | ✅ | ❌ (generate, map and audit from files you pass) | ❌ |
| Desktop Bridge plugin | ✅ | ✅ | ❌ |
| Requires Node.js | Yes | No | No |
| Total tools available | 158 | 127 after pairing | Read-only subset |
Bottom line: Remote SSE is read-only until you pair the plugin. Cloud Mode unlocks write access (127 tools) from web AI clients without Node.js. NPX/Local Git gives the full 158 tools with real-time monitoring.
Best for: Designers who want full AI-assisted design capabilities.
What you get: All 158 tools including design creation, variable management, and component instantiation.
node --version (Download)Figma Console MCPfigd_)Claude Code (CLI):
claude mcp add figma-console -s user -e FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE -e ENABLE_MCP_APPS=true -- npx -y figma-console-mcp@latest
OpenAI Codex (CLI):
codex mcp add figma-console --env FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE --env ENABLE_MCP_APPS=true -- npx -y figma-console-mcp@latest
Then set startup_timeout_sec = 60 and tool_timeout_sec = 300 for it in ~/.codex/config.toml (Codex's 10 s / 60 s defaults are too short). The Codex app and IDE extension share this config. Full Codex setup →
Gemini CLI:
gemini mcp add -s user -e FIGMA_ACCESS_TOKEN=figd_YOUR_TOKEN_HERE -e ENABLE_MCP_APPS=true figma-console npx -y figma-console-mcp@latest
Google Antigravity (IDE, CLI, app): add the JSON below to ~/.gemini/config/mcp_config.json, plus "timeoutSeconds": 300 in the server entry. Full Antigravity setup →
Cursor / Windsurf / Claude Desktop:
Add to your MCP config file (see Where to find your config file below):
{
"mcpServers": {
"figma-console": {
"command": "npx",
"args": ["-y", "figma-console-mcp@latest"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
If you're not sure where to put the JSON configuration above, here's where each app stores its MCP config:
| App | macOS | Windows |
|---|---|---|
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json | %APPDATA%\Claude\claude_desktop_config.json |
| Claude Code (CLI) | ~/.claude.json | %USERPROFILE%\.claude.json |
| Cursor | ~/.cursor/mcp.json | %USERPROFILE%\.cursor\mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | %USERPROFILE%\.codeium\windsurf\mcp_config.json |
| OpenAI Codex (app, CLI, IDE) | ~/.codex/config.toml (TOML, see format) | %USERPROFILE%\.codex\config.toml |
| Gemini CLI | ~/.gemini/settings.json | %USERPROFILE%\.gemini\settings.json |
| Google Antigravity (IDE, CLI, app) | ~/.gemini/config/mcp_config.json | %USERPROFILE%\.gemini\config\mcp_config.json |
Tip for designers: The
~symbol means your home folder. On macOS, that's/Users/YourName/. On Windows, it'sC:\Users\YourName\. You can open these files in any text editor — even TextEdit or Notepad.Can't find the file? If it doesn't exist yet, create it. The app will pick it up on its next restart. Make sure the entire file is valid JSON (watch for missing commas or brackets).
Claude Code users: You can skip manual editing entirely. Just run the
claude mcp addcommand above and it handles everything for you.
Desktop Bridge Plugin:
~/.figma-console-mcp/plugin/manifest.json (stable path, auto-created by the MCP server). Run npx figma-console-mcp --print-path to print the exact path for your machine.Can't see the folder in the import dialog?
.figma-console-mcpstarts with a dot, so macOS hides it. In the dialog, press ⌘⇧G and paste the path (or press ⌘⇧. to show hidden files). On Windows the folder is visible as normal.
Heads-up on plugin updates. Figma caches plugin files (
code.jsandui.html) at the application level. The MCP server refreshes the files at~/.figma-console-mcp/plugin/on every startup, but Figma keeps using its cached copy until you re-import the manifest.Re-importing is required only when a release notes entry says so — typically when the plugin adds a new method the server needs (e.g. v1.22.4, v1.10.0). The plugin files last changed in v1.41.5; if your imported plugin predates that, re-import once. The plugin shows an update banner when the server bundles a newer plugin than the one running. For most upgrades the new server stays wire-compatible with the previous plugin, and re-importing is optional: you'll still get every functional change, just not the cosmetic plugin-side touches (status-pill copy,
pluginVersionreporting).When you do re-import: Plugins → Manage plugins → re-import
~/.figma-console-mcp/plugin/manifest.json. The stable path never changes, so it's a one-click step.
Restart your MCP client to load the new configuration.
Check Figma status
→ Should show connection status with active WebSocket transport
Create a simple frame with a blue background
→ Should create a frame in Figma (confirms write access!)
Best for: Developers who want to modify source code or contribute to the project.
What you get: Same 158 tools as NPX, plus full source code access.
# Clone and build
git clone https://github.com/southleft/figma-console-mcp.git
cd figma-console-mcp
npm install
npm run build:local
Add to your config file (see Where to find your config file):
{
"mcpServers": {
"figma-console": {
"command": "node",
"args": ["/absolute/path/to/figma-console-mcp/dist/local.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "figd_YOUR_TOKEN_HERE",
"ENABLE_MCP_APPS": "true"
}
}
}
}
Then follow NPX Steps 3-5 above.
Best for: Quickly evaluating the tool or read-only design data extraction.
What you get: the read-only tools — view file data, components, styles, comments and version history, take screenshots, read logs, check design-code parity. Cannot create or modify designs.
Figma Console (Read-Only)https://figma-console-mcp.southleft.com/sseOAuth authentication happens automatically when you first use design system tools.
⚠️ Known Issue: Claude Code's native
--transport ssehas a bug. Usemcp-remoteinstead:
claude mcp add figma-console -s user -- npx -y mcp-remote@latest https://figma-console-mcp.southleft.com/sse
💡 Tip: For full capabilities, use NPX Setup instead of Remote SSE.
{
"mcpServers": {
"figma-console": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://figma-console-mcp.southleft.com/sse"]
}
}
}
Ready for design creation? Follow the NPX Setup guide above, or try Cloud Mode if you don't want to install Node.js.
Best for: Using Claude.ai, v0, Replit, or Lovable to create and modify Figma designs — no Node.js required.
What you get: 127 tools including full write access — design creation, variable management, component instantiation, and all REST API tools. Only real-time monitoring (console logs, selection tracking, document changes) requires Local Mode.
figd_)Add this endpoint to your AI platform's MCP settings:
URL: https://figma-console-mcp.southleft.com/mcp
Auth: Your Figma PAT as Bearer token
In Claude.ai: Settings → Connectors → Add Custom Connector → paste the URL above. In Lovable/v0/Replit: Look for "Add MCP Server" or "Integrations" in settings → paste the URL and add your token.
Connect to my Figma plugin
Once paired, use natural language to design:
Create a card component with a header image, title, description, and action button
Set up a color token collection with Light and Dark modes
Add a "High Contrast" mode to my existing token collection
Your AI client sends write commands through the cloud MCP server, which relays them via WebSocket to the Desktop Bridge plugin running in your Figma Desktop. The plugin executes the commands using the Figma Plugin API and returns results back through the same path.
AI Client → Cloud MCP Server → Durable Object Relay → Desktop Bridge Plugin → Figma
Variables on any plan: Cloud Mode uses the Plugin API (not the Enterprise REST API), so variable management works on Free, Pro, and Organization plans.
| Feature | NPX (Recommended) | Cloud Mode | Local Git | Remote SSE |
|---|---|---|---|---|
| Setup time | ~10 minutes | ~5 minutes | ~15 minutes | ~2 minutes |
| Total tools | 158 | 127 after pairing | 158 (Local Git) | Read-only subset |
| Design creation | ✅ | ✅ | ✅ | ❌ |
| Variable management | ✅ | ✅ | ✅ | ❌ |
| Component instantiation | ✅ | ✅ | ✅ | ❌ |
| FigJam boards | ✅ | ✅ | ✅ | ❌ |
| Real-time monitoring | ✅ | ❌ | ✅ | ❌ |
| Desktop Bridge plugin | ✅ | ✅ | ✅ | ❌ |
| Variables (no Enterprise) | ✅ | ✅ | ✅ | ❌ |
| Console logs | ✅ (zero latency) | ❌ | ✅ (zero latency) | ✅ |
| Read design data | ✅ | ✅ | ✅ | ✅ |
| Requires Node.js | Yes | No | Yes | No |
| Authentication | PAT (manual) | OAuth (automatic) | PAT (manual) | OAuth (automatic) |
| Automatic updates | ✅ (@latest) | ✅ | Manual (git pull) | ✅ |
| Source code access | ❌ | ❌ | ✅ | ❌ |
Key insight: Remote SSE is read-only. Cloud Mode adds write access for web AI clients without Node.js. NPX/Local Git give the full 158 tools.
After setup, try these prompts:
Basic test (all modes):
Navigate to https://www.figma.com and check status
Design system test (requires auth):
Get design variables from [your Figma file URL]
Cloud Mode test:
Connect to my Figma plugin
→ Follow the pairing flow, then try: "Create a simple blue rectangle"
Plugin test (Local Mode only):
Show me the primary font for [your theme name]
When you first use design system tools:
FIGMA_ACCESS_TOKEN environment variablev2.0: tools load in toolsets (Local Mode). A core set is always listed: status, navigation, component search and resolve, building, token binding, audit, lint, screenshots and
figma_execute. Everything else below sits in a toolset that the AI switches on when a task needs it:inspect,variables,components,parity,codeconnect,docs,debug,motion,assets,figjam,slidesorextraction. This keeps every message ~50k tokens lighter. SetFIGMA_TOOLSETS=allto list every tool (the pre-2.0 behavior), orFIGMA_TOOLSETS=variables,parityto preload the ones you always use. Cloud Mode lists all its tools.
figma_enable_toolsets - Switch on a toolset (sends tools/list_changed, so the client refreshes its list)figma_call - Run an enabled tool by name, for clients that don't refresh their tool listfigma_resolve_components - Map each UI need (and its parts, like a card's image) to a real component; what the system lacks comes back as an explained GAP: note to place where it belongs, never a look-alikefigma_audit_adherence - Check a built frame: hand-built look-alikes, new or off-system components, values not bound to variables, and gap notes that don't explain themselves or stand in for a real componentfigma_audit_code_adherence - The same check for generated code: re-implemented components, unknown tokens, hardcoded values, Tailwind arbitrary valuesfigma_check_library_parity - Pair a Figma library with its code library and compare props, variants and states (Custom Elements Manifest or React source)figma_bind_tokens - Bind spacing, radius, sizing and typography to existing variables and styles; never creates tokensfigma_get_status - Check WebSocket bridge connection and file contextfigma_diagnose - Designer-readable health check + setup guidancefigma_reconnect - Force reconnect to the Desktop Bridge pluginfigma_navigate - Switch the active file target among connected plugins (Local), or navigate the cloud headless browser (Remote/Cloud)figma_list_open_files - List files connected through the Desktop Bridge and which one is active (Local Mode)figma_get_console_logs - Retrieve console logsfigma_watch_console - Real-time log streamingfigma_clear_console - Clear log bufferfigma_reload_plugin - Reload current pagefigma_take_screenshot - Export an image of a page or node (Desktop Bridge first, REST fallback)figma_capture_screenshot - Render a node from the plugin runtime, reflecting changes that haven't reached the REST API yetfigma_get_selection - The nodes currently selected in Figmafigma_get_design_changes - Buffered document-change events, for polling what changedfigma_get_design_system_kit - Full design system in one call — tokens, components, styles, visual specsfigma_get_variables - Extract design tokens/variablesfigma_get_component - Get component data (metadata or reconstruction spec)figma_get_component_for_development - Component + imagefigma_get_component_image - Just the imagefigma_get_styles - Color, text, effect stylesfigma_get_file_data - Full file structurefigma_get_file_for_plugin - Optimized file datafigma_get_design_system_summary / figma_get_token_values - Compact design-system overview and variable values by mode (Local Mode only)figma_audit_design_system_report - Scored health audit for any MCP client — six-category report (naming, tokens, metadata, accessibility, consistency, coverage) with per-finding remediation ("can this MCP fix it?"), chunked per-category drill-down, live-first data with disclosed source, 5-minute cachefigma_get_library_component_by_key - Resolve any component key to full properties + variants + visual specs — without needing the source library file's URL. Works for both COMPONENT_SET and standalone COMPONENT keys. Adaptive compression at >500KB.figma_get_library_components - Discover all components in a library file (requires library file URL/key)figma_get_library_variables - List every variable from team libraries the current file has subscribed. Works on every Figma plan — uses the Plugin API path, not the Enterprise-only REST endpoint. Filter by libraryName, collectionName, or resolvedType.figma_import_library_variable - Import a library variable into the current file. Returns a local id ready to pass to figma_set_fills / figma_update_variable / any variable-binding tool.figma_pair_plugin - Generate a pairing code to connect a Desktop Bridge plugin via the cloud relayfigma_execute - Power tool: Run any Figma Plugin API code to create designs
fileKey targets one specific connected file directly (Local Mode only), without touching the active file or target lockfigma_execute_across_files - Local Mode only. Run the same script in several Desktop Bridge-connected files at once, concurrently, returning a per-file result map — for cross-file consistency checks and fixes across a multi-file design system, replacing "open file, run plugin, repeat per file"
fileKeys (from figma_list_open_files), or pass allFiles: true to hit every connected file — one of the two is required, so a script never fans out to files you didn't mean to touchfigma_create_component_set - Create a component set with variants in one declarative call
{ State: ["default", "hover", "disabled"], Size: ["sm", "lg"] } → 6 variants) off a base component, or combine existing componentsProp=Value variant naming, combineAsVariants under the hood, optional auto-arranged labeled gridfigma_instantiate_componentfigma_arrange_component_set - Organize variants into professional component sets
figma_set_description - Document components with rich descriptions
figma_create_slot - Add a slot to a component via the GA createSlot() API — the linked SLOT property is created automatically; works on standalone components and variants inside a component setfigma_get_slots - List slots on a component, component set (aggregated across variants), or instance — ids, names, property keys, dimensions, and current childrenfigma_append_to_slot - Populate an instance's slot by cloning an existing node or creating new content (setProperties rejects slot values by design — this is the population path)figma_reset_slot - Clear a slot's content on an instancefigma_add_slot_property - Retrofit an existing frame as a slot via a manual SLOT property binding, with description and preferredValuesFigma Motion (Plugin API beta). Animations play in Figma's preview and in video export, not in static screenshots.
figma_get_animations - Read a layer's animation styles, keyframe tracks and timeline, with CSS easings and token bindingsfigma_apply_animation - Animate a layer with a Figma preset (Opacity, Scale, Position, Rotation, Size, Path, TextStagger), a custom animation style, or manual keyframes for any animatable property, paint color or effect. Easing and duration can bind to EASING/TIMING variablesfigma_remove_animation - Remove one animation style, one keyframe track, or everythingfigma_manage_animation_styles - Build reusable motion styles: list Figma's presets and their options, and create, update or delete custom animation stylesfigma_export_animation - Export an animated frame as MP4, GIF or WebMfigma_get_code_layers - Find Figma code layers on a page or across the file, with position, size and linked dev resources. Figma's APIs don't expose code-layer source, so creating and editing them stays in Figma or Figma's own MCP (send_code_to_figma)figma_list_shaders - List shaders applied in the file (with each property's name, type and default, and the layers using them) and shaders from your librariesfigma_apply_shader - Apply a shader or change its properties by name ({turbulence: 40, cloudColor: '#E8F4FF'}) on fills, strokes or effects, including variable bindings. Shaders themselves are created in Figma or with Figma's own MCPfigma_set_layout - Auto layout and grid layout in one call: direction, gaps, padding, alignment including SPACE_EVENLY/SPACE_AROUND, wrap, sizing, and grid tracks written CSS-style ('240px 1fr 1fr', repeat(3, 1fr)) with child placement and spansfigma_import_svg - SVG markup, files or a whole icon folder → editable vectors, icon components and variant sets (from file names like 24/outline/arrow-left.svg), color bound to a COLOR variable. Re-importing updates existing icons in place so instances follow, asking first when they have instances or are published. Also how the AI draws a new icon or illustration: it writes the SVG and imports it. SVGs are sanitized first. Cloud Mode: inline markup only. Call it by name (not through figma_call)figma_import_image - PNG, JPEG or GIF → new image layers, or the fill of existing layers; @2x files placed at 1x; folders in Local Mode. Cloud Mode: base64 data onlyfigma_import_html - A web page, localhost app or HTML string → editable frames, one per viewport width (1–4), with auto layout checked against the rendered page, states reached through actions (hover, open menu, dark mode), and colors, spacing, radii, type and shadows bound to the file's variables and styles; unmatched values are reported. Local Mode uses your installed Chrome or Edge and also loads localhost, file:// inside FIGMA_HTML_IMPORT_FILE_ROOTS and signed-in pages (attach mode); Cloud Mode loads public URLs onlyfigma_export_assets - Export for code: PNG/JPG/SVG/PDF renders of up to 50 nodes (honoring their Export panel settings), code-ready icon SVGs (currentColor, no fixed size), the icons inside a screen, and original image files. Local Mode writes files into a folder you name; Cloud Mode returns inline content or Figma-hosted links. Call it by name (not through figma_call)figma_check_design_parity - Compare Figma component specs against code implementation, producing a scored diff report with actionable fix itemsfigma_generate_component_doc - Generate platform-agnostic markdown documentation by merging Figma design data with code-side info; the optional history parameter adds a changelog from Figma version history and git logfigma_generate_code_connect - Code Connect files from your real code components: reads the Figma component's properties live (any plan, published or not) and your code component's props (TypeScript, cva variants and defaults, children, or a Web Components manifest), maps variants, booleans, text, instance swaps, slots and nested instances, and never invents a prop. Writes .figma.ts files only with write: true; Cloud Mode returns the content. Call it by name (not through figma_call)figma_get_code_connect_map - The code component each instance in a frame maps to, with a snippet rendered from that instance's own values and its imports. Use it before writing code from a designfigma_audit_code_connect - Coverage per label and config, and drift (renamed properties, stale variant values, deleted nodes, files the CLI would refuse), with status: pass|fail for CIfigma_preview_code_connect - Figma-rendered snippets through your repo's Code Connect CLI (Local Mode only)figma_publish_code_connect - Publish with your repo's own CLI: a dry run returns a planId, the real run publishes exactly that after you confirm (Local Mode only)figma_unpublish_code_connect - Remove published Code Connect for your files or one component, with the same dry run and confirmation (Local Mode only)The CLI tools run code from your repo, so the first run asks you to trust that CLI; it runs isolated from the repo's .env and config, with the token only in confirmed runs. See the Code Connect guide.
figma_manage_dev_resources - List, add, edit or delete the code, Storybook and docs links on components (Dev Mode), in bulkfigma_find_usages - Where a style, variable or component is used, before you change or retire itfigma_get_library_analytics - Library usage across the org: instances, unused assets, insertions and detach rates (Enterprise; token needs library_analytics:read)figma_extend_library_collection - Create an extended collection (a brand or product theme) from a library's or the file's own variables (Enterprise)figma_reset_variable_override - Put a variable in an extended collection back to its inherited value (Enterprise)figma_search_components / figma_get_component_details - Find components (local + library) and get their variants, properties, and keys (Local Mode only)figma_instantiate_component / figma_set_instance_properties - Place instances and set their TEXT, BOOLEAN, INSTANCE_SWAP, and VARIANT propertiesfigma_add_component_property / figma_edit_component_property / figma_delete_component_property - Manage component propertiesfigma_create_child, figma_move_node, figma_resize_node, figma_clone_node, figma_rename_node, figma_delete_node, figma_set_text, figma_set_fills, figma_set_strokes, figma_set_image_fill - Structured node edits, including variable binding on fills and strokes, OKLCH/Display P3 and other CSS colors on fills and strokes, and text wrap style and variable-font axes on textfigma_get_component_for_development_deep - Full component tree with resolved token names and instance referencesfigma_analyze_component_set - A variant set as a state machine, with CSS pseudo-class mappings and per-variant diffsfigma_lint_design - WCAG and design-system lint on the canvas, with AA and best-practice level taggingfigma_audit_component_accessibility - Component scorecard: state coverage, focus indicators, color-blind simulationfigma_scan_code_accessibility - axe-core scan of HTMLfigma_get_annotations / figma_set_annotations / figma_get_annotation_categories - Read and write designer annotations (Local Mode + Cloud Mode)figma_get_comments / figma_post_comment / figma_delete_comment - File comments, optionally pinned to a nodefigma_get_file_versions / figma_get_file_at_version - List versions and snapshot a file or node at a past versionfigma_diff_versions / figma_get_changes_since_version - Structured diffs, including component property and binding changesfigma_generate_changelog - Markdown changelog for release notesfigma_blame_node - Find when, and by whom, a property or variant was introducedfigma_export_tokens - Export Figma variables to design token files in your codebase. Canonical DTCG JSON (legacy hex dialect by default, or DTCG 2025.10 object colors/dimensions via dtcgDialect: "2025") plus CSS, Tailwind v4/v3, SCSS, TS, JSON, Style Dictionary, and Tokens Studio formats. Diff-aware merge against existing source files (only writes what changed). tokens.config.json autodiscovery means zero-arg calls after first setup. Scopes and codeSyntax metadata round-trip via $extensions. Replaces Style Dictionary and Tokens Studio's export pipeline for popular styling methods.figma_import_tokens - Push code-side token edits back to Figma with a full apply phase. Diffs against current Figma state, then applies value updates, creates missing collections/variables, applies renames, writes real alias (VARIABLE_ALIAS) references, and — only under strategy: "replace" — deletes Figma-only variables. Round-trip safe — Figma variable IDs preserved in DTCG $extensions["figma-console-mcp"] so renames on either side don't create duplicates. Accepts both DTCG dialects. Dry-run strategy for safe previews. In Cloud Mode, pass tokens inline via payload or files (no local filesystem access).Turn a production codebase into a design system: analyze → extract tokens → scaffold → port components → verify. Local Mode only — these tools read and write your local filesystem, so they are never registered in Cloud Mode.
figma_ds_analyze - Scan one or more production app codebases — framework/styling/vendor-layer detection; a usage-ranked component inventory classified vendored / wrapped / pure-vendor / bespoke, with prop contracts, variant inference from real call sites, and duplicate detection; iconography + typography capture; and architecture classification (atomic levels, specializations like FollowButton → Button, missing generic primitives — the "UI kit vs design system" analysis)figma_ds_extract_tokens - Mine the app's styling into DTCG tokens. Declared intent first — multi-mode CSS custom properties (.dark / [data-theme] and other conventions), SCSS variables, Tailwind config values, shadcn HSL triples — plus Tailwind utility-class frequency mining valued from the app's own theme, and frequency-promoted recurring raw values. Every token carries provenance (source file:line, confidence, frequency) in $extensions; the output imports straight into Figma variables via figma_import_tokensfigma_ds_scaffold - Generate the design-system package — package skeleton, token files via the shared formatter engine, token/typography/iconography showcase docs pages, framework peer deps, and a workflow READMEfigma_ds_setup_storybook - Wire a freshly-initialized Storybook workshop to the extraction — a preview stylesheet carrying the source app's @theme mapping, custom @utility definitions, @layer base, and @font-face rules; self-hosted font copying; config patches (Tailwind vite plugin, automatic JSX runtime); and a theme toolbar built from the extracted modesfigma_ds_extract_component - Deep-extract one component for porting — source, prop contract, observed call-site variants, style touchpoints, and a ready-to-adapt CSF3 story scaffoldfigma_ds_verify - Deterministic fidelity evals — DTCG parse + alias integrity, quoted-CSS-expression scan, workshop var() resolution, structure + porting coverage, and Figma round-trip readinessfigma_ds_status - Read or record porting progress, persisted across sessionsfigma_create_variable_collection - Create new variable collections with modesfigma_create_variable - Create COLOR, FLOAT, STRING, or BOOLEAN variablesfigma_update_variable - Update variable values in specific modesfigma_rename_variable - Rename variables while preserving valuesfigma_delete_variable - Delete variablesfigma_delete_variable_collection - Delete collections and all their variablesfigma_add_mode - Add modes to collections (e.g., "Dark", "Mobile")figma_rename_mode - Rename existing modesfigma_batch_create_variables - Create up to 100 variables in one call (10-50x faster)figma_batch_update_variables - Update up to 100 variable values in one callfigma_setup_design_tokens - Create complete token system (collection + modes + variables) atomically — values accept DTCG brace references ("{color.blue.600}") that resolve to real variable aliasesfigjam_create_sticky - Create a sticky note with color optionsfigjam_create_stickies - Batch create up to 200 stickiesfigjam_create_connector - Connect nodes with labeled connector linesfigjam_create_shape_with_text - Create flowchart shapes (diamond, ellipse, etc.)figjam_create_table - Create tables with cell datafigjam_create_code_block - Add code snippets with syntax highlightingfigjam_create_section - Group board content in a sectionfigjam_auto_arrange - Arrange nodes in grid, horizontal, or vertical layoutsfigjam_get_board_contents - Read all content from a FigJam boardfigjam_get_connections - Read the connection graph (flowcharts, relationships)figjam_generate_diagram - Draw a native diagram from Mermaid (flowchart, state, sequence, ER, gantt, architecture) or a JSON graphfigjam_replace_diagram - Redraw a generated diagram in place, keeping what people added (asks first if they edited it; call it by name, not through figma_call)figjam_read_diagram - List generated diagrams, read one back as Mermaid, or turn a hand-drawn board into Mermaidfigma_list_slides - List all slides with IDs, positions, and skip statusfigma_get_slide_content - Get the full content tree of a slidefigma_get_slide_grid - Get the 2D grid layout of the presentationfigma_get_slide_transition - Read transition settings for a slidefigma_get_focused_slide - Get the currently focused slidefigma_create_slide - Create a new blank slidefigma_delete_slide - Delete a slide from the presentationfigma_duplicate_slide - Clone an existing slidefigma_reorder_slides - Reorder slides via new 2D grid layoutfigma_set_slide_transition - Set transition effects (22 styles, 8 curves)figma_skip_slide - Toggle whether a slide is skipped in presentation modefigma_add_text_to_slide - Add text to a slide with custom fonts, colors, alignment, and wrappingfigma_add_shape_to_slide - Add rectangle or ellipse shapes with colorfigma_set_slide_background - Set a slide's background color (creates or updates)figma_get_text_styles - Get all local text styles with IDs, fonts, and sizesfigma_set_slides_view_mode - Toggle grid vs. single-slide viewfigma_focus_slide - Navigate to a specific slideConnect to my Figma plugin so we can start designing
Pair with my Figma file and create a login form with email, password, and submit button
Set up a brand color token collection with Light and Dark modes
Navigate to my Figma plugin and show me any console errors
Watch the console for 30 seconds while I test my plugin
Get the last 20 console logs
Get all design variables from https://figma.com/design/abc123
Extract color styles and show me the CSS exports
Get the Button component with a visual reference image
Get the Badge component in reconstruction format for programmatic creation
Create a success notification card with a checkmark icon and message
Design a button component with hover and disabled states
Build a navigation bar with logo, menu items, and user avatar
Create a modal dialog with header, content area, and action buttons
Arrange these button variants into a component set
Organize my icon variants as a proper component set with the purple border
Import the icons in src/icons as components, one variant set per icon by size and style, bound to icon/default
Our icons changed in code: re-import them and update the existing components
Draw a rocket icon in our icon style and add it to the icon set
Export the icon set as SVGs with currentColor into src/assets/icons
Export the icons and photos used in this screen
Import http://localhost:3000/pricing into Figma at desktop and mobile widths, bound to our tokens
Do a dry run on https://example.com first and show me which colors have no matching token
Capture our app's settings page with the user menu open, in dark mode
Connect our Button component set to src/components/Button.tsx with Code Connect
Audit our Code Connect against the library and tell me what's unmapped or out of date
Do a publish dry run for Code Connect, then publish it once I've reviewed it
Implement this frame using the components Code Connect maps it to
Create a new color collection called "Brand Colors" with Light and Dark modes
Add a primary color variable with value #3B82F6 for Light and #60A5FA for Dark
Rename the "Default" mode to "Light Theme"
Add a "High Contrast" mode to the existing collection
Compare the Button component in Figma against our React implementation
Check design parity for the Card component before sign-off
Generate component documentation for the Dialog from our design system
Create a retrospective board with "Went Well", "To Improve", and "Action Items" columns
Build a user flow diagram for the checkout process with decision points
Draw this Mermaid sequence diagram on the board, then update it when I add the refund step
Turn the flow the team sketched in the "Onboarding" section into Mermaid for our docs
Read this brainstorming board and summarize the key themes
Generate an affinity map from these meeting notes
Create a comparison table of our three platform options
List all slides and tell me which ones are skipped
Add a new slide with the title "Thank You" in 72px text
Set a DISSOLVE transition on the first slide with 0.5 second duration
Duplicate slide 5 for an A/B comparison
Skip slides 8 and 9 — they're not ready for the client presentation
Reorder my slides so the conclusion comes before Q&A
Take a screenshot of the current Figma canvas
Navigate to this file and capture what's on screen
Requires Desktop Bridge: This feature works with Local Mode (NPX or Local Git) and Cloud Mode. Remote SSE without Cloud Mode pairing is read-only and cannot create or modify designs.
One of the most powerful capabilities of this MCP server is the ability to design complete UI components and pages directly in Figma through natural language conversation with any MCP-compatible AI assistant like Claude Desktop or Claude Code.
Create original designs from scratch:
Design a login card with email and password fields, a "Forgot password?" link,
and a primary Sign In button. Use 32px padding, 16px border radius, and subtle shadow.
Leverage existing component libraries:
Build a dashboard header using the Avatar component for the user profile,
Button components for actions, and Badge components for notifications.
Generate complete page layouts:
Create a settings page with a sidebar navigation, a main content area with form fields,
and a sticky footer with Save and Cancel buttons.
figma_search_components to find relevant building blocksfigma_instantiate_componentfigma_execute| Role | Use Case |
|---|---|
| Designers | Rapidly prototype ideas without manual frame-by-frame construction. Explore variations quickly by describing changes. |
| Developers | Generate UI mockups during planning discussions. Create visual specs without switching to design tools. |
| Product Managers | Sketch out feature concepts during ideation. Communicate visual requirements directly to stakeholders. |
| Design System Teams | Test component flexibility by generating compositions. Identify gaps in component coverage. |
| Agencies | Speed up initial concept delivery. Iterate on client feedback in real-time during calls. |
Brand New Design:
"Create a notification toast with an icon on the left, title and description text, and a dismiss button. Use our brand colors."
The AI creates custom frames, applies your design tokens, and builds the component from scratch.
Component Composition:
"Build a user profile card using the Avatar component (large size), two Button components (Edit Profile and Settings), and a Badge for the user's status."
The AI searches your library, finds the exact components, and assembles them with proper spacing and alignment.
Design Iteration:
"The spacing feels too tight. Increase the gap between sections to 24px and make the heading larger."
The AI modifies the existing design, takes a screenshot to verify, and continues iterating until you're satisfied.
The AI automatically follows a validation workflow after creating designs:
This ensures designs aren't just technically correct—they look right.
The Figma Desktop Bridge plugin is the recommended way to connect Figma to the MCP server. It communicates via WebSocket — no special Figma launch flags needed, and it persists across Figma restarts.
~/.figma-console-mcp/plugin/manifest.json — the stable path the MCP server keeps up to date (npx figma-console-mcp --print-path prints it; on macOS press ⌘⇧G in the dialog and paste it, since the folder is hidden). If you cloned this repo for development, you can select figma-desktop-bridge/manifest.json from the clone instead.One-time import. Once imported, the plugin stays in your Development plugins list. Just run it whenever you want to use the MCP.
📖 Desktop Bridge Documentation
Read Operations:
Write Operations:
figma_executeMultiple files: The WebSocket server supports multiple simultaneous plugin connections — one per open Figma file. Each connection is tracked by file key with independent state (selection, document changes, console logs).
Environment variables:
FIGMA_WS_PORT — Override the preferred WebSocket port (default: 9223). The server will fall back through a 10-port range starting from this value if the preferred port is occupied.FIGMA_WS_HOST — Override the WebSocket server bind address (default: localhost). Set to 0.0.0.0 when running inside Docker so the host machine can reach the MCP server.FIGMA_MCP_HTTP_PORT — Also serve MCP over Streamable HTTP at http://127.0.0.1:<port>/mcp, so other local clients can share this server's Figma connection. Off by default. See Sharing one server over HTTP.FIGMA_MCP_HTTP_TOKEN — With FIGMA_MCP_HTTP_PORT, require Authorization: Bearer <token> on every HTTP request.FIGMA_CONSOLE_ASSET_TIMEOUT_SCALE — Multiply how long SVG/image import and asset export wait for Figma at each step (default 1, from 0.05 to 10). Raise it on a slow machine or for a very large file.FIGMA_CODE_CONNECT_ROOT — The repository the Code Connect tools work in when a call doesn't pass repoRoot (an absolute path).FIGMA_HTML_IMPORT_BROWSER — The Chrome, Chromium, Edge or Brave executable figma_import_html uses. Default: found in the usual install locations (CHROME_PATH and PUPPETEER_EXECUTABLE_PATH are read too).FIGMA_HTML_IMPORT_BROWSER_ARGS — Extra switches for that browser, space-separated (for example --lang=de-DE). Switches that would change how the capture browser is controlled or isolated (debugging ports, profile, headless mode, certificate checks, sandbox, site isolation, web security, file access, extensions, host mapping) are ignored, with a warning.FIGMA_HTML_IMPORT_FILE_ROOTS — Folders (absolute, separated by :, or ; on Windows) whose files figma_import_html may load as file:// URLs. Off by default.FIGMA_HTML_IMPORT_CDP_URL — Attach mode: capture url imports in your own Chrome, started with --remote-debugging-port=9222 on a separate profile (for example http://127.0.0.1:9222). Loopback addresses only; each capture asks first when your client can show the question, otherwise setting this variable is your opt-in.FIGMA_HTML_IMPORT_CDP_ALLOW_ACTIONS — With attach mode, set to 1 to allow click, type and press actions in your signed-in session (off by default).Cloud Mode: The plugin also supports a Cloud Mode toggle for pairing with web AI clients (Claude.ai, v0, Replit, Lovable). Toggle "Cloud Mode" in the plugin UI, enter the 6-character pairing code from your AI assistant, and click Connect. See Cloud Mode for details.
Plugin Limitation: In Local Mode, works with NPX or Local Git. In Cloud Mode, pairs with the remote MCP endpoint. Remote SSE without Cloud Mode pairing is read-only.
Figma Console MCP now supports multiple simultaneous instances — perfect for designers and developers who work across multiple projects or use Claude Desktop's Chat and Code tabs at the same time.
When two processes tried to start the MCP server (e.g., Claude Desktop's Chat tab and Code tab), the second one would crash with EADDRINUSE because both competed for port 9223.
figma_get_status shows which port you're on and lists other active instances| Scenario | Before v1.10.0 | Now |
|---|---|---|
| Two Claude Desktop tabs (Chat + Code) | Second tab crashes | Both work independently |
| Multiple CLI terminals on different projects | Only one can run | All run simultaneously |
| Claude Desktop + Claude Code CLI | Port conflict | Both coexist |
Nothing. Multi-instance support is fully automatic:
(Re-importing the manifest is only required when the plugin code itself changes — e.g. after a package update. Port-range scanning is already in the shipped plugin.)
Normally each MCP client starts its own server over stdio. To let several local clients share one server and its Figma connection, set FIGMA_MCP_HTTP_PORT. The server then also serves MCP at http://127.0.0.1:<port>/mcp, and lists that URL in its port file (mcpHttpUrl) and in figma_get_status (transport.mcpHttp).
# Start a shared server in a terminal (keep it open)
FIGMA_ACCESS_TOKEN=figd_... FIGMA_MCP_HTTP_PORT=9300 npx -y figma-console-mcp@latest
# Point clients at it, e.g. Claude Code:
claude mcp add --transport http figma-console-shared http://127.0.0.1:9300/mcp
127.0.0.1 and refuses requests whose Host isn't localhost (DNS rebinding) or that come from a non-localhost browser page. Set FIGMA_MCP_HTTP_TOKEN to also require a bearer token.Figma Console MCP includes two MCP Apps: interactive pages that render inside the chat in any client that supports the MCP Apps extension, such as Claude, ChatGPT, VS Code and Goose (client support). They're built with the official @modelcontextprotocol/ext-apps SDK and take on the chat's light or dark theme, colors and fonts.
What are MCP Apps? Traditional MCP tools return text or images to the AI. MCP Apps render an interactive page in the chat, so you can browse and act on data without the AI reading all of it.
Usage: Ask to "browse the design tokens" while connected to a Figma file.
figma_export_tokensUsage: Ask to "audit the design system" while connected to a Figma file.
No MCP Apps support? Same audit, plain tool: figma_audit_design_system_report runs the identical scoring engine and returns the report as data — summary by default, per-category drill-down via category, full JSON via format: "full" — with a remediation section stating which findings this MCP can fix (design), which need a design decision first (design-assisted), and which need human design work (manual). Works in every MCP client; results cache for 5 minutes (forceRefresh to re-crawl).
Enabling MCP Apps: they're on by default in Local and Cloud Mode. Their tools are listed only to clients that can render apps, so other clients don't pay for them. Set ENABLE_MCP_APPS=false to turn them off, or always for a host that renders apps without declaring the extension. ("ENABLE_MCP_APPS": "true" in older setup examples still works and means the default.)
figma_audit_code_connect report as a browsable table: which components are mapped, which have drifted, and the likely code counterpart for each gapfigma_check_design_parity results side by side, Figma and code, with each discrepancy linked to its nodefigma_import_html, the values that didn't match a token, grouped so they can be added to the system or fixed in codeSee MCP Apps for details.
The two servers are complementary, and both can run in the same MCP client.
Figma's official MCP server is hosted by Figma. It focuses on design-to-code context (get_design_context), library search, and creating content in Figma: it writes through use_figma, creates files, generates FigJam diagrams, generates code layers, and works with shaders. It also reads and writes Code Connect mappings stored in Figma, and feeds published Code Connect into its design context.
Figma Console MCP focuses on design-system operations:
generate_figma_design and html_to_figma)Current Status: v2.5.1 (Stable). v2.5 makes token exports resolve variables from other libraries: a file whose variables alias a shared library exports real values in every format, with DTCG carrying the library collections as their own sets, and re-importing an export never changes library variables. v2.4.1 makes the design system audit judge large multi-mode systems correctly: it recognizes the primitive tier by its structure instead of picking the collection with the most raw values. v2.4 brings the MCP Apps up to date: the Token Browser and Design System Dashboard open again, follow the chat's theme, offer Ask to fix, Open in Figma, sharing with the chat and token downloads, and work in Cloud Mode. v2.3.1 made every Figma team-library call give up with a clear message instead of hanging; v2.3.2 makes the library tools say when a file is a FigJam board or Slides deck, and figma_list_open_files report each file's type; v2.3.3 fixes what live testing found in diagrams, web page import and Code Connect, and keeps a pinned file's commands from running in another file. v2.3 adds FigJam diagrams from Mermaid or JSON (figjam_generate_diagram, figjam_replace_diagram, figjam_read_diagram), Code Connect from your repo's real components (generate, map, audit, and CLI preview/publish/unpublish), and web page and HTML import as token-bound layers (figma_import_html). v2.2 added icons, images and assets for design systems: figma_import_svg (icon components, variant sets from file names, token binding, updates in place that keep instance overrides), figma_import_image, and figma_export_assets (renders, code-ready icon SVGs, original images). v2.1 completed extended collections, made write tools report refusals as errors, and made library analytics actionable. Built on v2.0: MCP SDK v2 (protocol 2026-07-28) with Skills, Tasks and confirmation prompts; toolsets (~9k tokens of tool definitions per message instead of ~60k); design-system adherence tools. 158 tools (Local) / 127 tools (Cloud) / read-only subset (Remote). Earlier releases are listed below and in the CHANGELOG.
Recent Releases:
127.0.0.1 when the Mac's IPv6 loopback can't be reached (a long-uptime Mac out of local ports), and figma_get_status says why.figma_export_tokens and the Token Browser read the library variables a file's variables alias, read-only, through the Desktop Bridge. CSS, SCSS, Tailwind, TypeScript, JSON, Style Dictionary and Tokens Studio write the referenced value per mode instead of skipping the token; single-file DTCG includes the library collections as library-flagged sets; split DTCG stays self-contained. Anything still unresolvable, including an alias to a deleted variable, is skipped with a comment along with the tokens that alias it, so no output references a skipped token. figma_import_tokens never changes library variables, and re-importing an unchanged export plans no changes. Files without library references export exactly as before. No plugin re-import.primitive/… paths and structure, variable naming catches color/blue/500, and alias usage reports the ratio it scores. No plugin re-import.figma_audit_design_system_report now run in Cloud Mode. Audits of a non-active file count its components. No plugin re-import.figma_navigate to an unconnected file is an error. Diagram builds no longer stall, parallel diagrams don't overlap, and filled arrowheads point forward. Web page import no longer hangs on SF Pro and keeps font weights when a font fails. Code Connect maps titleText → title and renders unmapped instances as valid JSX. No plugin re-import.figma_list_open_files reports each file's editorType with real /board/ and /slides/ URLs. No plugin re-import.figma_get_library_variables, figma_import_library_variable, figma_import_svg color variables, figma_import_html library tokens) time out with a clear message instead of hanging when Figma's library service stops answering. No plugin re-import.figma_generate_code_connect, figma_get_code_connect_map, figma_audit_code_connect, CLI preview/publish/unpublish); figma_import_html (web pages and HTML as token-bound layers); asset scripts escape every import form. No plugin re-import.figma_import_svg (SVG icons as components and variant sets, token binding, in-place updates that keep overrides, sanitized input), figma_import_image, figma_export_assets (renders, icons inside screens, code-ready SVGs, original images; files, inline or links); new assets toolset. Server-only.set_layout sizing and wrap, a clear "all ports taken" error; dependency audit clean. Plugin re-import.figma_reset_variable_override, extend local collections, read library-collection extensions); write tools report refused changes as errors; library analytics lists unused assets and explains empty/404 results. Server-only.figma_resolve_components, figma_audit_adherence, figma_audit_code_adherence, figma_check_library_parity, figma_bind_tokens); dev resources, usages, library analytics, extended collections; WCAG lint false-positive fixes. Breaking: non-core tools must be enabled first (FIGMA_TOOLSETS=all restores the old list). Plugin re-import.figma_list_shaders, figma_apply_shader (properties by name), figma_set_layout (auto layout and grid), CSS colors on fills/strokes, text wrap and variable-font axes (#150). Server-only.figma_get_code_layers no longer hangs on background-window files (#149); tool docs audited against real parameters (#151). Server-only.figma_get_code_layers (#147). Server-only.library_assets:read; component lookups by key work over OAuth. Server-only.current_user:read; 403s name the missing scope; complete token scopes and Codex/Gemini CLI/Antigravity setup. Server-only.FIGMA_MCP_HTTP_PORT) so local clients can share one server (#48). Server-only.@modelcontextprotocol/sdk 1.32.1 and zod 4: 0 production advisories (#141). Server-only.figma_execute timeout up to 300 s. Server-only.figma_get_comments compact threads with node/thread/date filters and paging, 30 threads by default (PR #139 by @OAPrilepa). Server-only.tokens), nested size/position/rotation and vector shapes. Plugin re-import.layout). Plugin re-import.figma_get_variables full-format paging and one pagination shape (#98, #99); deep extraction mixed-text fix and unlimited depth (PRs #85, #86 by @DarWiM). Plugin re-import for component fixes./sse sessions use their own token (a shared slot let REST calls run with another user's token), authorization codes are random/single-use/10-minute and bound to client_id + redirect_uri + PKCE S256, unregistered redirects refused, consent page for other registered destinations, callback error page escaped. Local: accessibility scan no longer executes scanned scripts; figma_import_tokens refuses 0-token imports and scopes replace deletes to imported collections; figma_arrange_component_set replaces only its own set's arrangement; token export/import read variables live; stdin-EOF exit (PR #140 by @RomanOdokienko); Slots fileKey (PR #112 by @Wolfr); batch-create aliases. Server-only. Reported in #104, #122, #53, #91, #116.figma_get_file_data, component docs) and in design-code parity; reconstruction reads the full REST tree with real geometry, alignment, hidden layers and absolute positioning; nodeIds honored by the file-data tools; Cloud Mode figma_diagnose on /mcp. Server-only. Reported by Brett Cooper.figma_get_variables reads extended variable collections (overrides live on the collection; they were invisible and reported as nonexistent) — summary, per-collection resolved values marked overridden/inherited, per-variable overrides; the mode filter no longer drops 0/false values; figma_export_tokens explains instead of emitting empty sets. figma_generate_component_doc: radius and per-side stroke bindings read per corner/side, Design-Code Parity compares booleans and never prints an empty section, source links pinned to a commit (no raw relative paths, no local paths, credentials stripped), hidden layers linked to the boolean that shows them, same-named layers qualified by instance. Server-only. Reported by Brett Cooper and Robin Di Capua.@cloudflare/puppeteer (→ @puppeteer/browsers → extract-zip, high, no upstream fix) and agents were regular dependencies but are only used by the Cloudflare Worker; they are now devDependencies and the Worker build is excluded from the npm package, so a fresh install audits at 0 vulnerabilities (was 4 high) and drops from 173 MB to 64 MB. The local server now reports its real version to MCP clients instead of 0.1.0. A new test guards both directions of the dependency split. Server-only. Reported by Daniel Westerlund.fileUrl (figma_generate_component_doc, figma_get_component, figma_get_component_for_development) read bridge data from the ACTIVE file instead of the named one — token names vanished, and on an id collision another file's names, description, annotations or even component were returned; they now target the named file and fall back to REST. A tool result over 16 MB disconnected the server for the session (the client closes the transport); results are now size-capped centrally with an actionable error. Anatomy sizing labels follow the real layout axes (vertical layouts were mislabeled); icons are grouped, counted and named by the glyph in the slot; typography rows are identified by (element, style); identical sibling layers collapse to ×N. Found by testing on hard production components. Server-only.figma_generate_component_doc: hidden layers labeled rather than documented as rendered; border width honors individualStrokeWeights (a tab underline is 4px bottom, not the vestigial scalar) and is reported only where a stroke is painted; typography and anatomy compared across every variant (an Applies to column; one tree per distinct layer structure) instead of read from the first; gradients, images, shadows, blurs and opacity reported instead of dropped; fetch depth raised from 4 to 8 with an explicit note when a tree may be cut off; boolean-valued variant properties keep their name; Configurable Properties renders for variant-only sets and lists SLOT properties; every icon shown, not just the first; Design-Code Parity compares property values (it could report a property name as a missing variant); placeholder status/version/description no longer asserted. Server-only. Reported by Robin Di Capua.figma_export_tokens reads from whichever file is active in Figma Desktop; with the wrong one focused it could overwrite a real token file with an empty document — or, for CSS/SCSS/Tailwind/TS outputs, with another file's tokens — and report success: true. Exports now refuse (writing nothing) when a requested collection isn't in the file that was read, when the export is empty, when the target was generated from a different Figma file (generated files now record their source), when a DTCG target can't be parsed or would be replaced by a different kind of output, or when overwriting would destroy hand-added tokens or another collection's tokens. strategy: "merge" had been documented as preserving code-only tokens but was never implemented; it is now the safe default and replace is the explicit override. Every response reports the source Figma file. Server-only. Reported by Isabella Minzly; two further loss paths found in code review.figma_generate_component_doc: Background now comes only from the variant's own fills (a transparent outline/ghost variant no longer borrows its icon's color), Color Token headings name every variant property under any property names, Spacing Tokens are compared across all variants (varies by **Size**: …, with a Spacing Inconsistencies list for properties tokenized on some variants and hardcoded on others), and icons resolve from the main component and INSTANCE_SWAP slots rather than a layer name containing "icon". figma_export_tokens: an outputPath that is an existing file or ends in a token-file extension is written as that exact file; multi-file exports into a file path are rejected before anything is written. figma_search_components no longer reports a failed component load as a successful empty search. Server-only. Reported by Robin Di Capua and Isabella Minzly.figma_ds_analyze scans one or more app codebases: framework/styling/vendor-layer detection (React/Next/Angular/Web Components; Tailwind v3/v4, CSS Modules, SCSS, Emotion, styled-components; shadcn/ui, Radix, MUI, Chakra…), a usage-ranked component inventory classified vendored/wrapped/pure-vendor/bespoke with prop contracts, variant inference from real call sites, duplicate detection, iconography + typography capture, and an architecture classification separating a UI kit from a design system (atomic levels, specializations like FollowButton → Button, missing generic primitives). figma_ds_extract_tokens mines de-facto styling into DTCG tokens — multi-mode CSS custom properties across .dark/[data-theme] conventions, SCSS variables, Tailwind config values, shadcn HSL triples, Tailwind utility-class frequency mining valued from the app's own theme, frequency-promoted raw values — with per-token provenance in $extensions, importable straight into Figma variables via figma_import_tokens. figma_ds_scaffold generates the package (token files via the shared formatters, token/typography/iconography showcase pages); figma_ds_setup_storybook wires a fresh Storybook workshop to the app's real theme layers and fonts; figma_ds_extract_component produces per-component porting manifests with CSF3 story scaffolds; figma_ds_verify gates the result with deterministic fidelity evals plus Figma round-trip readiness; figma_ds_status persists porting progress across sessions. Also fixes the CSS/SCSS/Tailwind v4 formatters quoting CSS functional expressions (a quoted cubic-bezier(...) silently kills transitions — affects figma_export_tokens too). Server-only, no plugin re-import.computePluginUpdateAvailable() was a bare inequality with no direction check, so a server whose bundled plugin copy was OLDER than the connected plugin still told the user to re-import — which only ever installs the same or a newer plugin. Not an edge case: the 9223–9232 port range keeps several server instances alive, BUNDLED_PLUGIN_VERSION is parsed once at module load, and every server left running from before an upgrade nags a correctly-updated plugin. Reproduced live with four leftover v1.38.2 servers against a freshly re-imported 1.39.0 plugin. Now flags only when the bundled copy is genuinely newer. Server-only, no plugin re-import. 1452 tests.figma_execute_across_files runs one script against several Desktop Bridge-connected files concurrently, with per-file error isolation and independent timeouts (verified live: four files × 2s of work in ~3.0s, all dispatches within 5ms — versus ~8s serialized). figma_execute gained an optional fileKey to target a single non-active file without moving the active file or releasing target lock. Targeting is deliberately explicit — fileKeys or allFiles: true, no fan-out-to-everything default — because this runs arbitrary code in files you may be actively editing, including one pinned by target lock. The transport was already concurrent (sendCommand has always taken a target file key, and every hop is request-id keyed); only the tool layer was missing. Community PR #107 by @Wolfr. Also fixes a Desktop Bridge relay bug that silently dropped resultAnalysis and fileContext from every figma_execute response since they were introduced — making the resultAnalysis.warning check the tool's own description tells callers to perform impossible — guarded now by a test that reads the real plugin files. Re-import manifest.json for those two fields; the rest works without it, and mixed plugin versions degrade cleanly. 52 suites / 1443 tests./health before deciding it is dead, but requested 127.0.0.1 while the WebSocket server binds localhost — resolved to the IPv6 loopback on dual-stack macOS, with nothing on IPv4 — so the probe reported "nothing responding" for healthy servers and every kill-safety gate built on it became a rubber stamp, including the one written to spare siblings after the machine sleeps. Three supporting defects: port files written non-atomically (a reader landing mid-rewrite got a parse error that both cleanup paths treated as "corrupt, delete it", stranding a healthy server), an orphan path that terminated fileless port-holders without probing at all, and a heartbeat that gave up permanently once its own file went missing. Fixes: probe localhost, atomic temp+rename writes, never delete on a parse failure, health-probe before the orphan kill in both paths, and self-healing re-advertisement guarded by in-process port ownership. Fully restart MCP clients after upgrading — older running builds keep the broken probe and still terminate healthy siblings. Server-only, no plugin re-import. 1422 tests (7 new regressions, each verified to fail pre-fix).figma_get_library_variables returned totalCollections: 0 for every file, on every plan, since it shipped in v1.29.0, and figma_import_library_variable reported failed imports as successes with id: undefined. Both read the Desktop Bridge's { success, result } envelope as if it were the injected script's bare return value, so Array.isArray() was always false, the __error guard was dead code, and .id was always undefined. The failure presented as a success with a plausible hint attached ("subscribe a library via the Assets panel"), which is why it survived two months unreported. Both tools now unwrap through a shared helper that also maps a bridge-level success: false onto the error path, so a plugin timeout surfaces as a real error instead of being swallowed as "0 collections"; an import yielding no id is now an explicit error. All 26 executeCodeViaUI call sites audited — only these two were affected. Test mocks had encoded a wire contract that does not exist, which is why CI stayed green; they now reproduce the real envelope, plus six regression tests verified to fail against the pre-fix source. Reported by Isabella Minzly. Server-only — no plugin re-import needed.figma_generate_component_doc gained an opt-in history parameter that produces a real changelog instead of only echoing hand-written codeInfo.changelog rows: history.figma walks Figma version history and diffs each consecutive pair scoped to the component (reusing the same engine as figma_diff_versions, so a rename, a newly added component property, or a token binding each become a row), while history.git runs git log over the component's source files auto-derived from codeInfo.filePath / sourceFiles[]. Labeled versions are preferred but auto-saves are used automatically when a file has none — verified against a mature system with 72 auto-saves and 0 labeled versions, where a labeled-only walk yields nothing. Detailed-mode bindings group by property (binding one token across a 24-variant set otherwise produced 44 near-identical bullets in a single table cell). Both sources default off, so existing callers get byte-identical output. No new tools; server-only, no plugin re-import.figma_audit_design_system_report runs the Design System Dashboard's deterministic scoring engine (naming, token architecture, component metadata, accessibility, consistency, coverage) and returns the scored report as data — no MCP Apps support or ENABLE_MCP_APPS needed (the previous registration gated everything, making the audit unreachable outside Claude Desktop). Component data is now live-first: a fileKey-verified per-page bridge crawl (30s/page, failures isolated per page) with REST published-library fallback, and the chosen source is disclosed in the report (bridge-live / rest-published / none) so stale-publish scores can't masquerade as live ones. Output is token-safe by design: bounded summary, per-category chunked drill-down, clamped full JSON, 5-minute raw-data cache. Every finding carries a remediation verdict — auto-fixable by this MCP's write tools, fixable after a design decision, or manual — with the exact tools named. Scoring accuracy pass: variant components no longer poison PascalCase/casing checks, Title Case accepted, component-set names count toward core-component coverage, color/content/* recognized in contrast pairing, state synonyms (active≈pressed etc.), and ./_-prefixed internals excluded. Server-only — no plugin re-import needed.figma_navigate gains a lock: true flag that pins the active file — new connections, reconnects, and the user's own selection/page changes in other files no longer move the command target, so an agent can safely write to one file while the user works in another. Auto-releases when the pinned file disconnects or navigates away; figma_list_open_files reports a targetLocked flag for pre-write guards. Server-only — no plugin re-import needed.figma_create_slot (slot + auto-linked SLOT property; variants inside component sets supported — the beta restriction was lifted at GA), figma_get_slots, figma_append_to_slot (clone or create content into instance slots; snaps clones to the slot origin), figma_reset_slot, and figma_add_slot_property (retrofit an existing frame as a slot). Hardened by live validation: VARIANT defaultValue passthrough restored (Figma requires non-empty), destructive-path reorder in the append handler (content validated before clearExisting empties anything), relay whitelist fix for slot payloads. Plugin re-import required (code.js + ui.html changed).figma_import_tokens now applies the complete diff plan: missing collections and variables are created (with modes, inferred/recorded types, and values set in dependency order — aliases in a second pass), token-path renames route to the update phase by round-trip variable ID (no more create+delete pairs that would permanently destroy the original under replace), reference values write real { type: "VARIABLE_ALIAS", id } payloads via a four-tier resolver, and deletes are strictly gated behind strategy: "replace". figma_export_tokens gains dtcgDialect: "2025" (object-form colors from full-precision floats, object dimensions) while the legacy default stays byte-identical; import accepts both dialects unconditionally with dialect-insensitive diff normalization. Variable scopes + codeSyntax round-trip through $extensions["figma-console-mcp"]. figma_setup_design_tokens accepts DTCG brace references ("{color.blue.600}") that resolve to real aliases, including forward references. New tool figma_create_component_set builds a variant set from an axes matrix (or combines existing components) with Prop=Value naming, optional auto-arranged grid, and variant keys in the response — with count-scaled timeouts and rollback on failure. Plugin re-import required (code.js + ui.html changed — the component-set handler and relay). 183 tests across the token/write-tools suites.PLUGIN_VERSION embedded in the figma-desktop-bridge/code.js it ships — exactly what a re-import would install — and PLUGIN_VERSION itself now means "last release in which plugin files changed" (release tooling bumps it only when figma-desktop-bridge/ actually changed since the last tag). figma_get_status gains transport.websocket.bundledPluginVersion; figma_diagnose blames the right version. No new tools, no plugin re-import required (one-time exception: if you re-imported at v1.33.1, the banner appears once more — clear it with one final re-import). 1245 tests passing (9 new).ws 8.21.0, hono 4.12.27, undici 7.28.0, handlebars 4.7.9 — the lone critical, dev-only — plus lodash, path-to-regexp, basic-ftp, fast-uri, vite). wrangler deliberately held at 4.72.0 because newer versions require Node ≥22; the only residual audit findings are inside wrangler/miniflare's dev-time toolchain, which never ships in the npm package or Worker bundle. Supersedes dependabot PRs #81/#82/#84. No code changes, no API changes, no plugin re-import. 1236 tests passing unchanged./health auto-discovery reconnects restarted servers automatically (including one-dead-among-live, previously a permanent dead end); a version handshake banners the plugin UI when a re-import is needed and surfaces the mismatch in figma_get_status/figma_diagnose; cloud pairing config survives plugin reopen and its status line is derived + labeled (no more orphaned "Disconnected" under a green pill); all plugin copy is designer-language. The audit fixed 33 verified issues: lossless DTCG multi-mode round-trips, set-qualified cross-collection aliases, TIMING/EASING mapped to DTCG duration/cubicBezier, two cache-poisoning bugs (the "search returns 0 components" reports), a CSWSH origin bypass (startsWith → exact match), post-sleep reaper kill-safety (plus a shell-free /health probe with os.devNull so Windows curl can't false-negative a healthy sibling), branch-URL correctness across REST tools, and bridge-first figma_take_screenshot. figma_arrange_component_set now rearranges variants in place so placed instances survive. No new tools; plugin re-import required (code.js + ui.html changed — and the new handshake makes this the last one you have to discover on your own). 1236 tests passing (33 new).figma_generate_component_doc documented colors as raw hex (with — in the Figma Variable column) even when fills/strokes were bound to variables, while spacing tokens documented correctly. Two root causes — an id→name lookup that read the wrong keys (.id/.name instead of variableId/variableName), and variable names only ever being sourced from the Enterprise-only REST /variables/local endpoint (403 elsewhere). The generator now resolves names via the Desktop Bridge Plugin API (works on every plan) and threads them through the States, Color Tokens, and Spacing tables, so real token names like color/content/default and spacing/1 appear. No new tools, no arg-shape changes, no plugin re-import required. 1203 tests passing.figma_lint_design was flagging line height below 1.5× as an accessibility failure on hundreds of components. That misreads WCAG 1.4.12 Text Spacing, which requires content to support user spacing overrides without loss — not that designs ship at 1.5× — so a sub-1.5 line height is not a conformance failure. Line/paragraph-spacing checks are now scoped to multi-line text (single-line labels and buttons exempt); readability hints (text-size, line-height, letter-spacing, paragraph-spacing) are decoupled from the wcag group into an opt-in best-practice group, so the default audit (['wcag','design-system','layout']) and rules: ['wcag'] return genuine conformance only; and a new code-side text-spacing-support advisory in figma_scan_code_accessibility flags fixed-px typography — where 1.4.12/1.4.4 are actually verifiable. No new tools, no arg-shape changes; plugin re-import required to pick up the new audit behavior (bridge protocol unchanged, so an un-updated plugin stays compatible). 1196 tests passing.SIGTERM → SIGKILL (a hung server that ignores graceful shutdown can no longer survive), sweeps the range every 5 minutes via an unref'd periodic reaper, and a shutdown backstop prevents a server from zombifying in the first place. The redesigned Desktop Bridge plugin adds an auto-reconnect watchdog (re-probes every ~12s while disconnected), a context-aware Pause / Resume / Reconnect button, and a live server-count badge. No new tools; plugin re-import required (bridge ui.html + code.js changed). 1190 tests passing, including an integration test that spawns a real SIGTERM-ignoring process and asserts the reaper kills it.figma_execute. figma_set_fills / figma_set_strokes accept a variableId to bind a fill/stroke to a color variable via setBoundVariableForPaint (any plan, via the bridge). figma_set_text gains fontFamily / fontStyle with space-insensitive normalization (SemiBold → Semi Bold) and graceful Regular fallback. figma_instantiate_component pre-loads instance text fonts before applying overrides (fixes silently-skipped text overrides on non-Regular weights) and returns a warnings array for failed overrides. Also fixes a mixed-font crash in figma_set_text and a ui.html relay that was dropping new message fields. No new tools; plugin re-import required (bridge ui.html + code.js changed). Validated live; 1185 tests passing.figma_generate_component_doc now renders Figma component descriptions faithfully and reliably tags atomic-design level. Single-# headings in descriptions render as real sections (Usage Guidelines, Implementation Considerations, Accessibility Requirements, Content Configuration) instead of leaking as - # Heading list items; frontmatter description takes the first sentence instead of truncating on the word "Accessibility"; the generated Figma URL no longer doubles ?node-id=; and the component's atomic level (atom/molecule/organism/template) is auto-detected via a single ids=<node> file request + divider walk-back, with no dependency on library publishing. No new tools; plugin re-import not required.figma_get_design_system_kit now resolves variables bridge-first (Desktop Bridge / cloud relay → REST fallback) instead of calling the Enterprise-only Variables REST API directly. Non-Enterprise users no longer hit a 403 on the kit's token section when a bridge is connected, and a REST 403 now points the caller back to the bridge instead of dead-ending. 7 new tests, 1185 total passing. No new tools; plugin re-import not required.figma_get_library_component_by_key resolves any 40-char component key to full componentPropertyDefinitions + variants (with their published keys) + per-variant visual specs — without needing the source library file's URL. figma_get_library_variables lists library tokens via Plugin API (works on every Figma plan; the REST equivalent is Enterprise-only). figma_import_library_variable imports a library token to the current file so it can be bound to nodes. 27 new tests, 1178 total passing. Plugin re-import optional.module.exports for alias-only sets (now resolves alias chains to literal values); TypeScript module + JSON flat + JSON nested formatters emitted "{alias.path}" strings as literal values (now resolves); Tailwind v4 namespace-prefix doubling (--color-theme-color-X is now --color-theme-X). Adds resolveAliasChain public helper. 1151 tests still passing.figma_export_tokens. Seven new output formats: Tailwind v4 @theme inline, Tailwind v3 config, SCSS variables, TypeScript module, JSON flat/nested, Style Dictionary v3, Tokens Studio multi-file. Combined with DTCG + CSS variables, ships 10 fully-implemented output formats with zero third-party build-tool dependencies. Tool description updated, docs/tools.md table all-green. 22 new Jest tests, 1151 total passing.Phase 3.5: Stale-Content Audit to the release runbook so future releases get a strict pre-publish grep sweep across banners, tool descriptions, error messages, source comments, and tool-count consistency.figma_export_tokens + figma_import_tokens replace Style Dictionary and Tokens Studio's export pipeline. Canonical DTCG JSON + CSS custom properties. Diff-aware merge with round-trip ID preservation via $extensions["figma-console-mcp"]. Apply phase pushes hex-value edits back to Figma via the plugin bridge. Verified end-to-end against 713-token + 280-token design systems.figma_diagnose tool for designer-readable health checks. Every response tagged _mcp: "figma-console-mcp"; errors prefixed [figma-console-mcp] so attribution is unambiguous when running multiple Figma MCPs. Plugin status pill now reads Local · ready / Cloud · ready / Local + Cloud · ready. Net diff: −7,299 lines, plugin re-import optional.figma_diff_versions via plugin session buffer. Description and annotation edits made during a session now appear in diff output (REST API doesn't return these — bridged through the plugin's documentchange listener).scope_coverage object surfaces what figma_diff_versions does and doesn't track; always-on coverage warnings prevent silent invisibility on token-value changes and component-instance placements.Coming Next:
figma_import_tokens can ingest the same formats it exports. (The import-side apply expansion — creates, replace-gated deletes, alias-target updates — shipped in v1.34.0.)git clone https://github.com/southleft/figma-console-mcp.git
cd figma-console-mcp
npm install
# Local mode development
npm run dev:local
# Cloud mode development
npm run dev
# Build
npm run build
MIT - See LICENSE file for details.
Loading reviews...
GitHub checked 64h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.