MCP Hub
Back to servers

figmad-mcp

A comprehensive Figma MCP server enabling AI agents to perform full CRUD operations on designs, reconstruct webpages within Figma, and synchronize design tokens with codebases.

Tools
20
Updated
Jan 18, 2026

figmad-mcp

Figma Design MCP Server - Create, capture, and manage Figma designs via AI agents.

Features

  • Read Operations: Get files, nodes, components, styles, variables, export images
  • Write Operations: Create frames, shapes, text; apply auto-layout; update nodes (requires plugin)
  • Capture & Reconstruct: Screenshot webpages and recreate them in Figma
  • Generate UI: Create UI designs from text prompts

Setup

1. Install Dependencies

npm install

2. Configure Environment

cp .env.example .env
# Edit .env and add your FIGMA_ACCESS_TOKEN

Get your token at: https://www.figma.com/developers/api#access-tokens

3. Build

npm run build

4. Install Plugin (for write operations)

cd plugin
npm install
npm run build

Then in Figma:

  1. Menu → Plugins → Development → Import plugin from manifest
  2. Select plugin/manifest.json

Usage

With Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "figmad": {
      "command": "node",
      "args": ["/path/to/figmad-mcp/dist/index.js"],
      "env": {
        "FIGMA_ACCESS_TOKEN": "your-token-here"
      }
    }
  }
}

Available Tools

Read Operations (REST API - always available)

ToolDescription
get_fileGet Figma file structure
get_nodeGet specific nodes by ID
get_componentsList components in a file
get_stylesGet color/text/effect styles
get_variablesGet design tokens/variables
export_imageExport node as PNG/SVG/PDF

Write Operations (Plugin required)

ToolDescription
create_frameCreate a new frame
create_rectangleCreate a rectangle shape
create_textCreate text node
update_nodeModify node properties
apply_auto_layoutApply auto-layout to frame
set_fillsSet fill colors
delete_nodeDelete a node
get_selectionGet current selection
plugin_statusCheck if plugin is connected

Orchestrated Tools

ToolDescription
capture_webpageScreenshot and analyze a webpage
reconstruct_pageRecreate captured page in Figma
generate_uiGenerate UI from text description
analyze_codebaseExtract components and design tokens from code
sync_design_tokensCompare/sync tokens between Figma and code

Example Prompts

Get the structure of my Figma file: [paste figma URL]

Create a landing page with a header, hero section with headline and CTA button, three feature cards, and a footer

Capture https://example.com and recreate it in Figma

Export the frame "Hero Section" as a PNG

Analyze my React codebase at /path/to/project and extract design tokens

Compare design tokens between my Figma file and codebase

Architecture

┌─────────────┐     ┌─────────────────┐     ┌──────────────────┐
│ AI Agent    │────▶│ figmad-mcp      │────▶│ Figma Plugin     │
│ (Claude)    │stdio│ (MCP Server)    │ ws  │ (runs in Figma)  │
└─────────────┘     └────────┬────────┘     └──────────────────┘
                             │
                             ├──▶ Figma REST API (read operations)
                             └──▶ Playwright (web capture)

Development

npm run dev          # Watch mode
npm run typecheck    # Type checking
npm run lint         # Linting

cd plugin
npm run watch        # Watch plugin changes

License

MIT

Reviews

No reviews yet

Sign in to write a review