Skip to main content
Glama

Why

FigCraft is an open-source, Figma-class interface design tool with a headless CLI (figcraft-cli), every menu action as a command and an MCP mode. This Model Context Protocol server turns it into file-in / file-out tools for Claude, so you can ask things like:

"Design a mobile sign-in screen with a button component and export it as PNG and SVG." "Change the title of this design to 'Hola' and make the background cream." "Review this design and fix the spacing, radii and contrast issues." "Export every frame of this .fig file as PNG at 2x."

Sibling of designcraft-mcp-server, effectcraft-mcp-server, lightcraft-mcp-server, photocraft-mcp-server, vectorcraft-mcp-server, filmcraft-mcp-server, pdfcraft-mcp-server, wordcraft-mcp-server, soundcraft-mcp-server, deckcraft-mcp-server, gridcraft-mcp-server, anicraft-mcp-server, texturecraft-mcp-server, materialcraft-mcp-server, solidcraft-mcp-server, mailcraft-mcp-server and audacity-mcp-server.

Related MCP server: Claude Talk to Figma MCP

Platforms

OS

FigCraft package to install

Where the server finds it (no setup needed)

Status

Windows 10/11 (x64, x86, arm64)

MSI or portable zip

C:\Program Files\FigCraft, C:\Program Files\ArtCraft\FigCraft, %LOCALAPPDATA%\Programs\FigCraft, PATH

✅ Verified (Windows 11)

Linux (x86_64, aarch64, riscv64)

.deb, .rpm or .tar.gz

/usr/bin, /usr/local/bin, /opt/figcraft/bin, ~/.local/bin, PATH

✅ Verified (Debian 12, headless)

macOS 11+ (Apple silicon and Intel)

.dmg (the app) plus figcraft-cli-<version>-macos-universal.zip

/Applications/FigCraft.app, /usr/local/bin, /opt/homebrew/bin, ~/.local/bin, ~/bin, PATH

🟡 Supported, not yet tested on a Mac

All downloads: FigCraft releases (there is also a FreeBSD tar.gz; set FIGCRAFT_DIR to it). Anywhere else: set FIGCRAFT_DIR (folder, .tar.gz root or FigCraft.app) or FIGCRAFT_CLI.

  • macOS: the DMG contains only the app. Unzip the separate figcraft-cli zip and move figcraft-cli to /usr/local/bin (or point FIGCRAFT_CLI at it). The first run checks Apple's notarization online.

  • Linux: the AppImage and Flatpak contain only the app, not figcraft-cli; use the deb, rpm or tar.gz. For an AppImage app, set FIGCRAFT_APP so open_in_figcraft can start it. On a server without a GPU, the verified setup used libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.

How it works

Part

What it is

FigCraft engine (figcraft-cli mcp --headless)

FigCraft's own layout, text and rendering engine: layers, auto layout, components and instances, the design review and the PNG / SVG / PDF exporters. Started fresh for each job, confined to a private temporary folder, and never touches the FigCraft app.

MCP server (Node.js)

10 high-level tools. Builds a design from a tree of layers, places component copies with their own text, saves one file per top-level frame, reviews the result and returns a picture of the page.

Tools

Tool

What it does

create_design

A design from a tree of layers: frames with auto layout, text, shapes, vectors, components and copies of them with their own text; saved as .figcraft and PNG / JPG / SVG / PDF / WEBP per frame, with the review score

edit_design

Change a design by layer name: properties, texts, find and replace, new layers or component copies, delete or rename; saved as a copy

export_design

Designs (also .fig, .sketch, .penpot, .svg) → PNG, JPG, SVG, PDF, WEBP per frame, or editable .figcraft

review_design

Spacing, radii, type, colour, contrast and naming findings with a score out of 100; optional automatic fixes

get_design_info

Pages, frames, the layer tree, components with their copies, styles, variables and fonts

render_design

Pictures of a page or of given frames

list_figcraft_catalog

Engine commands, layer types, properties and formats

run_figcraft_commands

Any engine command plus create_node, set_properties, export, screenshot... in one session ($steps[N].field references), then save

open_in_figcraft

Open designs in the FigCraft app

get_figcraft_status

Platform, installation, version and commands

Reads

.figcraft, FigCraft / REST JSON, .fig, .sketch, .penpot (best effort), .svg, pictures

Writes

.figcraft, PNG, JPG, SVG, PDF, WEBP

Coordinates are design units (1 unit = 1 px at 100 %), x right and y down, relative to the parent frame. Colours are "#RRGGBB".

Example

