
Figma Edit Mcp
io.github.neozhehan由 GitHub 帳號 neozhehan 發布v2.3.3更新於 Oct 24, 2026
Programmatically read, create, and modify Figma designs via MCP.
發布方自己的服務:Figma MCP Server
概覽
一個本機 MCP 伺服器,透過 Figma 外掛把 AI 助理接入 Figma,讓助理在安全檢查下讀取、建立和修改設計元素。
- 可以做什麼
- 檢視頁面和節點,包括遞迴讀取屬性與綁定變數,並把編輯器檢視導覽到頁面或節點。建立形狀、畫框、文字、SVG 節點、元件、實例和元件集。變換、重新命名、複製、刪除、群組、扁平化和重新掛載節點,並設定填色、描邊、圓角、效果、自動排版和函式庫樣式。編輯文字內容與排版,並管理共用樣式、元件屬性、實例覆寫和變數。讀取和寫入 Dev Mode 標註與原型互動,並把節點匯出為 PNG、JPG、SVG 或 PDF。
- 適用情境
- 適合讓助理執行重複或批量的 Figma 工作,例如重新命名圖層、批次調整樣式、替換整頁文字,或在元件實例之間複製覆寫,同時由你保留設計判斷。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js。需要 Figma 桌面應用程式,並從 npm 套件匯入隨附外掛,還需另外啟動並保持運作的 WebSocket 橋接程序。助理必須先呼叫 channel_join 才能使用其他工具。未宣告 API 金鑰或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Figma Edit Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Figma Edit MCP
[npm version] [npm downloads] [CI] [Featured by IDEO]
Connect AI assistants to Figma via Model Context Protocol to read designs, create and modify elements, and manage design systems programmatically.
This plugin empowers your AI assistant to become a Figma assistant, executing design updates Safer, Cleaner, and Faster than a human ever could.
This plugin allows you as a Designer to focus purely on creative decision-making, leaving the error-prone & repetitive manual changes to the automated systems.
🏆 Featured by IDEO: Letting AI edit live Figma files without trusting it to behave
📖 Documentation: neozhehan.github.io/figma-edit-mcp
What This Does for You
The project has three goals: Safer, Cleaner, and Faster.
- 🛡️ Safer: The plugin checks every action the AI requests before that action runs. If an action would damage the file, the plugin refuses it and tells the AI why. For example, the plugin will not delete a color variable while layers still use it. Figma itself does not warn you when you delete a variable that is in use — the deletion leaves broken references that are very hard to find afterwards.
- ✨ Cleaner: Because damaging actions are refused, the file does not accumulate broken references or leftover values. Bulk updates cover every layer that matches your request, not just the layers a person remembers to check.
- ⚡ Faster: The AI applies one change across hundreds of layers in seconds. For example, it can replace a product name in every text layer on a page, or copy the overrides from one component instance to fifty others.
These goals support each other: when the plugin refuses mistakes, the file stays consistent, and a consistent file is easier for both you and the AI to work with.
Read the full reasoning behind these goals →
What the AI Cannot Do to Your File
AI assistants sometimes invent things. An AI can name a layer that does not exist, or misremember which layer it was editing. This plugin does not depend on the AI being right. The plugin checks every edit itself, inside Figma, and refuses any edit that fails a check. The AI cannot skip these checks.
What the plugin enforces:
- The AI can only edit the area you chose. When you connect, you choose one page or one frame for the session. The plugin refuses any edit outside that area. If you choose no area, the AI can read the file but cannot edit any layers.
- Every edit must name its exact target layer. The plugin compares the layer name the AI supplies with the real layer's name. If the names do not match, the plugin refuses the edit. This stops the AI from editing a layer it invented or misremembered.
- A bulk edit with one bad item changes nothing. The plugin validates every item in a bulk edit before it changes the first one. If any item fails validation, the plugin rejects the entire bulk edit.
- Protected layers stay protected. The plugin refuses edits to locked layers and to assets from shared libraries. It also refuses to add, delete, or move layers inside a component instance.
- The AI cannot delete its own working area. The plugin refuses any action that would delete or replace the page or frame you assigned for the session.
- Variables and styles require separate permission. Editing your variables or styles requires its own checkbox in the plugin, and both checkboxes are off by default. You grant that permission; the AI cannot grant it to itself.
One honest limit: the plugin checks where an edit happens and which layer it touches. It cannot check whether the edit is the one you wanted. A wrong edit that follows all the rules will go through. So you review the AI's work the same way you would review a colleague's work.
The exact rules, and the conditions under which each one holds, are written down in SAFETY.md. That document is for developers. (Your AI assistant loads the same rules at runtime via the figma-edit skill or the figma-edit://guide/* resources.)
How the Work Is Divided
You do not need to know every Figma feature to direct this system. The work splits three ways:
- You decide what the design should be. You describe the change in plain language, and you judge the result. You do not need to know which Figma menu or panel performs the change.
- The AI assistant turns your request into specific Figma operations and carries out the repetitive work across many layers.
- The plugin runs inside Figma, checks each operation, and refuses the unsafe ones.
The AI contributes scale. The plugin contributes protection. You contribute the design judgment.
Supported AI Integrations
- Cursor
- GitHub Copilot (VS Code)
- Google Antigravity
- Claude Code (VS Code & CLI)
- Claude Desktop (Chat, Cowork & Code)
- LM Studio
Quick Start
The quickest way to run Figma Edit MCP is directly from the NPM registry. You do not need to clone this repository.
1. Configure your AI assistant
Add the server to your AI assistant's MCP configuration:
The config file location depends on your host — see Integration-Specific Setup below. Bun users can substitute bunx for npx; both resolve the same package.
2. Start the WebSocket bridge
In a terminal, start the bridge that connects the MCP server to the Figma plugin. Keep this terminal running:
3. Install the Figma plugin
The Figma plugin ships inside the NPM package. Install the package once to materialize the plugin files on disk:
Then in the Figma desktop app:
- Open Plugins → Development → Import plugin from manifest…
- Select
node_modules/figma-edit-mcp/figma_plugin/manifest.jsonfrom the directory above.
The plugin is now available under Plugins → Development in any Figma file.
4. (Optional) Install the agent skill
The package also ships a cross-tool skill that teaches your agent the server's safety constraints, error recovery, and tool selection — loaded on demand, so it costs almost nothing until needed. Agents that support the open SKILL.md standard (Claude Code, GitHub Copilot, OpenAI Codex, Cursor, Gemini CLI, Google Antigravity) discover it once it's in their skills directory:
Clients that don't support skills can still reach the same guidance over the MCP connection as resources under figma-edit://guide/* — no install required.
Running from a local clone? See CONTRIBUTING.md for the contributor-only --local development workflow.
Integration-Specific Setup
Paste the JSON snippet from the Quick Start into your host's MCP config file:
Manual Configuration
If you prefer to edit your host's MCP config directly, paste this snippet into the appropriate config file:
Running from a local clone? See CONTRIBUTING.md for the --local workflow.
Contributing
For local development — building from source, running the bridge from a clone, and the --local integrate workflow — see CONTRIBUTING.md.
Windows + WSL Guide
To allow Figma (running on Windows) to connect to the bridge (running inside WSL), the bridge needs to listen on 0.0.0.0 instead of localhost:
Then point the Figma plugin's WebSocket address at your WSL instance's IP.
Usage
- Start the WebSocket bridge:
npx -y --package figma-edit-mcp figma-edit-mcp-socket - Configure the MCP server in your AI assistant (see Integration-Specific Setup)
- Open Figma and launch the Figma Edit MCP plugin from Plugins → Development
- Use the
channel_joinMCP tool to establish communication - Use your AI assistant to interact with Figma via the available MCP tools
MCP Tools
Tools are grouped into a two-level, underscore-separated namespace (group_action). Reads are *_list / *_info; writes use verb leaves. Anything that mutates a node lives under node_*.
page — pages
node — read, transform, and style any node
create — make new nodes
style — shared styles
text — text content & typography
component — components & variants
instance — component instances
variable — variables & collections
annotation — Dev Mode annotations
reaction — prototype reactions
channel — connection
MCP Prompts
Built-in prompts guide complex multi-step design tasks:
Best Practices
When working with Figma Edit MCP:
- Always join a channel first with
channel_joinbefore sending any other commands.
Notes
Automatic Node ID Normalization
Node IDs copied from Figma URLs use dashes (20485-41), but the plugin API expects colons (20485:41). The MCP server automatically converts dash-format IDs before forwarding, so either format works without manual intervention.
Acknowledgements
Built on prior work by sonnylazuardi and the contributors to grab/cursor-talk-to-figma-mcp. Thank you for the foundation this project builds on.
Thanks to @dusskapark for the following contributions:
- Bulk text content replacement — Batch-update text across large designs efficiently. Demo video
- Instance override propagation — Propagate component instance overrides from a source to multiple targets in a single command, dramatically reducing repetitive design work. Demo video
License
The MIT License (MIT)
Copyright (c) 2025 sonnylazuardi
Copyright (c) 2026 Neo Product LLC
來源:README.md,提交 5d8489c
工具
0版本歷史
1- v2.3.3最新Sep 16, 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 設計脈絡,用來產生與更新程式碼。

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

figma-vault
由 GitHub 帳號 NBhey 發布
本機 MCP 伺服器,讓助理讀取一次性拉取到本機儲存庫的 Figma 設計,可離線使用,不需 Figma 權杖,也不受速率限制。