Skip to content
MCP server

Figma MCP Server

Local MCP server exposing the full Figma REST API as tools for AI clients

Runs locally

Figma MCP Server 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, Self-hosted, API
Runs
Locally
What it can do
Can change data (4 tools)
Access
Needs a secret key or token

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add figma-mcp-server --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx -y figma-mcp-server

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": {
    "figma-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "figma-mcp-server"
      ],
      "env": {
        "FIGMA_API_KEY": "<FIGMA_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "figma-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "figma-mcp-server"
      ],
      "env": {
        "FIGMA_API_KEY": "<FIGMA_API_KEY>"
      }
    }
  }
}

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

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "figma-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "figma-mcp-server"
      ],
      "env": {
        "FIGMA_API_KEY": "<FIGMA_API_KEY>"
      }
    }
  }
}

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

Cursor setup guide

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

{
  "mcpServers": {
    "figma-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "figma-mcp-server"
      ],
      "env": {
        "FIGMA_API_KEY": "<FIGMA_API_KEY>"
      }
    }
  }
}

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 figma-mcp-server --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx -y figma-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.figma-mcp-server]
command = "npx"
args = ["-y", "figma-mcp-server"]
env = { FIGMA_API_KEY = "<FIGMA_API_KEY>" }

Codex setup guide

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

{
  "mcpServers": {
    "figma-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "figma-mcp-server"
      ],
      "env": {
        "FIGMA_API_KEY": "<FIGMA_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e FIGMA_API_KEY='<FIGMA_API_KEY>' figma-mcp-server npx -- -y figma-mcp-server

    Antigravity

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

    {
      "mcpServers": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    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": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    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": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

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

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    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": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

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

    {
      "mcpServers": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    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": {
        "figma-mcp-server": {
          "command": "npx",
          "args": [
            "-y",
            "figma-mcp-server"
          ],
          "env": {
            "FIGMA_API_KEY": "<FIGMA_API_KEY>"
          }
        }
      }
    }

    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.

Configuration

  • FIGMA_API_KEYFigma personal access tokenRequired

About Figma MCP Server

Each Figma REST endpoint is one self-describing tool, and the server loads them from a tools/figma/ directory at startup. Adding support for a new endpoint means dropping in one file. Required parameters are checked before a request is sent, so incomplete calls are rejected locally.

The README counts 55 tools across files and nodes, variables and design tokens, components and styles, comments, teams, folders, users, dev resources, webhooks, library analytics, organization logs and embeds. A scheduled workflow compares Figma's published OpenAPI spec twice a month and opens a pull request when endpoints change.

It is built on Bun 1.2 or newer and launched with bunx, not npx. Authentication is a Figma personal access token in FIGMA_API_KEY. Some tools depend on your Figma plan, for example variables need an Enterprise organization.

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 4 of 7 tools change data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

list_file_variablesName suggests: reads
Lists variables in a Figma file; needs an Enterprise organization.
get_published_variablesName suggests: reads
Reads published variables; needs an Enterprise organization.
modify_variablesName suggests: changes
Bulk-modifies variables in a file.
duplicate_file
Duplicates a file; Enterprise plan via a private OAuth app.
create_teamName suggests: changes
Creates a team; Enterprise plan via a private OAuth app.
create_folderName suggests: changes
Creates a folder; Enterprise plan via a private OAuth app.
invite_team_membersName suggests: changes
Invites members to a team; Enterprise plan via a private OAuth app.

What it does

Full REST API coverage
Exposes 55 tools covering the Figma REST API, from files and nodes to webhooks.
One file per endpoint
Tools are loaded from a directory at startup, so new endpoints are added with a single file.
Pre-flight parameter checks
Required parameters are validated before any request goes out.
Spec sync workflow
A twice-monthly workflow diffs the latest Figma OpenAPI spec and opens a pull request.
VS Code secret prompt
In VS Code the API key can be entered through a password prompt and kept in OS secret storage.

Good for

  • Pull design file and node data into an AI coding session
  • Read and bulk-edit design tokens and variables
  • Audit comments and reactions across design files
  • Check library component, style and variable usage
  • Manage Figma webhooks and dev resources from an assistant

Pricing

Open source

MIT licence; needs your own Figma access token

More servers for the same service

Figma MCP Server FAQ

What do I need to run Figma MCP Server?

Bun 1.2 or newer and a Figma personal access token set as FIGMA_API_KEY. It runs through bunx, not npx.

Which clients work with Figma MCP Server?

The README names Claude Desktop, Cursor, VS Code and the Gemini CLI, plus any MCP client.

Do all tools work on every Figma plan?

No. Variables need an Enterprise organization, library analytics need an Organization or Enterprise plan, and file duplication or team creation need Enterprise with a private OAuth app.

How is Figma MCP Server kept current with Figma's API?

A workflow runs on the 1st and 15th of each month, compares the latest spec, runs type checks and tests, and opens a pull request for review.

How do I add Figma MCP Server to Claude Code?

Run this command in your terminal: claude mcp add figma-mcp-server --env FIGMA_API_KEY='<FIGMA_API_KEY>' -- npx -y figma-mcp-server

What are the best alternatives to Figma MCP Server?

The closest alternatives to Figma MCP Server are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.

Where this comes from

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

How AIPoweredBot checks servers