figcp
Enables AI agents to control Figma Desktop through a local plugin/MCP bridge: create and edit components, inspect nodes and RTL/layout issues, read variables/styles/fonts, extract design context/tokens, and export SVG/PNG assets.
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.
figcp
TL;DR: Local-first, zero-quota, bidirectional Figma Desktop Plugin + MCP stdio bridge. Lets AI coding agents create components, verify RTL layouts, export design context and assets, and link to existing code directly inside Figma Desktop (100% Free/Starter plan compatible, local OS fonts like
IRANSansXFaNumsupported, zero Figma PAT/REST API needed).

Why figcp?
Most Figma MCP servers rely on the Figma REST API — which makes them read-only, subject to strict rate limits, blind to local OS fonts, and locked behind paid Enterprise plans for Variables and Code Connect. figcp runs inside Figma Desktop over a local loopback bridge:
Capability | Typical REST API MCP |
|
100% Free / Starter Plan Compatible (Zero PAT / Quota) | ❌ | ✅ |
Truly Bidirectional ( | ❌ (Read-only) | ✅ |
Deterministic Layout/Token Linter + Screenshot Self-Healing | ❌ | ✅ |
Local OS Fonts & RTL/Persian Bidi Verification | ❌ | ✅ |
Local Code Connect ( | ❌ | ✅ |
Zero-Quota SVG/PNG Asset & W3C DTCG Token Export | ⚠️ Rate-limited | ✅ |
100% Free & Zero REST API / PAT: Works natively on the Figma Starter (Free) Plan with zero rate limits or API tokens.
Truly Bidirectional (
AI ↔ Code):AI → Figma: Create/edit components viarun_figma_js, catch overflow/overlap/unbound-token/RTL bugs viainspect_node_bounds, inspect inline PNG screenshots, and self-heal (orfigma_undo).Figma → Code: Extract Flexbox CSS & bound tokens viaget_design_context, export SVG/PNG assets viaexport_node_assets, export W3C DTCG tokens, and verify rendered DOM/visual parity withui-level.
Local OS Fonts & RTL Support: Uses fonts installed on your macOS/Windows machine (e.g.,
IRANSansXFaNum,Vazirmatn) directly inside Figma Desktop.Local Code Connect (
figcp.map.json): Map Figma components directly to your codebase components so agents reuse existing UI instead of duplicating it.
Related MCP server: Figma MCP Go
Requirements
Node.js
>= 22.0.0Figma Desktop
Quick Start
Option A: Install from npm (Recommended)
npm install -g figcp
figcp --setup
figcp --doctorOr without global install:
npx -y figcp --setupOption B: From Source
npm install
npm run build
npm run setup # or: node packages/server/dist/index.js --setup
npm run doctor # verify local environment and bridge healthIn Figma Desktop, open your document and go to Plugins → Development → Import plugin from manifest...
Select
~/.figcp/plugin/manifest.json(runnode packages/server/dist/index.js --print-pathto copy the path).Run the figcp plugin in Figma Desktop and restart your MCP client.
npm run setup installs the plugin with a baked loopback token (~/.figcp/token), installs SKILL.md, and registers figcp in your MCP clients (with automatic .figcp.bak backups):
Cursor:
~/.cursor/mcp.jsonAntigravity:
~/.gemini/antigravity/mcp_config.jsonClaude Code:
~/.claude.json(configured only if Claude Code is present)Codex CLI:
~/.codex/config.toml(configured only if Codex CLI is present)OpenCode:
~/.config/opencode/opencode.json
MCP Tools (7 Focused Tools)
Tool | Pipeline | Purpose |
| Core | Checks bridge health, role, connected Figma files, and tracks manual canvas edits ( |
| 1 & 2 | Reads Local Variables (resolved hex & aliases), Styles, Components, local fonts ( |
| 1 | Executes arbitrary Figma Plugin API JS in a serial queue with |
| 1 | Inspects node geometry, Auto Layout, bound tokens, deterministic DS/RTL linter issues, and returns inline PNG screenshot. |
| 1 | Reverts the last checkpointed mutation ( |
| 2 | Extracts code-generation design context (computed CSS flexbox, fills, typography, shadows), matches |
| 2 | Exports node vector/icons as clean SVG or raster imagery as PNG inline or to |
Bidirectional Workflows
Pipeline 1: AI → Figma (Authoring & Closed-Loop Healing)
Discover: Call
inspect_design_systemto find exact tokens and fonts.Build: Call
run_figma_jsusinghelpers.requireFont(...),helpers.setAutoLayout(...), andhelpers.makeBoundPaint(...).Verify: Call
inspect_node_bounds(includeScreenshot: true) to run deterministic linter checks and inspect visual RTL text rendering.Heal/Revert: Patch errors or call
figma_undo.
Pipeline 2: Figma → Code (Context, Code Connect & Assets)
Local Code Connect (
figcp.map.json): Place afigcp.map.jsonin your project root to map Figma components to existing files:{ "Button/Primary": { "file": "src/components/Button.tsx", "export": "Button" }, "SearchBox": { "file": "src/components/SearchBox.tsx", "export": "SearchBox" } }Extract Context: Call
get_design_context(passworkspaceDirif the MCP client runs outside your project root) to receive CSS properties, relative geometries, bound token names, and attachedcodeConnecthints.Export Assets: Call
export_node_assets(format: "SVG",outputDir: "src/assets/icons").
Optional Add-Ons (All Off by Default, Zero Core Dependencies)
figcp core is 100% self-contained and requires zero heavy browser or native image dependencies. You can optionally pair it with:
ui-level(Visual & DOM Verification):Published on npm:
ui-level.When enabled,
get_design_contextexportsspec.json(NormalizedSpec) andreference.pngready for offline Playwright/CDP DOM geometry + CIEDE2000 ΔE verification.Enable explicitly with:
node packages/server/dist/index.js --setup --with-ui-level(or--enable-ui-level). To install globally from npm and configure all MCP clients automatically, run:node packages/server/dist/index.js --install-ui-level.Use
--no-promptto skip interactive prompts during setup.
Terrazzo / Tokens Studio:
Export DTCG tokens via
inspect_design_system({ format: "dtcg" })and transform to Tailwind v4 / CSS variables with Terrazzo.
SVGO:
Clean and minify SVG assets exported via
export_node_assets.
Development
npm run typecheck # Strict TypeScript checks across all packages
npm test # Run 50+ automated unit & E2E tests
npm run build # Build plugin dist and server CLI bundle
npm run doctor # Run local diagnosticsTool 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
The Figma MCP server brings Figma design context directly into your AI workflow.
Design System Manager for shadcn/ui: tokens, fonts, radius, components, icons, blocks, Figma sync.
Access and maintain design system docs, tokens, components, skills, and contexts across any project.
Design canvas for agents: create, edit, render and export Figma-shaped designs over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI IDEs to query Figma design tokens, component specs, and audit issues via MCP tools, without cloud subscriptions.MIT
- AlicenseNot gradedqualityBmaintenanceFigma MCP server with full read/write access via plugin bridge — no API token, no rate limits. 83 tools for design automation: styles, variables, components, prototypes, and content.20MIT
- AlicenseAqualityDmaintenanceLocal-first Figma MCP server providing unlimited read access via Personal Access Token, HTML replica generation with parity verification, and write-to-canvas through a companion plugin bridge.152MIT
- AlicenseNot gradedqualityBmaintenanceLocal-first MCP bridge for live Figma documents, enabling design inspection, editing, asset export, component authoring, and variable management through a plugin and WebSocket server without consuming Figma REST API requests.1MIT