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 Dash MCP Server

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
Install Server
F
license - not found
C
quality
C
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.

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