FIGCRAFT-MCP
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.
Overview
FIGCRAFT-MCP connects native offline vector design in FigCraft with AI coding agents—including Antigravity, Claude Desktop, Cursor, Gemini CLI, and custom autonomous workflows—powered by the Model Context Protocol (MCP).
It allows AI agents to interact with design documents through two distinct operational modes:
Interactive Live Mode: Co-design side-by-side with your agent in a live FigCraft GUI window on port 9001.
Headless Automation Mode: Execute programmatic vector builds, layer inspections, and asset exports in background CI/CD pipelines.
Related MCP server: AI Agents Talk to Figma MCP
Prerequisites (Must Install FigCraft First)
Before using this MCP toolkit, you must have FigCraft installed on your machine.
Official Repository: storytold/figcraft
FigCraft: interface design and prototyping; an open-source, clean-room reimplementation of collaborative design workflows in pure Rust.
Installing FigCraft
Download prebuilt binaries from the official FigCraft Releases, or build from source using Rust:
git clone https://github.com/storytold/figcraft.git cd figcraft cargo build --releaseVerify that
figcraft(the desktop GUI application) andfigcraft-cli(the CLI and MCP engine) are installed on your machine.
Architecture
+---------------------------------------+
| AI Agent / Assistant |
| (Antigravity / Claude / Cursor / SDK) |
+-------------------+-------------------+
| JSON-RPC (MCP)
v
+-------------------------+
| figcraft-cli |
+------------+------------+
|
+----------------+----------------+
| |
v (Mode: --attach 9001) v (Mode: headless)
+-----------------------+ +-----------------------+
| FigCraft GUI | | In-Memory Engine Core |
| (Live Canvas Draw) | | (Headless Builds) |
+-----------------------+ +-----------------------+Operating Modes
1. Live Remote Mode (Interactive GUI)
Start FigCraft with remote listening enabled:
# Windows (Command Prompt / PowerShell) start-figcraft-live.bat # or .\start-figcraft-live.ps1 # macOS / Linux ./scripts/start-figcraft-live.sh # Or using Python CLI: python -m figcraft_mcp livePlace the FigCraft window side-by-side with your AI chat window.
Instruct your AI agent to design or modify components. Changes appear immediately on canvas.
2. Headless Mode (Background & CI/CD)
Execute node manipulations, inspect layer hierarchies, and export files directly through figcraft-cli without a graphical window.
Quickstart
1. Clone & Verify
git clone https://github.com/DimNih/AGENT-MCP-FIGCRAFT.git
cd AGENT-MCP-FIGCRAFT
# Run automated system diagnostics
python test-connection.py2. Generate Client Configuration
Generate the configuration matching your operating system and paths:
python -m figcraft_mcp setupTo write it directly to a file:
python -m figcraft_mcp setup -w mcp_config.jsonClient Integration
Claude Desktop
Add the following to your claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"figcraft-live": {
"command": "figcraft-cli",
"args": ["mcp", "--attach", "9001"]
}
}
}Antigravity & Cursor
Copy the configuration output from python -m figcraft_mcp setup into your workspace MCP settings.
Python SDK Example
from figcraft_mcp import FigCraftClient
# Connect to the live desktop session
with FigCraftClient(mode="live", port=9001) as client:
# 1. Create main container
card_id = client.create_frame(
name="Auth Card",
x=60,
y=48,
width=360,
height=200,
props={"cornerRadius": 8, "fills": [{"type": "solid", "color": "#171C25"}]}
)
# 2. Add text layer
client.create_text(
text="Access Gateway",
name="Header",
x=24,
y=28,
parent=card_id,
props={"fontSize": 16, "fills": [{"type": "solid", "color": "#F0F3F6"}]}
)
# 3. Add primary button
client.create_rect(
name="Button",
x=24,
y=120,
width=120,
height=36,
parent=card_id,
props={"cornerRadius": 4, "fills": [{"type": "solid", "color": "#E25624"}]}
)Run the built-in interactive demo:
python -m figcraft_mcp demoEnvironment Variables
Variable | Description |
| Explicit path to |
| Explicit path to |
| Custom root directory for headless operations (default: user home). |
Contributing
Contributions and bug reports are welcome. Please refer to CONTRIBUTING.md for details.
License
Distributed under the MIT License.
Tool 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
Connect your AI agent to 300+ methods and 100+ live tools
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Give AI agents your deeepSpace design system: components, tokens, styles and code mappings.
Build and run visual creative-production workflows from your AI agent.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to inspect Figma selections, navigate pages, render previews, generate starter code, and submit user-approved canvas edits through a local bridge.3 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, analyze, and modify Figma designs, including bulk style updates, accessibility audits, comment triage, and code generation from designs.842 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, create, edit, and organize Figma documents directly through a local plugin bridge, without needing a Figma AI subscription.3Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to read Figma designs and modify them programmatically, including creating and styling elements, editing text, managing layout and components, exporting images, and working with annotations and prototype connections.441MIT