
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 中算繪並與設計做像素比對,直到收斂。