Figma MCP Server

v2.1.0
io.github.oabolade/figma_mcp_server_actor Checked 4 days ago Published 11 months ago

MCP server enabling AI assistants to interact with Figma designs via natural language commands

Values you need

VariableWhat it is
FIGMA_ACCESS_TOKENrequired secret Figma Personal Access Token for API authentication. Get yours at https://www.figma.com/developers/api#access-tokens

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add figma-mcp-server-actor -e 'FIGMA_ACCESS_TOKEN=<FIGMA_ACCESS_TOKEN>' -- npx -y @oabolade-pegasus/figma-mcp-server@2.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "figma-mcp-server-actor": {
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server@2.1.0"
      ],
      "command": "npx",
      "env": {
        "FIGMA_ACCESS_TOKEN": "<FIGMA_ACCESS_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "figma-mcp-server-actor": {
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server@2.1.0"
      ],
      "command": "npx",
      "env": {
        "FIGMA_ACCESS_TOKEN": "<FIGMA_ACCESS_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "FIGMA_ACCESS_TOKEN",
      "id": "figma-access-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "figma-mcp-server-actor": {
      "args": [
        "-y",
        "@oabolade-pegasus/figma-mcp-server@2.1.0"
      ],
      "command": "npx",
      "env": {
        "FIGMA_ACCESS_TOKEN": "${input:figma-access-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.figma-mcp-server-actor]
command = "npx"
args = ["-y", "@oabolade-pegasus/figma-mcp-server@2.1.0"]
env = { "FIGMA_ACCESS_TOKEN" = "<FIGMA_ACCESS_TOKEN>" }

For AI agents

  1. Ask the user for: FIGMA_ACCESS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: analyze_file, get_file_structure, extract_styles, list_components, get_component_details, find_component_usage, export_node, export_multiple_nodes, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json