{
  "name": "Sign in",
  "nodes": [
    { "type": "component", "name": "Button", "x": 480, "width": 200, "height": 48,
      "props": { "fills": ["#4F46E5"], "cornerRadius": 12, "layout": "horizontal", "mainAlign": "center", "crossAlign": "center" },
      "children": [{ "type": "text", "name": "Label", "text": "Button", "props": { "fontSize": 16, "fontWeight": 600, "fills": ["#FFFFFF"] } }] },
    { "type": "frame", "name": "Login", "width": 390, "height": 844,
      "props": { "fills": ["#FFFFFF"], "layout": "vertical", "gap": 16, "padding": 32 },
      "children": [
        { "type": "text", "name": "Title", "text": "Welcome back", "props": { "fontSize": 32, "fontWeight": 600 } },
        { "type": "rectangle", "name": "Email", "height": 48, "props": { "fills": ["#F3F4F6"], "cornerRadius": 12, "sizingH": "fill" } }
      ] }
  ],
  "instances": [{ "component": "Button", "parent": "Login", "text": { "Label": "Sign in" }, "props": { "sizingH": "fill" } }],
  "formats": ["figcraft", "png", "svg"],
  "output_dir": "C:\\Designs"
}

Requirements

  • FigCraft with figcraft-cli (tested with 0.19.0); see Platforms

  • Node.js ≥ 20 (bundled with Claude Desktop for .mcpb installs)

Installation

  1. Download figcraft-mcp-server.mcpb from the latest release.

  2. Double-click it (or drag it into Claude Desktop → Settings → Extensions) and click Install.

  3. Optional: if FigCraft is not in a standard location, fill in its folder or the figcraft-cli path in the extension settings.

Claude Code and Cowork (plugin)

Add the marketplace jhonsu01/sunsam-plugins (in Claude Code: /plugin marketplace add jhonsu01/sunsam-plugins; in the Claude app: Plugins → Add → Add marketplace) and install figcraft-bridge.

Sunsam Code

Install FigCraft Bridge from the Sunsam Code marketplace, or drop the .mcpb into MCP → Install extension.

Codex (OpenAI)

Recommended — the marketplace (gets updates): Plugins → Add → Add marketplace, source jhonsu01/craft-marketplace, reference main, then install FigCraft Bridge from Craft Bridges (craft-marketplace). New versions arrive by refreshing the marketplace. Or upload the zip (Codex then keeps it in your account and refuses a newer zip with the same name):

  1. Download figcraft-mcp-server-<version>-codex.zip from the latest release.

  2. In Codex: Plugins → Add → New plugin, choose the zip and click Add plugin.

  3. Codex starts the server with node, so Node.js ≥ 20 must be on PATH. If FigCraft is not in a standard location, set FIGCRAFT_DIR or FIGCRAFT_CLI as system environment variables (Codex has no settings form for local plugins).

DeepSeek Harness

  1. Plugins → Add plugin, enter github:jhonsu01/craft-marketplace#path:/plugins/figcraft-mcp-server and click Install, then Enable now.

  2. Harness runs the server with its own MCP client and node (Node.js ≥ 20 on PATH); the tools appear as mcp__figcraft__<tool> and the output files as cards that open in Harness.

  3. Harness does not update plugins by itself yet: to upgrade, uninstall the plugin and install it again with the same address.

Claude Code / other MCP clients

git clone https://github.com/jhonsu01/figcraft-mcp-server.git
cd figcraft-mcp-server
npm install
npm run build

Windows:

claude mcp add figcraft -- node "%CD%\dist\bundle.cjs"

macOS / Linux:

claude mcp add figcraft -- node "$PWD/dist/bundle.cjs"

Configuration

Variable

Meaning

FIGCRAFT_DIR

FigCraft folder, one of its executables, a .tar.gz root (with bin/) or FigCraft.app. Default: auto-detect

FIGCRAFT_CLI

Path of figcraft-cli / figcraft-cli.exe (wins over FIGCRAFT_DIR)

FIGCRAFT_APP

Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage)

FIGCRAFT_MCP_TIMEOUT

Maximum seconds per engine call (default 3600)

Safety

  • Files are never overwritten unless overwrite: true: a free name (_2) is used in folders and an existing output_path is an error. Inputs are only read; an edited file is saved only as a new copy (_edited).

  • All paths must be absolute. The engine runs headless, confined to a private temporary folder for each job (the inputs are copied in, the outputs moved out), and never touches the FigCraft app.

  • Everything runs locally with no network access. Each job uses a private engine in a temporary folder that is deleted at the end.

Development

npm run build       # TypeScript + single-file bundle (dist/bundle.cjs)
npm test            # unit tests (Windows, macOS and Linux path logic)
npm run test:e2e    # 23 end-to-end checks over real MCP stdio (synthetic designs)
npm run pack:mcpb   # figcraft-mcp-server.mcpb
npm run pack:codex  # Codex / DeepSeek Harness plugin zip

Linux test in Docker (unpack figcraft-<version>-linux-x86_64.tar.gz first):

docker run --rm -v "$PWD:/work:ro" -v "/path/to/figcraft-0.19.0-linux-x86_64:/opt/figcraft:ro" -e FIGCRAFT_DIR=/opt/figcraft -w /work node:22-bookworm bash -c "apt-get update && apt-get install -y libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig && node scripts/e2e.mjs"

License

Apache-2.0. FigCraft is © its authors (Storytold), MIT or Apache-2.0. This project is not affiliated with or endorsed by FigCraft or Storytold. Figma is a trademark of Figma, Inc.

