Figma Edit MCP
Provides tools for reading, creating, and modifying Figma designs, including nodes, styles, components, variables, auto layout, text, and exports.
Integrates with GitHub Copilot in VS Code to enable AI-driven Figma design operations.
Integrates with Google Antigravity to perform programmatic Figma design tasks via AI.
Figma Edit MCP
Connect AI assistants to Figma via Model Context Protocol to read designs, create and modify elements, and manage design systems programmatically.
This plugin empowers your AI assistant to become a Figma assistant, executing design updates Safer, Cleaner, and Faster than a human ever could.
This plugin allows you as a Designer to focus purely on creative decision-making, leaving the error-prone & repetitive manual changes to the automated systems.
Read more about our design philosophy here.
Core Principles
π‘οΈ Safer: The plugin performs programmatic checks and protections that exceed those in the Figma Desktop app. For example, it prevents the deletion of variables that are still in use, avoiding dangling references. By enforcing these strict validations before an action is taken, the plugin protects designs from both human error and AI hallucinations.
β¨ Cleaner: Programmatic, thorough operations mean no node is ever skipped or forgotten during large updates, ensuring that the design file is always consistent.
β‘ Faster: Executing batch operations (like bulk text replacement or instance override propagation) via AI reduces hours of tedious manual design work down to seconds.
Supported AI Integrations
Cursor
GitHub Copilot (VS Code)
Google Antigravity
Claude Code (VS Code & CLI)
Claude Desktop (Chat, Cowork & Code)
LM Studio
Quick Start
The quickest way to run Figma Edit MCP is directly from the NPM registry. You do not need to clone this repository.
1. Configure your AI assistant
Add the server to your AI assistant's MCP configuration:
{
"mcpServers": {
"FigmaEdit": {
"command": "npx",
"args": ["-y", "figma-edit-mcp"]
}
}
}The config file location depends on your host β see Integration-Specific Setup below. Bun users can substitute bunx for npx; both resolve the same package.
2. Start the WebSocket bridge
In a terminal, start the bridge that connects the MCP server to the Figma plugin. Keep this terminal running:
npx figma-edit-mcp-socket3. Install the Figma plugin
The Figma plugin ships inside the NPM package. Install the package once to materialize the plugin files on disk:
# In any directory of your choosing (e.g., ~/figma-edit-mcp/)
npm install figma-edit-mcpThen in the Figma desktop app:
Open Plugins β Development β Import plugin from manifestβ¦
Select
node_modules/figma-edit-mcp/figma_plugin/manifest.jsonfrom the directory above.
The plugin is now available under Plugins β Development in any Figma file.
Running from a local clone? See CONTRIBUTING.md for the contributor-only --local development workflow.
Integration-Specific Setup
Paste the JSON snippet from the Quick Start into your host's MCP config file:
Integration | Config File Location | Notes |
Cursor |
| Restart Cursor after editing |
VS Code / GitHub Copilot |
| Requires VS Code 1.102+ with Copilot; enable Agent Mode |
Google Antigravity |
| Restart Antigravity to load |
Claude Desktop |
| β |
Claude Code (CLI / VS Code) | run | No file edit needed |
LM Studio | edit | Or use a deeplink, if provided |
Manual Configuration
If you prefer to edit your host's MCP config directly, paste this snippet into the appropriate config file:
{
"mcpServers": {
"FigmaEdit": {
"command": "npx",
"args": ["-y", "figma-edit-mcp"]
}
}
}Integration | Config File Location |
Cursor |
|
VS Code / Copilot |
|
Antigravity |
|
Claude Desktop |
|
LM Studio | Use the in-app editor (via Developer tab) or edit |
Running from a local clone? See CONTRIBUTING.md for the --local workflow.
Contributing
For local development β building from source, running the bridge from a clone, and the --local integrate workflow β see CONTRIBUTING.md.
Windows + WSL Guide
To allow Figma (running on Windows) to connect to the bridge (running inside WSL), the bridge needs to listen on 0.0.0.0 instead of localhost:
npx figma-edit-mcp-socket --host 0.0.0.0
# or via environment variable:
FIGMA_EDIT_MCP_SOCKET_HOST=0.0.0.0 npx figma-edit-mcp-socketThen point the Figma plugin's WebSocket address at your WSL instance's IP.
Usage
Start the WebSocket bridge:
npx figma-edit-mcp-socketConfigure the MCP server in your AI assistant (see Integration-Specific Setup)
Open Figma and launch the Figma Edit MCP plugin from Plugins β Development
Use the
join_channelMCP tool to establish communicationUse your AI assistant to interact with Figma via the available MCP tools
MCP Tools
The MCP server provides the following tools for interacting with Figma:
Document & Selection
Tool | Description |
| Get information about specific pages in Figma including their children |
| Get detailed information about one or more nodes. Supports recursive depth ( |
| Set selection to one or more nodes and scroll the viewport to show them |
Node Creation
Tool | Description |
| Create a frame with optional fill, stroke, and full auto-layout configuration |
| Create a rectangle with position, size, and optional name |
| Create a text node with customizable font, size, weight, and color |
| Create a node from an SVG XML string |
Node Modification
Tool | Description |
| Move a node to a new position |
| Resize a node to new dimensions |
| Clone an existing node with an optional position offset |
| Delete one or more nodes in a single operation |
| Rename a node in the Figma layer panel |
Styling
Tool | Description |
| Set the fill color of a node (RGBA) |
| Set the stroke color and weight of a node |
| Set corner radius with optional per-corner control |
| Apply drop shadow, inner shadow, layer blur, or background blur |
Auto Layout & Spacing
Tool | Description |
| Set layout mode ( |
| Set padding values (top, right, bottom, left) for an auto-layout frame |
| Set primary and counter axis alignment for auto-layout frames |
| Set horizontal and vertical sizing modes ( |
| Set spacing between children and across wrapped rows/columns |
Text Operations
Tool | Description |
| Batch-update text content across multiple nodes in parallel |
Annotations
Tool | Description |
| Get annotations on a node, including available categories |
| Batch create or update annotations with markdown support |
Components & Styles
Tool | Description |
| List all local styles in the document |
| List all local components in the document |
| Create or update a named style (Text, Paint, Effect, or Grid) |
| Apply an existing named style to a node |
| Convert a frame into a main component |
| Instantiate a component by key at a given position |
| Extract all override properties from a component instance |
| Apply extracted overrides to one or more target instances |
Variables
Tool | Description |
| List all variable collections, or get details for a specific variable by ID |
| Inspect bound variables and explicit variable modes on a node |
| Bind a variable to a node property, or set an explicit variable mode |
| Create collections, create variables, and set values or aliases |
Prototyping & Connections
Tool | Description |
| Extract prototype reactions (click flows, overlays) from nodes |
| Set a FigJam connector as the default style for new connections |
| Draw connector lines between nodes based on mappings or prototype flows |
Export
Tool | Description |
| Export a node as PNG, JPG, SVG, or PDF |
Connection Management
Tool | Description |
| Join a WebSocket channel to establish communication with the Figma plugin |
MCP Prompts
Built-in prompts guide complex multi-step design tasks:
Prompt | Description |
| Best practices for creating Figma designs with proper hierarchy and naming |
| Best practices for reading and exploring Figma designs |
| Chunked, progressive approach to bulk text replacement with visual verification |
| Convert legacy manual annotations to Figma's native annotation system |
| Transfer component instance overrides from a source to multiple targets |
| Convert prototype reaction flows into visual FigJam connector lines |
Hallucination Safeguards
The plugin enforces hard constraints (scope locking, name verification, batch validation) that AI agents cannot bypass. See AGENTS.md for the full rules and error codes.
Best Practices
When working with Figma Edit MCP:
Always join a channel first with
join_channelbefore sending any other commands
Notes
Automatic Node ID Normalization
Node IDs copied from Figma URLs use dashes (20485-41), but the plugin API expects colons (20485:41). The MCP server automatically converts dash-format IDs before forwarding, so either format works without manual intervention.
Acknowledgements
Built on prior work by sonnylazuardi and the contributors to grab/cursor-talk-to-figma-mcp. Thank you for the foundation this project builds on.
Thanks to @dusskapark for the following contributions:
Bulk text content replacement β Batch-update text across large designs efficiently. Demo video
Instance override propagation β Propagate component instance overrides from a source to multiple targets in a single command, dramatically reducing repetitive design work. Demo video
License
The MIT License (MIT)
Copyright (c) 2025 sonnylazuardi
Copyright (c) 2026 Neo Product LLC
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/neozhehan/figma-edit-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server