figma-mcp-unified
Exports Figma design tokens and style values as CSS.
Exports design tokens as Dart and supports generating Flutter/Dart code from Figma designs.
Enables AI apps to read, create, and edit Figma files: inspect pages, frames, components, styles, variables, and design systems; generate screens with auto layout; run design-system lint and accessibility checks; and export tokens or code. Works through the Figma plugin, REST API, and Dev Mode.
Generates Flutter code from selected Figma frames and supports exporting design tokens for Dart/Flutter.
Generates React code from selected Figma frames.
Exports design tokens as Swift and can generate SwiftUI code from selected Figma frames.
Exports Figma design tokens as TypeScript.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π¨ Figma MCP Unified
Talk to your AI. It designs in Figma.
Read, create and manage Figma designs from Claude, Cursor, VS Code, Windsurf, Gemini, Codex and Hermes: one connection for every AI app.
π Get started Β· π¬ What to ask Β· π§― Troubleshooting Β· π§ Developers
β¨ What it does
π See your designs
Your AI reads pages, frames, colors, fonts and spacing, and even looks at screenshots of your work.
βοΈ Create screens
"Make a login screen for iPhone" becomes a real, editable Figma frame with auto layout, in one go.
π οΈ Edit anything
Colors, text, sizes, layout, components, variants, prototypes, FigJam boards and tables.
π¨ Run your design system
Health score, lint, accessibility check, color and spacing variables, styles, component docs.
π» Design β code
Get code-ready details, or export tokens to CSS, Tailwind, SCSS, JSON, TypeScript, Swift, Flutter.
π Works everywhere
Every major AI app, on Mac, Windows and Linux, for files in Figma Desktop or the browser.
Related MCP server: AI Agents Talk to Figma MCP
π§ How it works
flowchart LR
AI["π€ Your AI app<br/>Claude Β· Cursor Β· VS Code<br/>Windsurf Β· Gemini Β· Codex Β· Hermes"]
MCP["π¨ Figma MCP Unified"]
P["π₯οΈ Plugin in Figma Desktop<br/>read + write, no limits"]
R["π Figma REST API<br/>read any file, incl. browser"]
D["π» Figma Dev Mode<br/>code-ready details"]
O["βοΈ Figma's official server<br/>edit browser files"]
AI --> MCP
MCP --> P
MCP --> R
MCP --> D
AI -.-> OWhat's an "MCP"? It's a plug that lets an AI app use another app. This project is the plug between your AI app and Figma. It automatically picks the best way to reach your file.
π What you need
You need | How to check / get it | |
π» | A Mac or Windows computer | Linux works too, see browser files |
π¨ | Figma Desktop (free) | figma.com/downloads, then log in |
π’ | Node.js 20 or newer | In Terminal type |
π¦ | Git (optional) |
|
π€ | An AI app | Any one from the list below |
Terminal is the app where you type commands. On a Mac press β Space, type Terminal and press Enter. On Windows press β Win, type PowerShell and press Enter.
π Set it up in 5 steps
β±οΈ About 10 minutes, one time only.
1οΈβ£ Download it
Paste this into Terminal and press Enter:
git clone https://github.com/Soumen-Developer/figma-mcp-unified.git ~/figma-mcp-unifiedOn this GitHub page click the green Code button β Download ZIP. Unzip it, rename the folder to figma-mcp-unified and move it to your home folder.
2οΈβ£ Install it and connect your AI apps
cd ~/figma-mcp-unified
npm run setupThis takes 1β3 minutes. It installs everything and adds Figma to every AI app on your computer. At the end you'll see:
claude-code configured ...
cursor configured ...
vscode skipped not installedβ configured means it's done for that app Β· βοΈ skipped means that app isn't installed (that's fine) Β· πΎ your old settings are backed up first.
3οΈβ£ Add the plugin to Figma
The plugin is the small piece that runs inside Figma so the AI can work on your design.
Open Figma Desktop and open any design file.
Click the Figma menu (top-left) β Plugins β Development β Import plugin from manifestβ¦
Pick this file:
figma-mcp-unifiedβpluginβmanifest.json
On a Mac, pressβ β§ G in the file window, paste ~/figma-mcp-unified/plugin/manifest.json and press Enter.
Pick the file inside the figma-mcp-unified folder. If you tried other Figma bridges before, Figma may also show "Figma MCP Bridge". That's a different plugin and it won't connect. The right one is called Figma MCP Unified.
4οΈβ£ Start the plugin in your file
In your design file: Figma menu β Plugins β Development β Figma MCP Unified
A small window opens. Wait for π’ WebSocket Connected.
Leave that window open while you work. You can shrink it with the arrow button.
5οΈβ£ Restart your AI app and say hi
Close and reopen your AI app, then type:
Check my Figma connection with figma_status and tell me what you can do.If it replies with your file name, π you're all set!
π Every day
Three things must be on for the AI to work in Figma:
Checklist | How | |
1 | π¨ Figma Desktop is open with your file | Just open it |
2 | π’ The plugin runs in that file and says Connected | Plugins β Development β Figma MCP Unified |
3 | π€ Your AI app is open | The connection starts with your AI app |
Pro tips
π±οΈ Select something in Figma, then say "the selected frame". The AI sees your selection.
π Or paste a link: right-click a frame β Copy link to selection β paste it in the chat.
πΈ Ask it to check its work: "show me a picture of what you made".
β©οΈ Oops? Press β Z / Ctrl Z in Figma. Undo works for AI changes too.
π¬ What can you ask?
Copy any of these into your AI app.
Describe the selected frame: layout, colors, fonts and spacing.
Show me a picture of the selected frame.
List all the pages and main frames in this file.
Which components does this file have?
Create a mobile login screen (iPhone size) with a title, email and password fields and a blue Sign in button.
Create a desktop landing page (1440 wide) for a coffee shop: header with menu, hero section with a button, 3 feature cards and a footer.
Make the same page for tablet and iPhone and put them next to the desktop one.
Use the components and colors that already exist in this file.
π Screen sizes it knows: desktop 1440 Β· desktop-hd 1920 Β· laptop 1280 Β· tablet 834 Β· tablet-landscape Β· mobile-web 390 Β· iphone 393 Β· iphone-pro-max 440 Β· iphone-se 375 Β· android 412 Β· android-compact 360 Β· ipad-mini Β· watch
Make all buttons on this page 12px rounded and blue #2563EB.
Change the title text to "Welcome back" and make it bold.
Turn this frame into auto layout with a 16px gap and 24px padding.
Rename the layers in the selected frame so they describe what they are.
Give my design system a health score and tell me the top fixes.
Check this page for problems (colors not using variables, missing text styles, bad names).
Check if the text is readable (WCAG contrast) and if buttons are big enough to tap.
Create color variables: primary #2563EB, secondary #9333EA, with Light and Dark modes.
Export my colors and spacing as a Tailwind config to
tailwind.tokens.js. (also CSS, SCSS, JSON, TypeScript, Swift, Dart/Flutter)Write documentation for the Button component.
Compare the Button component in Figma with
src/components/Button.tsx.
Build the selected frame in React with Tailwind.
Make this screen in SwiftUI. / β¦in Flutter.
Make a table with 4 columns: Task, Owner, Status, Due date.
Add a sticky note for each of these ideas: β¦
π€ Supported AI apps
npm run setup connects all of these automatically if they're installed:
App | Our server | Figma's official server (for browser files) |
Claude Code | β | β turned on automatically |
Claude Desktop | β | β add Figma under Settings β Connectors |
Cursor | β | β |
VS Code (Copilot) | β | β |
Windsurf | β | β |
Gemini CLI | β | β |
Codex | β | β add it yourself if your version supports remote servers |
Hermes | β | β |
Using another app? See manual setup.
π Files open in the browser
Figma doesn't run plugins that are still in development inside the browser, so pick one of these:
You want to⦠| Do this |
βοΈ Read and edit (easiest) | Open the same file in Figma Desktop and run the plugin (steps 3β4). |
π Only read a browser file | Set up a Figma token (below), then paste the file's link into your chat. |
βοΈ Edit a browser file, or you're on Linux | Use Figma's official server (named |
In Figma: click your avatar β Settings β Security β Personal access tokens β Generate new token.
Give it read access to file content, comments and variables. Copy the token (it starts with
figd_).In Terminal (put your token in place of
figd_xxx):cd ~/figma-mcp-unified FIGMA_PAT=figd_xxx node scripts/install.mjs --save-pat
The token is saved only on your computer, in a private file.
Figma limits how often a token can be used. On free plans and View/Collab seats that's only a few times a month, so use the desktop plugin when you can. It has no limits.
π§― Something not working?
Problem | Fix |
AI says "No plugin connected" | Open your file in Figma Desktop β Plugins β Development β Figma MCP Unified and wait for Connected. |
Plugin window says Disconnected | 1. Make sure your AI app is open. 2. Close the plugin and start it again. 3. Check it's Figma MCP Unified, not "Figma MCP Bridge". |
Plugin isn't in the menu | Do step 3 of setup again with |
AI doesn't know about Figma | Restart the AI app. Still nothing? Run |
It changed the wrong file | Say which file: "in the file called X", or paste its link. |
"Rate limit" message | That's the Figma token limit. Use the desktop plugin instead. |
"Code context" needs a Dev Mode seat | That feature needs a Figma plan with Dev Mode. Ask for "design context" instead. That one works on every plan. |
A font looks wrong | Missing fonts fall back to Inter. Install the font, or ask "list available fonts". |
Undo the AI's changes | β Z in Figma, or File β Show version history. |
Remove this project | Run |
Still stuck? Ask your AI:"Run figma_status and explain what's wrong."
π Safety
π― The AI can only change files where you started the plugin.
ποΈ Deleting layers needs an extra confirmation.
π§ͺ Running custom code in Figma (
run_script) stays off unless you turn it on.π Your Figma token never leaves your computer (
~/.figma-mcp-unified/config.json, readable only by you).πΎ Every settings file is backed up before setup changes it.
π§ For developers
Route | Read | Write | Browser files | Needs |
Plugin bridge ( | β | β | β until the plugin is published | Figma Desktop + plugin running |
Figma REST API | β | comments | β |
|
Figma Desktop Dev Mode MCP ( | β code context | β | β | Seat with Dev Mode |
Figma official remote MCP ( | β | β
( | β | Figma login |
Several AI apps can run at the same time: the first server becomes the leader that the plugin connects to, and the others route through it. Read tools fall back to the REST API automatically when the plugin isn't connected and a Figma URL is passed as fileKey.
Start Β·
figma_statusparse_figma_urllist_filesRead Β·
get_documentget_nodeget_nodesget_childrenget_selectionget_metadataget_layout_treeget_design_contextget_stylesget_local_stylesget_variable_defsget_local_variablessearch_nodessearch_componentssearch_stylessearch_variablesget_prototype_connectionstrace_prototype_flowget_screenshotsave_screenshotsview_nodeREST Β·
rest_get_filerest_get_nodesrest_export_imagesrest_get_componentsrest_get_stylesrest_get_variablesrest_get_commentsrest_post_commentrest_get_versionsrest_list_filesDev Mode MCP Β·
get_code_contextdesktop_mcp_toolsdesktop_mcp_callCreate Β·
build_screencreate_framecreate_textcreate_shapecreate_ellipsecreate_linecreate_svgcreate_imagecreate_sectioncreate_pagecreate_componentcreate_component_from_nodecombine_as_variantscreate_instanceimport_html_layerslist_fontslist_componentsEdit Β·
set_node_propertiesset_text_contentset_text_propertiesset_text_styleset_fillsset_solid_fillset_gradient_fillset_strokesset_stroke_propertiesset_corner_radiusset_effectsset_auto_layoutset_layout_alignset_node_constraintsset_size_limitsset_clips_contentresize_nodesmove_nodesset_rotationreorder_nodeclone_nodesduplicate_nodesduplicate_with_offsetgroup_nodesungroup_nodeungroup_nodesreparent_nodesmove_to_pagealign_to_griddistribute_horizontallydistribute_verticallyplace_belowplace_right_offit_to_contentswap_instancedetach_instancedelete_nodesrun_script(opt-in)Design system Β·
design_system_reportlint_designaudit_accessibilityexport_tokensimport_tokenscreate_variable_collectioncreate_variableset_variableunbind_variableset_variable_moderename_variabledelete_variablesdelete_variable_collectionrename_variable_collectionadd_moderename_modedelete_modecreate_paint_stylecreate_text_styleapply_styleapply_paint_styledelete_styleset_descriptiongenerate_component_doccheck_design_parityPages & prototype Β·
set_current_pagerename_pageduplicate_pagedelete_pageset_reactionsadd_reactionremove_reactionset_flow_starting_point+ motion/keyframe tools (beta)FigJam Β·
create_stickyset_stickycreate_connectorset_connectorcreate_shape_with_textset_shape_typeset_sectioncreate_tableset_table_celltable row/column toolscreate_code_blockset_code_blockcreate_link_preview
AI apps also receive usage guidance as MCP server instructions; Claude Code and Hermes additionally get the skill in skills/figma-unified/SKILL.md.
node scripts/install.mjs options: --dry-run Β· --only cursor,claude-code Β· --uninstall Β· --no-official Β· --enable-run-script Β· --save-pat (with FIGMA_PAT set) Β· --node /path/to/node
Manual config for any MCP app:
{
"mcpServers": {
"figma-mcp-unified": {
"command": "node",
"args": ["/full/path/to/figma-mcp-unified/server/dist/index.js"]
}
}
}Setting | Default | What it does |
| β | Figma token for the REST route (or |
|
| Server β plugin port (if changed, rebuild the plugin with |
|
|
|
|
| Figma Desktop's Dev Mode MCP server |
| off |
|
npm run deps # install dependencies (server + plugin)
npm run build # build server and plugin
npm run typecheck # type-check the plugin
npm run smoke # start the server, list tools, call figma_statusserver/src/
tools.ts base tools (gethopp)
unified-tools.ts status, REST, Dev Mode, build_screen, design-system tools
backends/ REST API + Dev Mode MCP clients
magic-spells/ ported magic-spells tools
tokens.ts token export formats
plugin/src/main/
code.ts plugin core
unified.ts screen builder, lint, accessibility, tokens
magic-spells/ ported plugin handlers
scripts/ installer, smoke test
skills/ AI agent skillBuilt on gethopp/figma-mcp-bridge Β· magic-spells/figma-mcp-bridge Β· html-figma by Sergei Savelev. All MIT, see THIRD_PARTY_NOTICES.md.
MIT Β© Soumen-Developer
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Keeps Figma in sync with your Storybook and sends designers' changes to your coding agent.
Access and maintain design system docs, tokens, components, skills, and contexts across any project.
Give AI agents your deeepSpace design system: components, tokens, styles and code mappings.
Read-only design skills, components and tokens from your Alpy library for any AI agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to interact with Figma to create, read, and manage designs using the Figma REST API and a dedicated plugin. It supports advanced features like UI generation from text, webpage reconstruction in Figma, and design token synchronization with codebases.20MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, analyze, and modify Figma designs, including bulk style updates, accessibility audits, comment triage, and code generation from designs.844 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, create, edit, and organize Figma documents directly through a local plugin bridge, without needing a Figma AI subscription.3Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to read Figma designs and modify them programmatically, including creating and styling elements, editing text, managing layout and components, exporting images, and working with annotations and prototype connections.441MIT