Available Tools

10 tools
create_designCreate a designA

Design screens, web pages, components, banners, icons or social posts with FigCraft (a Figma-class interface design tool): frames with auto layout, text, rectangles, ellipses, vectors and components, then copies (instances) of the components with their own text. Saves the editable .figcraft and PNG / JPG / SVG / PDF / WEBP of each top-level frame, reviews the design (spacing, radii, type, colour, contrast; score out of 100) and returns a picture of the page.

Inputs: nodes (required), fix, name, scale, +9 more.

edit_designEdit a designA

Change an existing design (.figcraft, or .fig / .sketch / .penpot / .svg, imported best effort) and save a copy: set properties of layers by name or id, change texts, find and replace text, add layers or component copies, delete or rename layers, repair the review findings. The input file is never changed; the result goes next to it (suffix _edited) or to output_dir / output_path.

Inputs: input_path (required), operations (required), scale, suffix, +5 more.

export_designExport / convert designsA

Export the frames of one or many designs as PNG, JPG, SVG, PDF or WEBP (one file per top-level frame), or convert .fig / .sketch / .penpot / .svg files to editable .figcraft. Inputs are never changed; outputs go next to each input or into output_dir.

Inputs: scale, frames, formats, input_dir, +3 more.

get_design_infoDesign infoB
Read-onlyIdempotent

What a design holds: pages and their top-level frames with sizes, the layer tree (names, types, text), components with their instance counts, styles, variables and the fonts used (and whether they are installed). Read only.

Inputs: input_path (required), depth.

get_figcraft_statusFigCraft statusA
Read-onlyIdempotent

Check the FigCraft installation: platform, executables, version, engine commands, formats, whether the app is running.

Inputs: no named parameters.

list_figcraft_catalogList commands, layer types, properties, formatsA
Read-onlyIdempotent

What FigCraft can do: commands (every menu item, panel action and shortcut with its parameters, for run_figcraft_commands), layers (layer types), properties (what node.set takes) and formats.

Inputs: kind (required), filter.

open_in_figcraftOpen in FigCraftA

Open files in the FigCraft desktop app to keep working by hand (.figcraft, .json, .fig, .sketch, .penpot, .svg, .png, .jpg, .jpeg, .webp, .gif).

Inputs: paths.

render_designRender framesB
Read-onlyIdempotent

Pictures of a design to look at it: the whole page or given frames / layers (up to 4 images), optionally saved as PNG files.

Inputs: input_path (required), save, frames, max_size, +3 more.

review_designReview a designA

FigCraft's design review of a file: spacing off the grid, radii off the scale, type sizes and weights, colour and contrast (accessibility), copy and naming, with a score out of 100 and severities. With fix=true the fixable findings are repaired and a copy is saved (suffix _fixed).

Inputs: input_path (required), fix, preset, formats, +3 more.

run_figcraft_commandsRun FigCraft engine commandsB
Destructive

Advanced: run any FigCraft commands in order (node., page., component., instance., style., variable., align., layout., text., design., export.*...) plus the engine tools create_node / set_properties / inspect_document / get_node / select / export / screenshot / design_context (step id = the tool name), on a new or an opened design, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based), e.g. "$steps[0].id".

Inputs: name, steps, formats, preview, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 10 tools

    Disambiguation3/5

    Core editing tools are distinguishable, but there is meaningful overlap: create_design and edit_design both save exports and run reviews, review_design with fix=true edits files, render_design and export_design both produce images, and run_figcraft_commands is a superset covering nearly every other tool. An agent could reasonably pick the wrong entry point for 'produce an image' or 'fix the design'.

    Naming Consistency4/5

    Almost all tools follow a verb_noun pattern (create_design, edit_design, export_design, review_design, render_design), with get_* and list_* used for read-only operations. Minor deviations: nouns sometimes carry the figcraft prefix (run_figcraft_commands, list_figcraft_catalog) and get_design_info adds a suffix, but overall predictable.

    Tool Count5/5

    Ten tools is well within the sweet spot and each maps to a distinct phase of the design workflow (create, edit, review, export, render, inspect, operate). The advanced escape hatch is contained in a single tool rather than exploding the surface.

    Completeness5/5

    The surface covers the full lifecycle: cataloging capabilities, creating, editing, reviewing/fixing, exporting/converting, inspecting, rendering, opening in the desktop app, and arbitrary command execution for gaps. No obvious dead ends for a Figma-class design server.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides professional UI/UX design expertise and frontend development tools for analyzing interfaces, generating design systems, and creating modern components with accessibility and best practices built-in. Supports React, Vue, Angular and other frameworks with seamless Claude Code CLI integration.
      4
      23
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Turn HTML and Claude Design exports into native, editable Figma frames with Auto Layout and your Design System components, build screens and prototypes from prompts, and implement Figma frames in code with your own React components. Runs locally with Figma desktop (no API keys or cloud): run npx layerwright init, import the plugin in Figma, see the Quickstart in the README.
      22
      11
      MIT