# Figma Bridge MCP

> Figma Bridge MCP is an open-source MCP server for design and media. Let an AI draw on your Figma canvas and read designs back as code. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Windows, CLI
- **Repository:** https://github.com/nguyendinhphongdx/figma-bridge-mcp
- **MCP Registry name:** io.github.nguyendinhphongdx/figma-bridge-mcp
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-23

## About

The bridge works with Figma Desktop through a plugin you import yourself. The plugin long-polls a local Node server on 127.0.0.1:47451, so Figma never needs an inbound connection, and the README says no Figma API key or cloud is involved. It is not affiliated with Figma, Inc.

Five tools handle the loop: a status check, an API reference with design rules, a write tool that runs JavaScript against the figma object in a sandbox, a read tool for node trees, tokens, CSS, component maps and screenshots, and a rules sheet. The write tool offers 47 operations for frames, text, vectors, components, variables and prototypes, and the plugin main thread handles 66 operations. A typical flow loads the docs, reads the canvas, writes, then takes a screenshot to verify.

Several open Figma files can be targeted through session ids, and a call fails rather than write into the wrong file. Setup covers Claude Code, Claude Desktop, Cursor, VS Code with Copilot, Windsurf and Google Antigravity. The README notes the plugin does not auto-update, and that the web version of Figma does not work.

## Features

- **Draw on the canvas:** Run JavaScript against figma.* to build frames, text, components and variables.
- **Design-to-code reads:** Extract node trees, tokens, CSS, component maps and screenshots.
- **Local only:** The bridge listens on 127.0.0.1 and needs no Figma API key.
- **Multi-file sessions:** Target a specific open file with sessionId.
- **Verify with screenshots:** A read-write-screenshot loop lets the AI check its work.
- **Many MCP clients:** Setup steps for Claude, Cursor, VS Code, Windsurf and Antigravity.

## Good for

- Ask for a mobile login screen drawn on the canvas
- Convert a selected frame to Tailwind or React
- Pull design tokens and CSS from a frame
- Improve a selected design by prompt
- Build a dark dashboard layout from a description

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add figma-bridge-mcp -- npx -y @hanoilab/figma-bridge-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add figma-bridge-mcp -- npx -y @hanoilab/figma-bridge-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.figma-bridge-mcp]
command = "npx"
args = ["-y", "@hanoilab/figma-bridge-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user figma-bridge-mcp npx -- -y @hanoilab/figma-bridge-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "figma-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hanoilab/figma-bridge-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 5 tools changes data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `figma_status` (name suggests: reads): Connection check, active file and page, sessions
- `figma_docs`: API reference and design rules
- `figma_write` (name suggests: changes): Run JavaScript against the figma API to create or change the design
- `figma_read` (name suggests: reads): Extract trees, tokens, CSS, components and screenshots
- `figma_rules`: Markdown rule sheet for colors, text styles, variables and components

## FAQ

### Do I need a Figma API key?

No. The README says it uses no API key and no cloud; everything runs on localhost.

### Does Figma Bridge MCP work with Figma in the browser?

No. It requires Figma Desktop, because the web app does not allow the localhost connection.

### How do I install the plugin?

Download the plugin zip and import its manifest.json via Plugins, Development in Figma Desktop.

### How many tools does Figma Bridge MCP expose?

Five: status, docs, write, read and rules.

### Is Figma Bridge MCP free?

Yes. Figma Bridge MCP is open source, so you can use and self-host it for free.

### How do I add Figma Bridge MCP to Claude Code?

Run this command in your terminal: claude mcp add figma-bridge-mcp -- npx -y @hanoilab/figma-bridge-mcp

### What are the best alternatives to Figma Bridge MCP?

The closest alternatives to Figma Bridge MCP are HyperFrames by HeyGen, mcp-for-blender, AutoClip, ffmpeg-skill and next-ai-draw-io.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [HyperFrames by HeyGen](https://ai-powered.com/mcp/hyperframes-by-heygen): HyperFrames by HeyGen is a freemium MCP server for design and media.
- [mcp-for-blender](https://ai-powered.com/mcp/mcp-for-blender): mcp-for-blender is an open-source MCP server for design and media.
- [AutoClip](https://ai-powered.com/mcp/autoclip): AutoClip is an open-source MCP server for design and media.
- [ffmpeg-skill](https://ai-powered.com/mcp/ffmpeg-skill): ffmpeg-skill is an open-source MCP server for design and media.
- [next-ai-draw-io](https://ai-powered.com/mcp/next-ai-draw-io-2): next-ai-draw-io is an open-source MCP server for ai models and llm tooling.
- [Dembrandt](https://ai-powered.com/mcp/dembrandt): Dembrandt is an open-source MCP server for design and media.
- [cursor-talk-to-figma-mcp](https://ai-powered.com/mcp/cursor-talk-to-figma-mcp): cursor-talk-to-figma-mcp is an open-source MCP server for design and media.
- [Appllama](https://ai-powered.com/mcp/appllama): Appllama is a freemium MCP server for design and media.

---
Source: https://ai-powered.com/mcp/figma-bridge-mcp
