Figma Ui MCP
Let an AI draw UI on the Figma canvas and read designs back as code-ready data
Figma Ui MCP is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Windows
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 2.5.30
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add figma-ui-mcp -- npx -y figma-ui-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"figma-ui-mcp": {
"command": "npx",
"args": [
"-y",
"figma-ui-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"figma-ui-mcp": {
"command": "npx",
"args": [
"-y",
"figma-ui-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"figma-ui-mcp": {
"command": "npx",
"args": [
"-y",
"figma-ui-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"figma-ui-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"figma-ui-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add figma-ui-mcp -- npx -y figma-ui-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.figma-ui-mcp]
command = "npx"
args = ["-y", "figma-ui-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"figma-ui-mcp": {
"command": "npx",
"args": [
"-y",
"figma-ui-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Or run: gemini mcp add -s user figma-ui-mcp npx -- -y figma-ui-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "figma-ui-mcp": { "command": "npx", "args": [ "-y", "figma-ui-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Figma Ui MCP
This bridge works in both directions. figma_write draws frames, shapes, text and prototypes from JavaScript-like code, and figma_read pulls out node trees, colours, typography and screenshots. It needs Figma Desktop and a plugin, and all traffic goes over a localhost HTTP link on port 38451 with long polling, so no Figma API key is needed and nothing leaves the machine.
Five tools are listed: figma_write, figma_read, figma_status, figma_docs and figma_rules, which assembles a markdown design-system sheet of tokens, type and components. The 2.5 line adds a design-context payload for code generation, a component map that suggests import paths, CSS extraction, resolved variable and style references, typography tokens, effects, gradients, prototyping reactions, variants and component properties.
Several Figma files can connect at once through sessions. Claude Code and Antigravity are tested, while Cursor, VS Code, Windsurf and Zed are described as compatible.
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 5 tools changes data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- figma_writeName suggests: changes
- Draws frames, shapes, text and prototypes.
- figma_readName suggests: reads
- Extracts node trees, colours, typography and screenshots.
- figma_statusName suggests: reads
- Checks plugin connection and sessions.
- figma_docs
- Returns the API reference and examples.
- figma_rules
- Generates a design system rule sheet.
What it does
- Draw on the canvas
- Create frames, shapes, text and prototypes from code.
- Read designs back
- Extract nodes, colours, typography and screenshots.
- Design context for code
- Token-resolved layout payload for React, Vue or Swift.
- Rule sheet
- Aggregates tokens and components into markdown.
- Local-only bridge
- Runs on localhost, no Figma API key.
- Multiple files
- Sessions route actions to the right Figma file.
Good for
- Generate a screen layout from a prompt
- Turn a Figma frame into component code
- Bootstrap typography tokens and styles
- Map design instances to code imports
Pricing
Open source
Open source; no key required
More servers for the same service
Figma Ui MCP FAQ
Do I need a Figma API key?
No, it works over localhost.
Does Figma Ui MCP work in the web app?
No, Figma Desktop is required.
Which clients are tested?
Claude Code and Antigravity.
Is Figma Ui MCP free?
Yes. Figma Ui MCP is open source, so you can use and self-host it for free.
How do I add Figma Ui MCP to Claude Code?
Run this command in your terminal: claude mcp add figma-ui-mcp -- npx -y figma-ui-mcp
What are the best alternatives to Figma Ui MCP?
The closest alternatives to Figma Ui MCP are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and HyperFrames by HeyGen.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



