FigCraft MCP Server
Supports reading .fig design files and exporting them to FigCraft or PNG, JPG, SVG, PDF, and WEBP formats.
Supports reading .penpot design files (best effort) and exporting them to FigCraft or PNG, JPG, SVG, PDF, and WEBP formats.
Supports reading .sketch design files (best effort) and exporting them to FigCraft or PNG, JPG, SVG, PDF, and WEBP formats.
Supports reading SVG files and exporting designs and frames as SVG.
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., "@FigCraft MCP Server Design a mobile sign-in screen and export it as PNG and SVG"
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.
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 |
| ✅ Verified (Windows 11) |
Linux (x86_64, aarch64, riscv64) |
|
| ✅ Verified (Debian 12, headless) |
macOS 11+ (Apple silicon and Intel) |
|
| 🟡 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-clizip and movefigcraft-clito/usr/local/bin(or pointFIGCRAFT_CLIat 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, setFIGCRAFT_APPsoopen_in_figcraftcan start it. On a server without a GPU, the verified setup usedlibxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.
How it works
Part | What it is |
FigCraft engine ( | 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 |
| 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 |
| Change a design by layer name: properties, texts, find and replace, new layers or component copies, delete or rename; saved as a copy |
| Designs (also .fig, .sketch, .penpot, .svg) → PNG, JPG, SVG, PDF, WEBP per frame, or editable .figcraft |
| Spacing, radii, type, colour, contrast and naming findings with a score out of 100; optional automatic fixes |
| Pages, frames, the layer tree, components with their copies, styles, variables and fonts |
| Pictures of a page or of given frames |
| Engine commands, layer types, properties and formats |
| Any engine command plus |
| Open designs in the FigCraft app |
| 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 PlatformsNode.js ≥ 20 (bundled with Claude Desktop for
.mcpbinstalls)
Installation
Claude Desktop (recommended, all platforms)
Download
figcraft-mcp-server.mcpbfrom the latest release.Double-click it (or drag it into Claude Desktop → Settings → Extensions) and click Install.
Optional: if FigCraft is not in a standard location, fill in its folder or the
figcraft-clipath 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):
Download
figcraft-mcp-server-<version>-codex.zipfrom the latest release.In Codex: Plugins → Add → New plugin, choose the zip and click Add plugin.
Codex starts the server with
node, so Node.js ≥ 20 must be onPATH. If FigCraft is not in a standard location, setFIGCRAFT_DIRorFIGCRAFT_CLIas system environment variables (Codex has no settings form for local plugins).
DeepSeek Harness
Plugins → Add plugin, enter
github:jhonsu01/craft-marketplace#path:/plugins/figcraft-mcp-serverand click Install, then Enable now.Harness runs the server with its own MCP client and
node(Node.js ≥ 20 onPATH); the tools appear asmcp__figcraft__<tool>and the output files as cards that open in Harness.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 buildWindows:
claude mcp add figcraft -- node "%CD%\dist\bundle.cjs"macOS / Linux:
claude mcp add figcraft -- node "$PWD/dist/bundle.cjs"Configuration
Variable | Meaning |
| FigCraft folder, one of its executables, a |
| Path of |
| Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage) |
| 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 existingoutput_pathis 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 zipLinux 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 toolscreate_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 infoBRead-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 statusARead-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, formatsARead-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 framesBRead-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 commandsBDestructive
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
Scored across 10 tools
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'.
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.
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.
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
Related MCP Connectors
Render and edit design images in Claude, then create interactive pages and PDF decks.
Compare Figma designs against live websites and get visual + content QA reports, from inside Claude.
Figma + Claude Code on your real app: screens, comments, tasks and drop-off for your coding agent.
Agent-Native design tool - create and edit visual designs with agent assistance
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides 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.423MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude Desktop to interact directly with Figma, allowing natural language commands to create, modify, and analyze designs including shapes, text, components, and layouts in real-time.MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with Figma designs, convert designs to code, extract variables, get screenshots, and more.1-
- AlicenseAqualityBmaintenanceTurn 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.2211MIT