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
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 mcp add -s project figma-mcp-rust -- npx -y @alvinindra/figma-mcp-rust@latest
Claude Code plugin marketplace
/plugin marketplace add alvinindra/figma-mcp-rust
/plugin install figma-mcp-rust@figma-mcp-rust
Installing the plugin also adds 13 skills covering the workflows below, from reading designs to generating tokens and troubleshooting the bridge.
Codex CLI
codex mcp add figma-mcp-rust -- npx -y @alvinindra/figma-mcp-rust@latest
.mcp.json (Claude and other MCP-compatible tools)
{
"mcpServers": {
"figma-mcp-rust": {
"command": "npx",
"args": ["-y", "@alvinindra/figma-mcp-rust"]
}
}
}
.vscode/mcp.json (Cursor / VS Code / GitHub Copilot)
{
"servers": {
"figma-mcp-rust": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@alvinindra/figma-mcp-rust"
]
}
}
}
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
- 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.