figma-mcp-rust
Provides tools for reading and writing Figma designs, including creating frames, text, components, styles, variables, and more, as well as exporting assets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@figma-mcp-rustcreate a frame named 'Card' with auto-layout and a fill color"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 total
Full design automation — styles, variables, components, prototypes, and content
Design strategies included — read_design_strategy, design_strategy, and more prompts built in
Why this exists
Most Figma MCP servers rely on the Figma REST API.
That sounds fine… until you hit this:
Plan | Limit |
Starter / View / Collab | 6 tool calls/month |
Pro / Org (Dev seat) | 200 tool calls/day |
Enterprise | 600 tool calls/day |
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.
Related MCP server: figma-mcp-write-server
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@latestCodex 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.zipRun the plugin inside any Figma file
Available Tools
Write — Create
Tool | Description |
| Create a frame with optional auto-layout, fill, and parent |
| Create a rectangle with optional fill and corner radius |
| Create an ellipse or circle |
| Create a text node (font loaded automatically) |
| Decode base64 image and place it as a rectangle fill |
| Convert an existing FRAME node into a reusable component |
| Create a Figma Section node to organise frames on a page |
Write — Modify
Tool | Description |
| Update text content of an existing TEXT node |
| Set solid fill color (hex) on a node |
| Set solid stroke color and weight on a node |
| Set opacity of one or more nodes (0 = transparent, 1 = opaque) |
| Set corner radius — uniform or per-corner |
| Set or update auto-layout (flex) properties on a frame |
| Show or hide one or more nodes |
| Lock one or more nodes to prevent accidental edits |
| Unlock one or more nodes |
| Set absolute rotation in degrees on one or more nodes |
| Change z-order: |
| Set blend mode (MULTIPLY, SCREEN, OVERLAY, …) on one or more nodes |
| Set responsive constraints |
| Move nodes to an absolute x/y position |
| Resize nodes by width and/or height |
| Rename a node |
| Clone a node, optionally repositioning or reparenting |
| Move nodes to a different parent frame, group, or section |
| Bulk rename nodes via find/replace, regex, or prefix/suffix |
| Find and replace text across all TEXT nodes in a subtree or page; supports regex |
Write — Delete
Tool | Description |
| Delete one or more nodes permanently |
Write — Prototype
Tool | Description |
| Set prototype reactions (triggers + actions) on a node; mode |
| Remove all or specific reactions by zero-based index from a node |
Write — Styles
Tool | Description |
| Apply drop shadow / blur effects directly on a node (no style required) |
| Create a named paint style with a solid color |
| Create a named text style with font, size, and spacing |
| Create a named effect style (drop shadow, inner shadow, blur) |
| Create a named layout grid style (columns, rows, or grid) |
| Rename or recolor an existing paint style |
| Apply an existing local style to a node, linking it to that style |
| Delete any style (paint, text, effect, or grid) by ID |
Write — Variables
Tool | Description |
| Create a new local variable collection with an optional initial mode |
| Add a new mode to an existing collection (e.g. Light/Dark) |
| Create a variable (COLOR/FLOAT/STRING/BOOLEAN) in a collection |
| Set a variable's value for a specific mode |
| Bind a variable to a node property — supports |
| Delete a variable or an entire collection |
Write — Pages
Tool | Description |
| Add a new page to the document (optional name and index) |
| Delete a page by ID or name (cannot delete the only page) |
| Rename a page by ID or current name |
Write — Components & Navigation
Tool | Description |
| Switch the active Figma page by ID or name |
| Group two or more nodes into a GROUP |
| Ungroup GROUP nodes, moving children to the parent |
| Swap the main component of an INSTANCE node |
| Detach component instances, converting them to plain frames |
Read — Document & Selection
Tool | Description |
| Full current page tree |
| File name, pages, current page |
| All pages (IDs + names) — lightweight, no tree loading |
| Currently selected nodes |
| Single node by ID |
| Multiple nodes by ID |
| Depth-limited tree with |
| Find nodes by name substring and/or type within a subtree |
| All text nodes in a subtree |
| Nodes matching given type list |
| Current viewport center, zoom, and visible bounds |
Read — Styles & Variables
Tool | Description |
| Paint, text, effect, and grid styles |
| Variable collections and values |
| All components + component sets with variant properties |
| Dev-mode annotations |
| All fonts used on the current page, sorted by frequency |
| Prototype/interaction reactions on a node |
Export
Tool | Description |
| Base64 image export of any node |
| Export images to disk (server-side, no API call) |
| Export multiple frames as a single multi-page PDF file saved to disk |
| Export design tokens (variables + paint styles) as JSON or CSS |
MCP Prompts
Prompt | Description |
| Best practices for reading Figma designs |
| Best practices for creating and modifying designs |
| Chunked approach for replacing text across a design |
| Convert manual annotations to native Figma annotations |
| Transfer overrides between component instances |
| Map prototype reactions into interaction flow diagrams |
Related Projects
vkhanhqui/figma-mcp-go — the Go original
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP server that connects AI clients to Figma, enabling real-time reading, creation, and modification of designs using natural language.Last updatedMIT
- Flicense-qualityDmaintenanceAn MCP server that provides write access to Figma through the Plugin API, enabling AI agents to create, modify, and manage Figma designs programmatically.Last updated23
- Alicense-qualityCmaintenanceAn open-source MCP server that gives AI assistants full read-write access to Figma, enabling creation, editing, and deletion of designs directly without plugins or API keys.Last updated299MIT
- Alicense-qualityDmaintenanceAn MCP server that integrates AI agents with Figma, enabling reading and programmatic modification of designs.Last updatedMIT
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
MCP server for Flux AI image generation
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alvinindra/figma-mcp-rust'
If you have feedback or need assistance with the MCP directory API, please join our Discord server