
Figma Bridge Mcp
io.github.nguyendinhphongdx由 GitHub 账号 nguyendinhphongdx 发布v2.6.1更新于 Nov 11, 2026
Bidirectional Figma MCP — AI draws UI on Figma canvas, reads designs back
发布方自己的服务:Figma MCP Server
概览
把 AI 助手连接到你在 Figma 桌面版中打开的文档,让它直接在画布上绘制界面,并把设计读回为数据和代码。
- 可以做什么
- 检查连接状态、当前文件、页面与插件会话
- 加载 figma.* API 参考以及颜色、文字样式、变量与组件的设计规则表
- 在沙箱中运行 JavaScript 来创建和修改设计内容:画框、文本、矢量、图片、组件、变量、样式与原型交互
- 提取设计数据:节点树、解析后的设计令牌、CSS、组件映射、截图以及 SVG/PNG 导出
- 按类型、名称、颜色、字体或尺寸搜索与扫描节点,并可通过会话指定某个已打开的文件
- 适用场景
- 适合在 Figma 桌面版中工作、希望助手生成或迭代布局、套用现有设计系统,或把选中的画框转成 Tailwind、React、Swift 等代码的场景。
- 运行要求
- 以本地 Node.js 进程通过 stdio 运行,通常用 npx 启动;必须使用 Figma 桌面版,因为网页版无法访问 localhost。需要在 Figma 桌面版中从 manifest 导入并运行配套插件。未声明需要 Figma API 密钥或账号凭据。可选环境变量用于设置桥接端口、绑定地址、长轮询时长和私有地址抓取开关。
安装
在 SourceWeft 中
- 打开 控制台中的 Figma Bridge Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Let AI draw on your Figma canvas — and read your designs back as code.
A bidirectional Model Context Protocol bridge for Figma Desktop.
No Figma API key. No cloud. Everything runs on localhost.
[npm] [CI] [Node] [MCP Registry] [License: MIT]
Quick start · How it works · Tools · Security · Troubleshooting · Changelog
Not affiliated with, endorsed by, or sponsored by Figma, Inc. "Figma" is a trademark of Figma, Inc., used here only to describe compatibility.
Overview
figma-bridge-mcp connects an AI assistant to the document you have open in Figma Desktop.
Requires Figma Desktop. The plugin talks to the server over
localhost, which Figma's web app does not allow.
How it works
Three parts cooperate: your AI client, the MCP server (Node), and the Figma plugin (inside Figma Desktop). The plugin polls the server, so no inbound connection to Figma is ever needed.
One round trip
The server holds each poll open for up to 8 s and answers the moment work is queued, so latency is typically under 100 ms.
Several Figma files at once
Each open plugin instance registers its own session. Pass the optional sessionId to figma_write / figma_read to target a specific file; if that session is not connected the call fails instead of writing into another file.
Quick start
1 · Add the MCP server to your client
Claude Code
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor
Edit .cursor/mcp.json (project) or ~/.cursor/mcp.json (global) with the same mcpServers block shown for Claude Desktop.
VS Code / GitHub Copilot
Edit .vscode/mcp.json, or add to settings.json:
Windsurf
Edit ~/.codeium/windsurf/mcp_config.json with the same mcpServers block shown for Claude Desktop.
Antigravity (Google)
Agent panel "…" menu → Manage MCP Servers → View raw config, then add the same mcpServers block to mcp_config.json.
From source
Restart your client after editing its config. MCP servers load only at startup.
2 · Install the Figma plugin
- ⬇ Download the plugin and unzip it anywhere.
- In Figma Desktop: Plugins → Development → Import plugin from manifest… and pick
manifest.json. - Run Plugins → Development → Bridge MCP for Figma.
The plugin window shows a green dot once it reaches the server.
3 · Connect and design
Tell your assistant:
"Connect to figma-bridge-mcp"
It calls figma_status and confirms the file, page and plugin version. Then just describe what you want:
"Draw a mobile login screen with Apple and Google sign-in buttons."
Prompt ideas and tips
- Name the style (
dark,glassmorphism,minimal white) and the platform (mobile390×844,tablet768×1024,desktop1440×900). - Iterate: "make the buttons bigger" works on existing nodes — the AI reads before it modifies.
- Use selection: select a frame, then ask "improve this design".
Updating
Restart your client, then re-import manifest.json from the printed path (Plugins → Development → Manage plugins in development). The Figma plugin does not auto-update. Run figma_status and check that pluginVersion matches.
Tools
The server exposes five MCP tools.
Design to code
figma_write — 47 operations
Code runs in a sandbox with the figma object; each call is isolated, so re-query node IDs at the start of every call.
Styling properties on create / modify
applyVariable binds FLOAT, COLOR, STRING and BOOLEAN variables to fills, strokes, geometry, corner radii, auto-layout spacing, typography, font family/style, text content and visibility.
figma_read — 19 operations
Hidden layers are skipped by default; pass includeHidden: true to get_selection, get_design, search_nodes or scan_design to include them.
Working with an existing design system
Read before you draw, then bind to what exists:
Prefer figma.instantiate({ componentId, parentId, overrides }) over redrawing existing components, and pin frames to a mode with setFrameVariableMode to preview Light and Dark side by side. The complete reference is one figma_docs call away.
Security model
The bridge has no login, so access is controlled at the network edge, and figma_write code is treated as having your user's trust level.
Found a vulnerability? See SECURITY.md.
Configuration
Troubleshooting
Project layout
Development
Plugin files share one scope when concatenated; their order lives in scripts/lib/plugin-files.mjs. See CLAUDE.md for the invariants worth knowing before you change anything.
Releasing: bump version in package.json, rename the top CHANGELOG.md heading to ## [x.y.z] — date, push to main. CI runs the tests, publishes to npm, tags the commit, creates a GitHub Release with the plugin zip attached, and updates the MCP Registry.
License
MIT © nguyendinhphongdx. Forked from TranHoaiHung/figma-ui-mcp; the original copyright notice is preserved in LICENSE.
来源:README.md,提交 8212237
工具
0版本历史
1- v2.6.1最新Nov 11, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Figma 集成

Figma MCP Server
com.figma.mcp官方发布者
Figma 官方远程 MCP 服务器,为 AI 编程助手提供 Figma 设计上下文,用于生成和更新代码。

FigmaMCP
由 GitHub 账号 MrCoder 发布
一个本地 Mac MCP 服务器,通过 Figma 插件让 Claude Code 或 Codex 读取并编辑你当前打开的 Figma 文件。

Figma Vector MCP
由 GitHub 账号 workingmodel 发布
本地 MCP 服务器加 Figma 插件,让助手在 Figma 画布上创建和编辑可完全编辑的矢量节点、形状、文本与组件。

Figma CodeKit MCP
由 GitHub 账号 Mehmoodqureshi 发布
把 Figma 画板转换为 HTML、React 或 Next.js 代码,并将渲染结果与设计稿做像素比对,反复迭代直至收敛。

figma-mcp
由 GitHub 账号 Mehmoodqureshi 发布
把 Figma 画板确定性地转换为 HTML、React 或 Next.js 代码,再在 Chromium 中渲染并与设计做像素比对,直到收敛。