
Figma Mcp Rust
io.github.nntoanv0.1.0更新於 Oct 2, 2026
Figma MCP server in Rust: plugin bridge, no API token, no rate limits, 73 tools.
概覽
讓助理透過 Figma 外掛橋接讀取與修改即時 Figma 設計,提供 73 個工具,且不需要 Figma API 權杖。
- 功能
- 這是一個本機 MCP 伺服器,連線到在 Figma 桌面版中執行的 Figma 外掛,提供 73 個讀寫設計檔的工具。讀取類工具涵蓋頁面樹、節點、選取範圍、樣式、變數、元件、字型、標註與原型互動。寫入類工具可建立與修改畫框、文字、形狀、元件、樣式、變數、頁面與原型互動,並可刪除節點、樣式、變數與頁面。匯出類工具可產生截圖、PDF,以及 JSON 或 CSS 格式的設計權杖,內建提示詞也提供設計工作流程建議。
- 適用情境
- 適合讓助理直接檢視或編輯 Figma 檔案的情境,例如把文字變成設計、產生設計權杖、批次重新命名圖層或稽核樣式。由於走外掛橋接而非 REST API,也適合想避開 Figma API 呼叫次數限制的使用者。
- 執行需求
- 透過 stdio 在本機執行,使用 npx 從 npm 套件 @nntoan/figma-mcp-rust 安裝,需要 Node.js。必須執行 Figma 桌面版,並從 manifest 匯入隨附外掛,在開啟的檔案中啟用。未宣告需要 Figma API 權杖或環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Figma Mcp Rust,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
figma-mcp-rust
A high-performance Rust port of vkhanhqui/figma-mcp-go. All credit for the original design, the Figma plugin bridge, and the tool catalogue goes to @vkhanhqui. This repo migrates that same MCP server to Rust with structured logging, race-free request correlation, and a declarative tool table; see "What changed in the Rust rewrite" below.
Figma MCP: Free, No Rate Limits
[npm version] [MCP Registry] [License: MIT] [GitHub stars]
Open-source Figma MCP server with full read/write access via plugin. No REST API, no rate limits. Turn text into designs and designs into real code. Works with Cursor, Claude, GitHub Copilot, and any MCP-compatible AI tool.
Highlights
- No Figma API token required
- No rate limits, free plan friendly
- Read and Write live Figma data via plugin bridge, 73 tools in total
- Full design automation: styles, variables, components, prototypes, and content
- Design strategies built in as MCP prompts, plus matching Claude Code skills
Why this exists
Most Figma MCP servers rely on the Figma REST API.
That sounds fine until you hit this:
If you're experimenting with AI tools, you'll burn through that in minutes.
I didn't have enough money to pay for higher limits. So I built something that doesn't use the API at all.
Installation & Setup
Install via npx, no build step required.
1. Configure your AI tool
Claude Code CLI
Claude Code plugin marketplace
Installing the plugin also adds 13 skills covering the workflows below, from reading designs to generating tokens and troubleshooting the bridge.
Codex CLI
.mcp.json (Claude and other MCP-compatible tools)
.vscode/mcp.json (Cursor / VS Code / GitHub Copilot)
2. Install the Figma plugin
- In Figma Desktop: Plugins → Development → Import plugin from manifest
- Select
manifest.jsonfrom the plugin.zip - Run the plugin inside any Figma file
Available Tools
Write: Create
Write: Modify
Write: Delete
Write: Prototype
Write: Styles
Write: Variables
Write: Pages
Write: Components & Navigation
Read: Document & Selection
Read: Styles & Variables
Export
MCP Prompts
Each prompt is also available as a Claude Code skill when the server is installed through the plugin marketplace, alongside a bridge-troubleshooting skill for connection issues.
Related Projects
- vkhanhqui/figma-mcp-go, the Go original
- alvinindra/figma-mcp-rust, the original Rust port (upstream)
- magic-spells/figma-mcp-bridge
- grab/cursor-talk-to-figma-mcp
- gethopp/figma-mcp-bridge
What changed in the Rust rewrite
- Memory-safe websocket bridge: request/response correlation uses
tokio::sync::oneshotinstead of Go channels guarded bysync.Once, removing the send-on-closed-channel race. - Declarative tool table: all 73 tool registrations live in a single static array
(
src/tools/definitions.rs) instead of ~700 lines of repetitive Go handlers. New tools are added by appending one entry plus an optional JSON Schema builder. - Structured logging via
tracing: every component emits per-target events (bridge,leader,follower,election,node) at adjustable levels. SetFIGMA_MCP_LOG=debugfor verbose output. thiserror-based error types instead of formatted strings, so callers can match on specific failure modes (NotConnected,Timeout, etc.).- Pure-Rust PDF merging via
lopdf, no external CLI dependency. - First-class CLI via
clapwith derived help text and validation.
Contributing
Issues and PRs are welcome.
Star History
[Star History Chart]來源:README.md,提交 81a5e61
工具
0版本歷史
1- v0.1.0最新Oct 2, 2026


