FigCraft MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIGCRAFT_APP | No | Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage). | |
| FIGCRAFT_CLI | No | Path of figcraft-cli / figcraft-cli.exe (wins over FIGCRAFT_DIR). | |
| FIGCRAFT_DIR | No | FigCraft folder, one of its executables, a .tar.gz root (with bin/) or FigCraft.app. Default: auto-detect. | |
| FIGCRAFT_MCP_TIMEOUT | No | Maximum seconds per engine call (default 3600). | 3600 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Designs screens, web pages, components, banners and icons with the engine of the locally installed FigCraft (Windows, macOS, Linux), an open-source Figma-class interface design tool: frames with auto layout (layout, gap, padding, sizingH / sizingV), text, shapes, vectors and components with copies (instances) that keep following their main component; edits of existing .figcraft files (and .fig, .sketch, .penpot, .svg imported best effort); export of each top-level frame as PNG, JPG, SVG, PDF or WEBP; the design review (spacing, radii, type, colour, contrast, naming; score out of 100) and its automatic fixes. Coordinates are design units (1 unit = 1 px at 100 %), x right and y down, relative to the parent frame. Colours are "#RRGGBB". Build repeated UI (buttons, inputs, cards) as one component and place instances of it. All paths must be absolute; inputs are only read; files are never overwritten unless overwrite is true. The engine runs headless and never touches the FigCraft app. list_figcraft_catalog lists the commands and properties; run_figcraft_commands runs any engine command. When a result lists output files it includes files_markdown: ready-made links (file:/// URLs) to every file and folder written. Show them to the user exactly as given (one per line, or inside a table cell) so each output can be opened from the chat; never retype the paths. If your app also has a tool that delivers or presents files to the user (for example present in DeepSeek Harness), call it with the output files too, so they appear as cards that open in the app.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_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. |
| edit_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. |
| export_designA | 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. |
| review_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). |
| get_design_infoB | 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. |
| render_designB | Pictures of a design to look at it: the whole page or given frames / layers (up to 4 images), optionally saved as PNG files. |
| list_figcraft_catalogA | 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. |
| run_figcraft_commandsB | 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". |
| open_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). |
| get_figcraft_statusA | Check the FigCraft installation: platform, executables, version, engine commands, formats, whether the app is running. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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.