figma-custom-mcp
This server provides MCP tools for building, reading, patching, deleting, reordering, and screenshotting Figma designs with strict validation and support for absolute positioning, local images, and dry-run validation.
figma_status: Check bridge/pairing status between the custom MCP and Figma plugin.
figma_design: Build or sync a full design document into Figma, including absolute/overlapping positioning and local/custom image assets; rejects unknown fields and supports
dryRunfor validation without touching Figma.figma_node: Read back a node's full structure — position, size, fills, strokes, effects, text, layout, and children — by node ID or for the whole current page, with optional depth control.
figma_patch_node: Patch specific properties on an existing node (position, size, rotation, opacity, visibility) without rebuilding the subtree.
figma_delete_node: Delete an existing node by ID.
figma_reorder_node: Change a node's z-order among siblings using a 0-based index or
front/back.figma_screenshot: Export a node as PNG or SVG at a configurable scale (0–4).
Provides tools for building Figma designs with absolute positioning, local image import, and strict schema validation, addressing capability gaps in existing Figma integrations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@figma-custom-mcp Create a design with overlapping elements using absolute positioning and import a local image"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
figma-custom-mcp
A small MCP + Figma plugin that patches three specific, confirmed capability gaps in Plumb — it does not modify, fork, or replace Plumb, and is designed to be paired in Figma alongside it.
The gaps, and the full source-level evidence for them, are documented in
PLUMB_GAP_ANALYSIS.md (a from-source audit of Plumb v0.13.2). This project
implements the P0 and P1 items from that audit:
P0 — foundation
P0-1 — Absolute / overlapping positioning. Plumb's DSL compiler forces every container into auto-layout and never sets Figma's
layoutPositioning="ABSOLUTE", so overlapping compositions (badge over image, text over photo, etc.) are structurally impossible to build. This project's compiler defaults to free (x/y) positioning and supportsabsolute: truechildren inside auto-layout regions.P0-2 — Local/custom image import. Plumb's
image.srcis always compiled into a web-search query against six fixed stock-photo providers; a user's own file can never enter a Plumb-built design. This project readsfile:/data:URIs directly, with typed errors and zero placeholder substitution.P0-3 — Strict schema validation. Plumb's Zod schemas silently strip unknown/misspelled fields. Every schema here is
.strict().
P1 — advanced construction primitives (all absent from Plumb entirely)
Boolean operations (union/subtract/intersect/exclude) — real
BOOLEAN_OPERATIONnodes, either authored fresh in afigma_designtree or combined from existing nodes viafigma_boolean.True grouping — real
GROUPnodes viafigma_group, withfigma_ungroupreconstructing Figma's missing native ungroup.Components, component sets, and variants — real
COMPONENT/COMPONENT_SETstructures with genuinevariantProperties, via a"component"node type +figma_create_component_set.Constraints — real
node.constraints, both for newly-authored and existing nodes.Paint styles — real, idempotent-by-name
PaintStylecreation and application.
P2 — component/instance/variable/style/text-range depth, plus structural tooling (see
docs/P2-AUDIT.md for the full 20-group audit this phase worked from)
Component properties & instance overrides — real definitions on
COMPONENT/COMPONENT_SET, real instance property values/per-sublayer overrides/main-component swaps, plusfigma_create_instanceto actually produce an instance to operate on.Variables — real collections/modes/variables/values and all 4 distinct binding paths (node-scalar, paint color, effect field, layout-grid field), each through its own real Figma helper API.
Text/effect/grid styles and per-range text styling — mixed/rich text (bold word inside a paragraph, etc.) was a real, previously-undocumented gap in this project's own P0/P1 work.
Direct layoutGrids, auto-layout sizing (fill/hug/fixed), sections, multi-subpath vectors, persisted export settings, wrap alignment/z-index reversal, native
locked/expandedmetadata, 2 more gradient types (angular/diamond),maskType, cross-parent node moves with transform correction.figma_batch(validated, fail-fast, honestly-non-transactional orchestration) andfigma_diff(structural comparison against a real Figma read-back) — plus a selectiveincluderead-back filter.operationKey-based idempotency forfigma_group/figma_create_component_set, in a plugin-data namespace kept structurally separate fromfigma_design's own sync-mode reconciliation key (a real bug found and fixed during live testing — seedocs/P2-IMPLEMENTATION.md).
P3 — the design quality loop: inspect → measure → compare → correct → verify → iterate (see
docs/P3-ARCHITECTURE.md)
Richer inspection — page-space
absoluteBoundingBox, hierarchy (parentId/index), full typography (font family/style/size/case/decoration/line-height/letter-spacing), andvisible(real gap: patchable since P0, never read back until P3) added tofigma_node.figma_measure(new) — deterministic gap/overlap/containment/center-delta/alignment, computed from real page-space geometry. Reports numbers only; never judges whether a result is "correct."figma_diff(extended) /figma_verify(new) — explicit, overridable numeric tolerance and a deterministic 4-level severity (CRITICAL/MAJOR/MINOR/INFO) added to comparison;figma_verifyis a lighter flat-expectations mode for when a full compiledDesignDocisn't on hand.figma_patch_node(extended) — fill, stroke, radius, effects, blendMode, locked, auto-layout properties, and whole-node text, all reusing the tree-DSL's own real schemas — each field genuinely optional and untouched-if-omitted, so a narrow correction never disturbs anything it didn't mention.The LLM stays the design intelligence throughout — P3 provides mechanical inspection/measurement/ comparison/correction primitives, never a hidden autonomous "make it better" planner.
See docs/P0-CAPABILITY-MATRIX.md,
docs/P1-CAPABILITY-MATRIX.md, and
docs/P2-CAPABILITY-MATRIX.md for the full audit-item-by-item
traceability, and docs/ for the rest of the documentation set.
Status
P0 COMPLETE, P1 COMPLETE, P2 COMPLETE, P3 COMPLETE — see P0-FINAL-REPORT.md,
P1-FINAL-REPORT.md, docs/P2-FINAL-REPORT.md, and
docs/P3-FINAL-REPORT.md for the full acceptance-criteria checklists and
real live-Figma test results. tests/p1-live-screenshot.png, tests/p2-live-screenshot.png, and
tests/p3-live-screenshot.png are real, live compositions this project built (and, for P3, deliberately
broke and then corrected) and screenshotted against the actual paired Figma plugin — not flattened
images, not mocks. P2's live test exercises all 20 audited capability groups plus a sync-mode idempotency
rerun; P3's live test (tests/p3-live.mjs) runs the full inspect → measure → diff/verify → correct →
verify → idempotency-rerun → failure-recovery loop end to end. Both surfaced real runtime bugs along the
way — each found, fixed, and re-verified live, documented in docs/P2-IMPLEMENTATION.md and
docs/P3-IMPLEMENTATION.md rather than glossed over.
Related MCP server: pholly-figma-mcp
Quickstart
npm install
npm run build
npm testThen see docs/QUICKSTART.md to pair the Figma plugin and run the live end-to-end
test.
Documentation
docs/P0-CAPABILITY-MATRIX.md/docs/P1-CAPABILITY-MATRIX.md/docs/P2-CAPABILITY-MATRIX.mddocs/P0-TOOLS.md(all 26 tools, P0 + P1 + P2 + P3) /docs/P3-TOOLS.md(P3's when-to-use guidance)docs/P0-DESIGN-SCHEMA.md(includes P1 additions)docs/P0-TEST-PLAN.md/docs/P1-TEST-REPORT.md/docs/P2-TEST-REPORT.md/docs/P3-TEST-PLAN.mddocs/P0-IMPLEMENTATION.md/docs/P1-IMPLEMENTATION.md/docs/P2-IMPLEMENTATION.md/docs/P3-IMPLEMENTATION.mddocs/P2-AUDIT.md(the 20-group audit P2 was built from) /docs/P2-FINAL-REPORT.md
License
MIT
Available Tools
7 toolsfigma_delete_nodeC
Delete an existing node by id.
Inputs: nodeId (required).
figma_designA
Build or sync a design into Figma from a strict JSON design document (see P0-DESIGN-SCHEMA.md). Supports genuine overlapping/absolute-positioned nodes and local image assets — the two capabilities Plumb cannot provide (see PLUMB_GAP_ANALYSIS.md §5, §15). Unknown/misspelled fields are rejected, not silently ignored. Pass dryRun:true to validate + compile without touching Figma.
Inputs: doc, dryRun.
figma_nodeA
Read back a node's full structure (position, size, fills, strokes, effects, text, layout, children) for verification. Pass nodeId, or omit for the whole current page.
Inputs: depth, nodeId.
figma_patch_nodeA
Patch a subset of properties on an EXISTING node (position, size, rotation, opacity, fill, stroke, radius, effects, blendMode, clip, visible) without touching siblings or re-stating the whole subtree.
Inputs: nodeId (required), x, y, width, +4 more.
figma_reorder_nodeA
Change an existing node's z-order among its siblings without a full re-build. to is a 0-based child index, or "front"/"back".
Inputs: to (required), nodeId (required).
figma_screenshotA
Export a node as PNG or SVG at a configurable scale (unlike Plumb's bulk-export path, scale is not hardcoded — see gap analysis §25).
Inputs: scale, format, nodeId.
figma_statusB
Bridge/pairing status for the custom Figma MCP (separate from, and compatible with, Plumb — different port, different plugin).
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action (delete, reorder, export, status, design/create, read, patch). The only potential overlap is between figma_design and figma_patch_node, but design is for initial creation/sync while patch is for targeted updates, so the boundary is clear.
All tools use the prefix 'figma_' followed by a descriptive verb_noun pattern (e.g. figma_delete_node, figma_reorder_node). The only minor inconsistency is the verb choice: 'screenshot' is less typical than 'export', and 'status' is a noun rather than an action, but overall the pattern is clear and predictable.
7 tools is well-scoped for a Figma design tool MCP server. Each tool covers a core operation (CRUD, reorder, export, status) without being too many to navigate or too few to be useful.
The server covers essential operations: create (via figma_design), read (figma_node), update (figma_patch_node, figma_reorder_node), delete (figma_delete_node), and export (figma_screenshot). A minor gap is the lack of a dedicated tool for listing node children or searching nodes, but the read tool with nodeId omission provides a reasonable workaround.
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Edit and publish your FramerToNextJS sites (converted Framer or AI-built) from Claude, Cursor or Codex. 19 tools: read pages, rewrite copy, restyle elements, add sections and pages, design Studio sites, manage CMS collections and items, then publish to your own host. OAuth with a read-only option, and MCP runs no model on FNJ's side. Requires an FNJ plan (Lifetime or any AI builder plan).
Build and publish Overskill apps from Cursor, Claude, ChatGPT, or any MCP client.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables MCP clients to read design structure, take screenshots, create nodes, and edit UI directly on Figma canvas via a bridge between MCP and Figma Desktop.10MIT
- 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
- AlicenseNot gradedqualityBmaintenanceEnables 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.2MIT
- AlicenseCqualityBmaintenanceEnables stdio MCP clients such as Cursor and Claude Code to read and modify the currently open Figma Desktop file, export selected nodes as local PNG/SVG files, and create or edit basic canvas nodes using precise layout data for pixel-level reconstruction.231MIT