figmind
Connects any MCP-compatible AI client to Figma, allowing it to read, create, and modify designs in real time using natural language.
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., "@figmindCreate a frame named 'Hero' 1440x900 centered"
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.
Give your AI the ability to think in Figma.
figmind connects any MCP-compatible AI client to Figma — letting it read, create, and modify designs in real time using natural language.
Getting Started · Available Tools · Architecture · Contributing
Demo
How it works
Your AI ←—— MCP ——→ figmind server ←—— WebSocket ——→ Figma Plugin ←——→ Canvasfigmind runs a local MCP server your AI can call. A companion Figma plugin bridges the WebSocket connection directly to your open file. All traffic stays on your machine — no cloud relay, no third-party API.
Getting Started
Requirements
Node.js 20+
Cursor or any MCP-compatible AI client
Figma Desktop (web version does not support local plugins)
Step 1 — Configure your MCP client
One-click install for Cursor:
Or manually — open ~/.cursor/mcp.json and add:
{
"mcpServers": {
"figmind": {
"command": "npx",
"args": ["--yes", "figmind@latest"]
}
}
}OS | Config path |
macOS |
|
Windows |
|
Linux |
|
Restart Cursor. The first run downloads figmind automatically (~5 seconds).
Using comment tools? Add your Figma personal access token:
"env": { "FIGMA_TOKEN": "your-figma-personal-access-token" }Generate one at Figma → Account Settings → Security → Personal access tokens.
Step 2 — Install the Figma plugin
Clone this repository
Run
yarn install && yarn build:pluginOpen any file in Figma Desktop
Go to Plugins → Development → Import plugin from manifest
Select
packages/figma-plugin/manifest.jsonRun Figma MCP Bridge — the indicator turns green when connected
Step 3 — Start designing with AI
With the plugin running and Cursor open, just ask:
Create a frame called "Hero" — 1440×900, centered on the canvas
Add a text node "Welcome back" at x:80, y:120, 32px Inter bold
List all color variable collections in this file
Apply the variable "color/primary" to the fills of node [id]
Create a mobile login screen with email and password fields
Review the design of the screen with node id [id] and fix spacing issues
Generate a 5-screen onboarding flow for a fitness appAvailable Tools
Canvas
Tool | Description |
| Creates a new frame on the canvas |
| Creates a text node |
| Builds a node tree from HTML/CSS markup |
| Returns a summary of the current file |
| Lists all components on the current page |
Nodes
Tool | Description |
| Returns a node's full data by ID |
| Lists a node's direct children |
| Returns the full subtree of a node |
| Searches nodes by name or type |
| Updates position, size, fills, strokes, opacity, and more |
| Moves a node to a different parent |
| Removes a node |
Components
Tool | Description |
| Instantiates a published component by key |
| Swaps a component instance to a different master |
Design
Tool | Description |
| Returns fonts, colors, and tokens from the file |
| Lists all styles used in the document |
| Lists all available fonts |
Variables
Tool | Description |
| Lists all variable collections |
| Lists variables, optionally filtered by collection |
| Binds a variable to a node property |
| Lists variables from connected libraries |
Prototype
Tool | Description |
| Sets prototype reactions (links, animations) on a node |
Export
Tool | Description |
| Exports a node as an image (returns base64) |
| Exports multiple nodes at once |
| Exports the full page |
Comments (requires FIGMA_TOKEN)
Tool | Description |
| Creates a comment on the file |
| Lists all comments on the file |
Built-in Prompts
figmind ships with three ready-to-use prompts:
Prompt | Description |
| Generate a mobile screen following the project design system |
| Review a screen for design issues and layout problems |
| Generate a full multi-screen user flow for a feature |
Architecture
packages/
├── mcp-server/ # Node.js — published to npm as figmind
│ └── src/
│ ├── index.ts # Entry point (stdio transport)
│ ├── mcp.ts # Server factory, registers all tools
│ ├── bridge.ts # WebSocket bridge to Figma plugin
│ ├── prompts.ts # Built-in prompts
│ └── tools/ # All MCP tool implementations
└── figma-plugin/ # Figma plugin — bridges commands to the canvas
└── src/
├── code.ts # Plugin main: executes all Figma API commands
└── ui/ui.html # Plugin UI (connection status indicator)figmind uses the Model Context Protocol SDK over stdio, which means it works with any MCP-compatible client — not just Cursor.
Contributing
Contributions are very welcome! Here's how to get started:
git clone https://github.com/guhcostan/figma-mcp-bridge.git
cd figma-mcp-bridge
yarn install
yarn dev # starts both the MCP server (watch mode) and plugin bundlerRunning tests:
yarn testAdding a new tool
Create your tool in
packages/mcp-server/src/tools/Register it in
packages/mcp-server/src/mcp.tsHandle the command in
packages/figma-plugin/src/code.tsAdd tests in
packages/mcp-server/src/tools/__tests__/
Publishing a New Version
Bump the version in packages/mcp-server/package.json, then:
git tag v1.0.1
git push --tagsGitHub Actions publishes to npm automatically on any v* tag.
License
This server cannot be installed
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/guhcostan/figmind'
If you have feedback or need assistance with the MCP directory API, please join our Discord server