
figmcp
io.github.irshadioPublished by GitHub account irshadiov1.6.0Updated Oct 24, 2026
Local Figma MCP server: frames to Flutter, React and HTML code, and design in Figma. No API limits.
Overview
Local MCP server that gives a coding agent the Figma file open in Figma Desktop, turning frames into Flutter, React or HTML code and letting the agent design…
- What you can do
- Read a node's design context: reference code, assets, screenshot and variables, plus layer tree metadata and screenshots
- Export assets and save or import full design exports as JSON snapshots
- Verify generated code by rendering it and comparing against Figma's render, with pixel diffs
- Create and edit designs in the open file by running Figma plugin API scripts, and place local images
- Search the file's design system and manage Code Connect mappings between design and code components
- Check connection status, pairing code, open file and selection
- When to use it
- Useful when you want a coding agent to implement Figma frames as Flutter, React or HTML + Tailwind code, or to generate and edit designs directly in an open Figma file, without Figma API tokens or plan limits.
- Requirements
- Node.js 18+ and Figma Desktop on macOS or Windows; the server runs locally over stdio and talks to a Figma development plugin over localhost WebSocket on port 3947. Setup registers the server and prints a pairing code that must be entered in the plugin. Optional environment variables configure the data folder, framework, Code Connect path and allowed origins.
Installation
In SourceWeft
- Open figmcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
[figmcp: design and code, locally]
[figmcp]
Design and code, locally.
Turn Figma frames into Flutter and React code, and let your coding agent design in Figma.
No Figma API calls. No rate limits.
[npm version] [Node.js version] [macOS and Windows]
[figmcp MCP server – quality and maintenance score on Glama]
Website · Docs · Installation · Tools · Changelog
figmcp is a local MCP server that gives your coding agent the Figma file you have open in Figma Desktop. A development plugin streams the file to a server on your machine over localhost, so reads never touch the Figma REST API: no access token, no quota, no rate limit.
- Design to code. Flutter widgets for Flutter projects, HTML + Tailwind for static sites, React + Tailwind for everything else, with the assets and a screenshot to compare against.
- Design in Figma. The agent creates and edits frames in the open file with Figma plugin API scripts, one undo step per script.
- Your components. Map design components to code components with Code Connect.
- Works offline. Read saved snapshots when the plugin is closed.
- Any plan. Works on every Figma plan, including the free Starter plan. No Dev Mode seat needed.
Works with Claude Code, Cursor, Claude Desktop and any MCP client that runs stdio servers.
Quick start
Needs Node.js 18+ and Figma Desktop on macOS or Windows.
1. Run setup
It registers the server with Claude Code, copies the Figma plugin to your home folder, and prints your pairing code and the config for other MCP clients.
2. Import the plugin (once)
In Figma Desktop, go to Plugins › Development › Import plugin from manifest… and choose:
On macOS, press ⌘ ⇧ G in the file picker and paste the path. On Windows, paste it into the File name box.
3. Pair and ask
Restart your coding agent. In Figma Desktop, run Plugins › Development › figmcp and enter the pairing code. The dot turns green once it's connected. Then select a frame and ask:
Keep the plugin window open while you work. Full guide: figmcp.web.app/docs/installation.
Usage
Design to code
Select a frame, or paste a Figma link that has a node-id:
Projects with a pubspec.yaml get Flutter widgets, and SVGs and images are saved into the asset folders the pubspec declares. Static sites get HTML + Tailwind, and everything else gets React + Tailwind. React output uses the real font families, declares the design's variables as CSS (with a Tailwind 4 @theme), writes repeated items as data with .map() and names reused text styles, names assets after their layers with copy commands for public/figma, turns prototype taps, layer names and placeholders into buttons, links, landmarks and inputs, draws phone frames as screens that fill the viewport and desktop frames as pages whose full-width sections stretch. Its classes work in Tailwind 3.4 and 4. The code is a reference that your agent adapts to your project. More →
Design in Figma
Open the file in Figma Desktop, run the plugin and ask:
The agent builds the design with use_figma and checks each step with a screenshot. Each script is one undo step. More →
Code Connect
Mapped instances come back as your own components. Mappings are saved in .figma-local/code-connect.json in your project. More →
MCP clients
Claude Code is registered by setup. Restart it and check with /mcp.
Cursor, Claude Desktop and other clients: add the config that setup prints. It looks like this, with paths for your machine:
Step-by-step for each client, on macOS and Windows: figmcp.web.app/docs/configuration.
Tools
Arguments for each tool: figmcp.web.app/docs/tools.
How it works
The plugin reads the open file with the Figma plugin API and runs the scripts your agent sends. The server turns that into code, assets, screenshots and metadata. When the plugin is closed, reads fall back to the newest saved snapshot. More →
Configuration
Set these in the env of your MCP client config.
Update
Then restart your coding agent and run the plugin again. The plugin updates itself, so there's no need to import it again.
Troubleshooting
- The dot stays grey: start your coding agent first, then run the plugin again.
- Lost the pairing code: run setup again, or ask your agent to run
whoami. use_figmacan't edit the file: switch the file from Dev Mode back to Design mode.
More fixes: figmcp.web.app/docs/troubleshooting. Still stuck? Open an issue with the output of whoami.
Development
To work on the site: cd web && npm install && npm run dev. To publish it: npm run deploy.
License
Figma is a trademark of Figma, Inc. This project is not affiliated with Figma, Inc.
Source: README.md at commit 22892c3
Tools
0Version history
2- v1.6.0LatestOct 19, 2026
- v1.4.2Oct 14, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts