
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


