Figma Design Pilot MCP
Provides an AI-driven design-review and comment-management layer for Figma files: audits colors, spacing, typography, components, token coverage, structure, and accessibility; retrieves file structure, components, styles, variables, versions, and exports images; manages Figma comment threads with sync, replies, status updates, and pending-thread tracking.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Figma Design Pilot MCP
v4.0 — A stateful MCP server providing AI-powered Design Review and Comment Workflow capabilities for Figma files. Works with Claude Desktop, Cursor, CodeBuddy, openClaw, and any MCP-compatible AI agent.
What it does
Capability | Description |
Design Review | Automated 7-dimension quality audit: colors, spacing, typography, components, token coverage, structure, accessibility |
Comment Workflow | Thread-based Figma comment management with status tracking and idempotent writes |
Base Data | File structure, components, styles, variables, version history, image export |
Related MCP server: Figma MCP Server by Bao To
Quick Start
1. Get a Figma Token
Go to Figma Settings → Personal Access Tokens and create a token with File content (Read) and Comments (Read/Write) scopes.
2. Connect to your AI Client
Option A: npx (recommended, zero install)
{
"mcpServers": {
"figma-pilot": {
"command": "npx",
"args": ["-y", "figma-design-pilot-mcp"],
"env": {
"FIGMA_PERSONAL_ACCESS_TOKEN": "figd_xxxxx"
}
}
}
}Option B: SSE mode (for web clients / openClaw)
npx -y figma-design-pilot-mcp --transport=sseThen configure your client to connect to http://127.0.0.1:3000/mcp
Option C: Run from source
git clone https://github.com/Mr-wang007s/figma-design-pilot-mcp.git
cd figma-design-pilot-mcp
npm install{
"mcpServers": {
"figma-pilot": {
"command": "node",
"args": ["<path-to>/figma-design-pilot-mcp/dist/src/index.js"],
"env": {
"FIGMA_PERSONAL_ACCESS_TOKEN": "figd_xxxxx"
}
}
}
}MCP Tools (20)
Design Review (8 tools)
Tool | Description |
| Full review — Run all 7 dimensions, returns scored report (0–100, A–F grade) |
| Check hardcoded fills, strokes, gradients, shadows, opacity |
| Check padding, gap, corner radius, off-grid values, Auto Layout |
| Validate text styles, font sizes, line heights, font families |
| Audit detached instances, missing main components, overrides, naming |
| Calculate Design Token variable binding coverage (%) |
| Check default names, empty frames, deep nesting, hidden layers |
| WCAG contrast ratio, text size, touch target checks |
Base Data (6 tools)
Tool | Description |
| Get page and layer tree (names, types, sizes) |
| Get all Design Tokens / Variables (Enterprise) |
| Get components and component sets |
| Get published styles (color, text, effect, grid) |
| Get version history |
| Export nodes as PNG, SVG, PDF, or JPG |
Comment Workflow (6 tools)
Tool | Description |
| Fetch and diff comments, return threads needing attention |
| Reply to a thread via idempotent outbox |
| Change thread status via emoji (👀 PENDING, ✅ DONE, 🚫 WONTFIX) |
| Get a thread's full context from local DB |
| List all OPEN/PENDING threads (instant, no network) |
| Delete a bot-generated reply |
Usage Examples
Run a Design Review
Ask your AI agent:
"Review the design file https://www.figma.com/design/abc123/MyApp and tell me what issues to fix"
The agent will call figma_design_review and return a structured report:
Score: 72/100 (C)
Issues: 15 errors, 8 warnings
Colors:
❌ 12 hardcoded fill colors not bound to variables
⚠️ 3 hardcoded stroke colors
Token Coverage: 34%
fills: 20%, strokes: 0%, spacing: 80%, typography: 60%
Structure:
⚠️ 5 layers with default names ("Frame 1", "Rectangle 2")
⚠️ 2 empty framesManage Comments
"Sync comments from my Figma file and reply to any open threads"
The agent calls figma_sync_comments → figma_list_pending → figma_post_reply.
Configuration
Variable | Default | Description |
| Figma PAT — recommended for quick setup | |
| Figma OAuth App Client ID | |
| Figma OAuth App Client Secret | |
|
| SQLite database file path |
|
| HTTP server port (SSE mode) |
|
| Prefix for bot-generated replies |
|
| OAuth localhost callback port |
| HMAC secret for Figma webhook verification |
Architecture
AI Client (Claude / Cursor / CodeBuddy / openClaw)
│
│ JSON-RPC (stdio or Streamable HTTP)
▼
┌─────────────────────────────────────────────┐
│ MCP Router (20 tools) │
├─────────────┬──────────────┬────────────────┤
│ Design │ Base Data │ Comment │
│ Review (8) │ Tools (6) │ Workflow (6) │
└──────┬──────┴──────┬───────┴───────┬────────┘
│ │ │
▼ ▼ ▼
┌─────────────┐ ┌─────────┐ ┌──────────────┐
│ Review │ │ Figma │ │ Sync Engine │
│ Engine │ │ REST │ │ + Operations │
│ (7 linters) │ │ API │ │ (Outbox) │
└──────┬──────┘ └─────────┘ └──────┬───────┘
│ │
▼ ▼
┌──────────────────────────────────────────┐
│ SQLite (better-sqlite3 + Kysely) │
│ 8 tables: comments, operations, │
│ sync_state, config, file_snapshots, │
│ review_reports, review_issues, │
│ review_rules │
└──────────────────────────────────────────┘Development
npm run build # Compile TypeScript → dist/
npm run typecheck # Type check only (no emit)
npm run dev # Run with tsx (stdio)
npm test # Run tests (vitest)
npm run test:watch # Watch mode
npm run test:coverage # Coverage reportTech Stack
Runtime: Node.js >= 18
Language: TypeScript 5.x (strict mode, ESM-only)
MCP SDK: @modelcontextprotocol/sdk
Database: better-sqlite3 + Kysely
HTTP: axios, express
Rate Limiting: bottleneck
Validation: zod
Testing: vitest
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Run accessibility, contrast, and design token audits and file QA issues from your AI coding tool.
A design agent in your coding agent's loop: briefs each screen, reviews UX and visual quality.
Compare Figma designs against live websites and get visual + content QA reports, from inside Claude.
Preflight QA for AI-agent deliverables with structured verdicts and repair guidance.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Figma designs using natural language commands, supporting file analysis, component extraction, asset export, comment management, and design system queries through the Figma API.1ISC
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to extract design systems, analyze components, and maintain design-code consistency from Figma files, providing intelligent component analysis and accessibility compliance.103 npm27MIT
- FlicenseBqualityDmaintenanceEnables AI agents to read, inspect, and export Figma designs programmatically. Provides tools for listing components, styles, and exporting assets in various formats.51-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, analyze, and modify Figma designs, including bulk style updates, accessibility audits, comment triage, and code generation from designs.844 npmMIT