Custom Figma MCP
Provides tools for inspecting and editing Figma documents via the Figma Plugin API, including creating frames, text, rectangles, components, auto-layout, variables, styles, exports, and batch operations. Allows AI agents to interact with the currently open Figma Desktop file.
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., "@Custom Figma MCPcreate a frame named 'Hero' with width 1200 and height 600"
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.
Custom Figma MCP
Use Codex or Claude Code to inspect and edit the Figma file that is open in Figma Desktop.
This is a local tool. It does not use the official Figma MCP, Figma OAuth, Figma API keys, file keys, or Figma web URLs for normal editing.
Install First
1. Install Requirements
Figma Desktop
Node.js 22.5 or newer
pnpm 10.25 or newer
If pnpm is missing, ./run.sh will try to enable it with Corepack.
2. Start This Project
Open Terminal:
cd /path/to/figma-mcp
./run.shKeep this Terminal window open while you use Figma MCP.
3. Add The Figma Plugin Once
Open Figma Desktop.
Go to
Plugins -> Development -> Import plugin from manifest....Select
figma-plugin/manifest.jsonfrom this project.Run
Plugins -> Development -> Custom Figma MCP Bridge.
The plugin should show Connected.
4. Connect Your AI Tool
For Codex:
codex mcp add custom-figma-mcp -- /bin/zsh -lc 'cd /path/to/figma-mcp && node mcp-server/dist/index.js'For Claude Code:
claude mcp add --transport stdio custom-figma-mcp -- /bin/zsh -lc 'cd /path/to/figma-mcp && node mcp-server/dist/index.js'Use the real full path to this folder.
After adding it, restart Codex or Claude Code.
Related MCP server: Figma Dash MCP Server
Daily Use
Open the Figma file in Figma Desktop.
In Terminal, run:
cd /path/to/figma-mcp
./run.shIn Figma Desktop, run
Plugins -> Development -> Custom Figma MCP Bridge.Start Codex or Claude Code.
Ask it to inspect or edit the open Figma file.
Check That It Works
Run:
curl http://localhost:3333/healthGood result:
{
"ok": true,
"pluginConnected": true
}If pluginConnected is false, open Figma Desktop, open your file, and run Plugins -> Development -> Custom Figma MCP Bridge.
What This Does
This project creates a local bridge:
Codex / Claude Code
-> local MCP server
-> local WebSocket
-> Figma Desktop plugin
-> your open Figma fileThe AI tool can read and edit the file that is currently open in Figma Desktop.
It can create and update frames, text, rectangles, components, auto-layout frames, styles, variables, and other supported Figma Plugin API objects.
Common Problems
The Plugin Says Reconnecting
Make sure
./run.shis still running.Click
Reconnectin the plugin.If it still fails, close and run the plugin again from
Plugins -> Development.
The Health Check Says pluginConnected false
The local server is running, but Figma Desktop is not connected.
Open Figma Desktop, open the target file, and run Custom Figma MCP Bridge.
Codex Or Claude Does Not Show The Tools
Restart Codex or Claude Code after adding the MCP server.
In Codex or Claude Code, run /mcp and look for custom-figma-mcp.
More Help
Codex setup: docs/codex-setup.md
Claude Code setup: docs/claude-code-setup.md
Figma plugin setup: docs/figma-setup.md
Architecture details: docs/architecture.md
Developer Commands
pnpm install
pnpm build
pnpm typecheck
pnpm doctor
pnpm test:integration
./run.sh --checkMaintenance
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
- 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/mahmudcoding/figma-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server