figmcp
MCP server by irshadio Community
Connects Figma Desktop to your coding agent so it can turn frames into Flutter, React or HTML code and edit designs. Reads go over localhost, not the Figma REST API.
Install figmcp
Built from the published package, never by AI.
claude mcp add figmcp -- npx -y @irshad.io/figma-local-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"figmcp": {
"args": [
"-y",
"@irshad.io/figma-local-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"figmcp": {
"args": [
"-y",
"@irshad.io/figma-local-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"figmcp": {
"args": [
"-y",
"@irshad.io/figma-local-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add figmcp -- npx -y @irshad.io/figma-local-mcp{
"mcpServers": {
"figmcp": {
"args": [
"-y",
"@irshad.io/figma-local-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add figmcp npx -y @irshad.io/figma-local-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the figmcp block.
About
figmcp is a local MCP server that gives a coding agent access to the Figma file open in Figma Desktop. Its tools turn Figma frames into Flutter widgets, HTML with Tailwind, or React with Tailwind, along with assets and a screenshot to compare against. The agent can also create and edit frames in the open file, and map design components to code components with Code Connect.
A development plugin streams the file to a server on your machine over localhost, so reads do not use the Figma REST API. The source states there is no access token, quota or rate limit. Setup runs through npx, and the server works with Claude Code, Cursor, Claude Desktop and other MCP clients that run stdio servers. It works on every Figma plan, including the free Starter plan, and needs no Dev Mode seat.
Written from the project's README and checked against it.
Tools it gives your assistant
get_design_contextReturns reference code, assets, a screenshot and variables for a node. The main tool.get_metadataReturns the layer tree as XML with ids, types, names, positions and sizes.get_screenshotReturns a PNG of a node or the current selection.get_variable_defsReturns variables and styles used by a node, resolved for its mode.download_assetsExports renders, original image fills and vector SVGs.verify_codeRenders generated code and compares it with Figma's render, including a diff image.use_figmaRuns Figma plugin API scripts to create and edit designs, one undo step per script.search_design_systemLists components, styles and variables of the open file to reuse while designing.place_imagePlaces a local PNG, JPG, GIF or SVG into the open file as a layer or fill.get_code_connect_mapShows which design instances map to which code components.
What you need
- Node.js 18 or later
- Figma Desktop
- macOS or Windows
- A coding agent or MCP client that runs stdio servers, such as Claude Code or Cursor
Try asking
- implement the selected Figma frame as a Flutter screen
- compare your screen with the Figma screenshot and fix the differences
- design a settings screen for a 390x844 phone in Figma
Good to know
- Keep the plugin window open while working.
- When the plugin is closed, reads fall back to the newest saved snapshot.
- use_figma cannot edit the file while it is in Dev Mode; switch back to Design mode.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to figmcp
All alternatives →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
Compare with Appllama, codesign or Pascal 3D Editor
figmcp: common questions
Does figmcp use the Figma REST API?
No. The source says reads come from a plugin that streams the open file to a local server, so they never touch the Figma REST API.
Which frameworks does figmcp generate code for?
The source says Flutter widgets for projects with a pubspec.yaml, HTML with Tailwind for static sites, and React with Tailwind for everything else.
Can it work offline?
The source says it can read saved snapshots when the plugin is closed.
How do I install figmcp?
In Claude Code run claude mcp add figmcp -- npx -y @irshad.io/figma-local-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is figmcp the official server?
figmcp is a community project by irshadio, not verified by a company domain.
Is figmcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is figmcp safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to figmcp?
Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.
Does figmcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
