Skip to main content
Glama
mahmudcoding

Custom Figma MCP

by mahmudcoding

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.sh

Keep this Terminal window open while you use Figma MCP.

3. Add The Figma Plugin Once

  1. Open Figma Desktop.

  2. Go to Plugins -> Development -> Import plugin from manifest....

  3. Select figma-plugin/manifest.json from this project.

  4. 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 Bridge MCP

Daily Use

  1. Open the Figma file in Figma Desktop.

  2. In Terminal, run:

cd /path/to/figma-mcp
./run.sh
  1. In Figma Desktop, run Plugins -> Development -> Custom Figma MCP Bridge.

  2. Start Codex or Claude Code.

  3. Ask it to inspect or edit the open Figma file.

Check That It Works

Run:

curl http://localhost:3333/health

Good 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 file

The 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

  1. Make sure ./run.sh is still running.

  2. Click Reconnect in the plugin.

  3. 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

Developer Commands

pnpm install
pnpm build
pnpm typecheck
pnpm doctor
pnpm test:integration
./run.sh --check
F
license - not found
C
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Bridges AI clients to Figma Desktop via Plugin API and WebSocket, enabling real-time design manipulation without rate limits.
    1,261
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Connects AI agents to Figma through a local WebSocket bridge, enabling read/write access to open Figma files, node manipulation, and AI-assisted rename/group features.
    3
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP-compatible AI clients to read and modify the user's currently open Figma file by executing JavaScript in Figma's sandbox, all through a local bridge with status monitoring, node jumping, and automatic rollback on errors.
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • The Figma MCP server brings Figma design context directly into your AI workflow.

  • Let ChatGPT, Claude & Cursor use your Mac: email, calendar, iMessage, Teams, files. Local, free.

  • Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.

View all MCP Connectors

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/mahmudcoding/figma-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server