# Figcp

> Figcp is an open-source MCP server for design and media. MCP bridge letting AI agents build and inspect layouts inside Figma Desktop without. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Self-hosted
- **Repository:** https://github.com/abolfazl-moeini/figcp
- **MCP Registry name:** io.github.abolfazl-moeini/figcp
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-11-27

## About

Figcp runs as a Figma Desktop plugin paired with a local stdio MCP server, so an AI coding agent can read and write directly to an open Figma file. Because it talks over a loopback connection instead of the Figma REST API, it avoids API tokens and rate limits, and it works on Figma's free Starter plan.

The server exposes seven tools covering design-system inspection, arbitrary Plugin API scripts with undo checkpoints, node geometry and RTL checks with inline screenshots, computed CSS extraction, and SVG or PNG asset export. Teams can map Figma components to their own source files through a local figcp.map.json so agents reuse existing UI components.

It suits designers and front-end developers working in Figma Desktop who want an agent to author components, check right-to-left text rendering, and pull design context into code, particularly when they rely on locally installed OS fonts.

## Features

- **Direct Figma Desktop bridge:** A plugin and local loopback connection let the agent act on the open Figma document without REST API credentials.
- **Scripted component authoring:** Runs Figma Plugin API JavaScript in a serial queue with helpers for fonts, auto layout and bound color variables.
- **Layout and RTL verification:** Reports overflow, overlap and unbound token issues and returns screenshots to check right-to-left text.
- **Local font support:** Uses fonts installed on the machine, including Persian typefaces, inside Figma Desktop.
- **Design context extraction:** Pulls flexbox CSS, fills, typography and bound token names for code generation.
- **Code Connect mapping:** A local figcp.map.json links Figma components to existing project files.
- **SVG and PNG asset export:** Exports vector icons as SVG or raster images as PNG to a chosen folder.

## Good for

- Have an AI agent build a component set in Figma and check it for layout bugs
- Verify right-to-left Persian or Arabic layouts before handing off to developers
- Generate front-end code from Figma frames that reuses existing component files
- Export icons and images from Figma to a project's asset folder without API limits
- Export design tokens in W3C DTCG format for use in Tailwind or CSS variables

## Install

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

```sh
claude mcp add figcp -- npx -y figcp
```

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": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "figcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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 figcp -- npx -y figcp
```

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

```toml
[mcp_servers.figcp]
command = "npx"
args = ["-y", "figcp"]
```

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user figcp npx -- -y figcp

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

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": {
    "figcp": {
      "command": "npx",
      "args": [
        "-y",
        "figcp"
      ]
    }
  }
}
```

## Tools

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

- `figma_status` (name suggests: reads): Checks bridge health, role, connected Figma files, and tracks manual canvas edits.
- `inspect_design_system` (name suggests: reads): Reads local variables, styles, components and fonts, or exports W3C DTCG tokens.
- `run_figma_js` (name suggests: changes): Executes Figma Plugin API JavaScript in a serial queue with undo checkpoints.
- `inspect_node_bounds` (name suggests: reads): Inspects node geometry, auto layout, bound tokens and linter issues, with optional screenshot.
- `figma_undo`: Reverts the last checkpointed mutation or saves a named restore point.
- `get_design_context` (name suggests: reads): Extracts computed CSS, fills, typography and shadows, and matches Code Connect components.
- `export_node_assets` (name suggests: reads): Exports nodes as SVG or PNG inline or to an output directory.

## FAQ

### Does Figcp need a Figma API token?

No. It runs inside Figma Desktop over a local loopback bridge and does not use the REST API or a personal access token.

### Which Node.js version is required?

Node.js 22.0.0 or later, along with Figma Desktop.

### Does Figcp work on the free Figma plan?

Yes, the product states it is compatible with the Figma Starter (Free) plan.

### How is Figcp installed?

Install from npm with npm install -g figcp, then run figcp --setup and figcp --doctor, and import the generated plugin manifest into Figma Desktop.

### How do I add Figcp to Claude Code?

Run this command in your terminal: claude mcp add figcp -- npx -y figcp

### What are the best alternatives to Figcp?

The closest alternatives to Figcp are cursor-talk-to-figma-mcp, Figma Bridge MCP, Layerbridge, Localfig and Figbridge.

## Where this comes from

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

## Alternatives

- [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.
- [Figma Bridge MCP](https://ai-powered.com/mcp/figma-bridge-mcp): Figma Bridge MCP is an open-source MCP server for design and media.
- [Layerbridge](https://ai-powered.com/mcp/layerbridge): Layerbridge is an open-source MCP server for design and media.
- [Localfig](https://ai-powered.com/mcp/localfig): Localfig is an open-source MCP server for design and media.
- [Figbridge](https://ai-powered.com/mcp/figbridge): Figbridge is an open-source MCP server for design and media.
- [Figma MCP Rs](https://ai-powered.com/mcp/figma-mcp-rs): Figma MCP Rs is an open-source MCP server for design and media.
- [Figme](https://ai-powered.com/mcp/figme): Figme is an open-source MCP server for design and media.
- [Figma MCP Rust](https://ai-powered.com/mcp/figma-mcp-rust): Figma MCP Rust is an open-source MCP server for design and media.

---
Source: https://ai-powered.com/mcp/figcp
