Skip to main content
Glama
figmma

figmma

by stuffbucket

figmma

MCP server for the Figma API with a real-time observability dashboard.

Website · npm · GitHub

Install

macOS / Linux (checks for Node.js, installs if missing, registers with all agents):

curl -fsSL https://raw.githubusercontent.com/stuffbucket/figmma/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/stuffbucket/figmma/main/install.ps1 | iex

Or via npm (requires Node.js >= 18):

npm install -g @stuffbucket/figmma

The postinstall script automatically registers figmma with Claude Code, VS Code / GitHub Copilot, and Codex CLI.

Related MCP server: figma-developer-mcp

Configure

Claude Code

Project-level (recommended — runs postinstall automatically):

npm install @stuffbucket/figmma

Or add manually to .mcp.json:

{
  "mcpServers": {
    "figmma": {
      "command": "npx",
      "args": ["-y", "@stuffbucket/figmma"]
    }
  }
}

User-level (available in all projects):

claude mcp add --transport stdio figmma --scope user -- npx -y @stuffbucket/figmma

VS Code / GitHub Copilot

Project-level — add to .vscode/mcp.json (created automatically by npm install):

{
  "servers": {
    "figmma": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@stuffbucket/figmma"]
    }
  }
}

User-level — add to VS Code settings (settings.json):

{
  "mcp": {
    "servers": {
      "figmma": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "@stuffbucket/figmma"]
      }
    }
  }
}

Codex CLI

Add to .codex/mcp.json (created automatically by npm install):

{
  "mcpServers": {
    "figmma": {
      "command": "npx",
      "args": ["-y", "@stuffbucket/figmma"]
    }
  }
}

Setup

On first run with no Figma API token configured, figmma opens a setup wizard in your browser where you enter your Figma Personal Access Token and team URL.

Configuration is stored at:

  • macOS / Linux: ~/.config/figmma/config.json

  • Windows: %APPDATA%\figmma\config.json

Environment variables FIGMA_API_TOKEN and FIGMA_TEAM_ID override the config file when set in your MCP client's env block.

Tools

Tool

Description

get_current_user

Show the authenticated Figma user (cached)

parse_figma_url

Extract file key and node ID from a Figma URL

list_team_projects

List all projects in a team

list_project_files

List all files in a project

get_file_info

Get file metadata (name, version, last modified)

search_projects

Search for files by name across all team projects

get_file_comments

Retrieve all comments and threads on a file

Dashboard

figmma includes a real-time observability dashboard at http://localhost:5183 that shows:

  • Live MCP tool calls and Figma API requests

  • Connection state and auth status

  • An interactive REPL to test tools from the browser

The dashboard starts automatically when the MCP server launches. Run it standalone with:

npx @stuffbucket/figmma-dashboard   # or: npm run dev (in the source repo)

Development

git clone https://github.com/stuffbucket/figmma.git
cd figmma
npm ci
npm run dev          # Dashboard with Vite HMR
npm run lint         # ESLint
npm run typecheck    # tsc --noEmit
npm run build        # tsc + vite build
npm test             # E2E smoke test
make pack            # Build + npm pack → figmma-1.0.0.tgz

Uninstall

npm uninstall -g @stuffbucket/figmma

This removes the MCP server entries from .mcp.json, .vscode/mcp.json, and .codex/mcp.json.

License

MIT — see LICENSE.

For a visual walkthrough with screenshots, visit the figmma website.

Available Tools

7 tools
get_current_userA
Read-onlyIdempotent

See who you're authenticated as in Figma. The user profile is fetched automatically at startup, so this is a quick cached lookup.

Inputs: no named parameters.

get_file_commentsA
Read-onlyIdempotent

Retrieve all comments on a Figma file. Shows who commented, when, the message content, and whether the comment is resolved. Accepts a file key or a Figma URL.

Inputs: file_key_or_url (required), as_md.

get_file_infoA
Read-onlyIdempotent

Get metadata about a Figma file (name, last modified, version) without downloading the full document. Accepts a file key or a Figma URL.

Inputs: file_key_or_url (required).

list_project_filesA
Read-onlyIdempotent

List all files in a Figma project. Use list_team_projects first to find project IDs.

Inputs: project_id (required).

list_team_projectsA
Read-onlyIdempotent

List all projects in a Figma team. If no team_id is provided, uses the configured default.

Inputs: team_id.

parse_figma_urlA
Read-onlyIdempotent

Extract the file key, file name, and node ID from a Figma URL. Use this when a user provides a Figma link instead of a raw file key.

Inputs: url (required).

search_projectsA
Read-onlyIdempotent

Search for Figma files by name across all projects in a team. If no team_id is provided, uses the configured default.

Inputs: query (required), team_id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 7 tools

    Disambiguation4/5

    Most tools are distinct: get_current_user, parse_figma_url, get_file_info, and get_file_comments have clear separate purposes. However, list_project_files and search_projects both retrieve files and could cause confusion, especially since search_projects is misnamed (it searches files, not projects). The overlap is manageable with careful descriptions.

    Naming Consistency4/5

    The naming pattern is mostly consistent with verb_noun (e.g., get_current_user, list_team_projects, get_file_comments). The exception is search_projects, which uses a verb but the noun does not match its actual function (searching files, not projects). This deviation slightly undermines predictability.

    Tool Count5/5

    With 7 tools, the server is well-scoped. It covers auth, URL handling, navigation, metadata retrieval, and comments without being overwhelming. Each tool serves a clear purpose and the count is within the ideal 3-15 range for a focused integration.

    Completeness2/5

    The tool surface is heavily read-only and misses core Figma operations. There is no way to fetch actual design content (nodes, layers, styles) or export images, which are essential for a design tool. Additionally, there are no create, update, or delete operations, leaving the server limited to metadata and comment retrieval.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables read-only access to Figma files, nodes, styles, and image assets via the Figma REST API for any MCP client, using your own personal access token.
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to access Figma design context, generate code from frames, extract variables, components, and layout data, and create or modify Figma files directly from MCP clients.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to read and modify the currently open Figma design file through a paired local Figma plugin, supporting operations like creating nodes, editing properties, and exporting PNG/SVG.
      2
      MIT