Figma Control Center
A local MCP server that lets Claude Code read and edit Figma files by running Plugin API scripts from disk. No official MCP, no plugin, no API token.
flowchart LR
A["Claude Code"] -->|"MCP (stdio)"| B["Node server"]
B -->|"Chrome DevTools Protocol"| C["figma.com tab (the figma global)"]Tools receive file paths, not code. The server reads the script, sends it to the tab and keeps big results on disk: the megabytes never pass through the model’s context.
Start here: install it, then see the tools.
What’s inside
- Scripts and batches. Run one script by path, or a manifest of steps in the background: resumable, cancellable, guarded against the wrong file. See MCP tools.
- A kit inside the tab.
figma-kit@1is installed once per tab and handed to every script: pages and nodes by key, components, instances, tokens and icons. See Kit and steps. - Web ↔ Figma. Capture a project’s screens and paint them in Figma; describe a Figma node for code; design a screen without a web. See Workflows.
- A history agents can read. Every call, job and attempt in SQLite, per project, with read-only tools and a local dashboard. See Dashboard.
Principles
- Paths, not payloads. A tool never needs the model to carry a script or a result; both live on disk.
- Generic. The server knows no project. Projects bring their data through versioned contracts.
- Every failure names the next step. Errors say whether retrying makes
sense (
retryable) and what to do (nextStep). - Limits are written down. The known limitations
page is part of the contract — starting with the fact that the
figmaglobal in the tab is not an official automation channel.
For users
- Installation — Install Figma Control Center: requirements, the debug Chrome with your Figma session, registering a Figma file as a project and checking it works.
- Use it from Claude Code — Register the Figma Control Center MCP server in Claude Code, install its plugin skills, and run the restricted agent harness with the dashboard chat.
- Configuration — Configure Figma Control Center: machine variables in .env, editable settings in the dashboard, projects, and the consumer project's JSON file.
- Tools — Reference for the Figma Control Center MCP tools: the response envelope, jobs, scripts and batches, catalog reads, web capture and the history.
- The Figma kit — The Figma kit injected into the tab: named pieces that solve Plugin API traps, step@1 results, and the kit steps that build screens and components.
- Workflows — Step-by-step workflows with Claude Code and the Figma MCP tools: web to Figma, Figma to code, and designing without a web through maps, sheets and compose@1.
- Contracts — Reference for the versioned JSON contracts a project exchanges with the Figma MCP server: project, screens, map, sheets, compose, design context and more.
- The dashboard — Use the local dashboard of the Figma MCP server to see live tool calls, jobs and screenshots, review attempts and diffs, edit settings and chat with the agent.
- Known limitations — Known limitations of Figma Control Center: the unofficial figma object, scripts that cannot be interrupted, one batch per file, Linux helpers and more.
For contributors
- For contributors — Contributor guide for Figma Control Center: development setup, hexagonal architecture, extending tools and contracts, testing and conventions.
- Development — Set up Figma Control Center for development: the processes and entry points, the make and npm commands, and where to start reading the code.
- Architecture — Why Figma Control Center drives a browser tab over CDP, its hexagonal layers, folder map, shared SQLite database and how the boundaries are enforced.
- Extending — How to add an MCP tool, a Figma kit step, a contract, a configuration variable or a database migration to Figma Control Center, test first.
- Testing — How Figma Control Center is tested: unit and integration tests, fakes over mocks, a simulated Figma and Claude, hermetic E2E and opt-in real Figma runs.
- Conventions — Conventions for contributing to Figma Control Center: commits, language rules, strict TypeScript, the MCP process, comments, formatting and docs.