Skip to content
MCP server

OpenFigma MCP

MCP server and Figma plugin that let AI agents read and edit Figma files

Runs locally

OpenFigma MCP is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.5.0
Listing updated

Similar MCP servers

Install

You install MCP servers on a computer. Send yourself the link.

Add with the CLI

Run in a terminal

claude mcp add openfigma-mcp -- npx -y @mishafyi/openfigma-mcp

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

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "openfigma-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mishafyi/openfigma-mcp"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "openfigma-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mishafyi/openfigma-mcp"
      ]
    }
  }
}

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "openfigma-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mishafyi/openfigma-mcp"
      ]
    }
  }
}

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "openfigma-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mishafyi/openfigma-mcp"
      ]
    }
  }
}

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

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add openfigma-mcp -- npx -y @mishafyi/openfigma-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.openfigma-mcp]
command = "npx"
args = ["-y", "@mishafyi/openfigma-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "openfigma-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mishafyi/openfigma-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user openfigma-mcp npx -- -y @mishafyi/openfigma-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "openfigma-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "@mishafyi/openfigma-mcp"
          ]
        }
      }
    }

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

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About OpenFigma MCP

Connects an AI agent to Figma and FigJam files through a plugin that runs in the Figma desktop app. Once a file is open and the plugin is running, an MCP client such as Claude Code or Cursor can inspect pages, layers, components, variables and text, and make changes to them.

Each agent session is linked to one file by its file key, so several sessions can work in different files at once without a separate relay process to start. The server exposes a large set of tools covering creation, styling, auto layout, component overrides, annotations, prototype connectors and image export.

It suits designers and developers who want an agent to read a Figma design while building the matching app screens, or who want help with repetitive edits such as bulk text changes, variant swaps and documentation links across a design system.

What it does

Per-file sessions
Each agent session connects to one chosen Figma file, and commands and results stay within that file.
Design reading
Reads nodes with their component, style, variable and auto layout details as structured data.
Component editing
Lists component sets, reads and sets instance properties, and copies overrides between instances.
Bulk text updates
Scans text layers in a node and replaces their content, several at a time.
Shapes and styling
Creates frames, shapes and SVG vectors, and sets fills, gradients, strokes, effects and corner radii.
Image export
Exports nodes as PNG, JPG, SVG or PDF into the conversation or to a file on disk.

Good for

  • Building app screens from a Figma design with the agent reading the file directly
  • Replacing placeholder copy across many text layers in a screen
  • Switching or aligning component variants across a page
  • Turning prototype reactions into connector lines
  • Exporting frames or slices as image assets

Pricing

Open source

Free and open source under the MIT License.

OpenFigma MCP FAQ

Do I need to run a separate relay server?

No. Each MCP server listens for the Figma plugin itself on a free port, so no WebSocket relay has to be started by hand.

Which Figma app does the plugin run in?

The plugin runs in the Figma desktop app, and is imported from the repository's manifest file.

How do I connect an agent to a file?

The agent calls join_channel with the file key, the ID found after /design/ in the file's URL.

What license is OpenFigma MCP under?

It is released under the MIT License.

Is OpenFigma MCP free?

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

How do I add OpenFigma MCP to Claude Code?

Run this command in your terminal: claude mcp add openfigma-mcp -- npx -y @mishafyi/openfigma-mcp

What are the best alternatives to OpenFigma MCP?

The closest alternatives to OpenFigma MCP are cursor-talk-to-figma-mcp, Figma Edit MCP, Figma Context MCP, Figma MCP Server and Figma Context MCP.

Where this comes from

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

How AIPoweredBot checks servers