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.
Give Google Antigravity, Cursor, Claude Code, Claude Desktop, Windsurf, and other AI-powered coding tools live, real-time control over your FigCraft Desktop canvas with this Model Context Protocol server.
Unlike static CLI bridges that dump layouts in a single frozen frame or generate noisy "AI slop" interfaces, FigCraft-MCP streams every element step-by-step with a live multiplayer cursor (~85ms/element) and enforces a strict Anti-Slop UI design system inspired by Shadcn UI, Radix Primitives, and Apple HIG.
See quickstart instructions -> · See step-by-step usage guide ->
Visual Showcase & Demo
1. Real-Time Multiplayer Cursor & Step-by-Step Live Streaming
Every layer (frame, rectangle, text, vector icon) is created step-by-step at 85ms/element with live multiplayer cursor tracking (Antigravity AI) and bounding-box selection highlights on your open FigCraft canvas:
2. Clean, Anti-Slop UI Output (Shadcn / Radix / Apple HIG Standard)
Built-in anti-slop-ui rules prevent AI models from generating neon gradients, gratuitous "AI Insight" or "AI Matched" sparkle badges, loud orange/purple input boxes, or Unicode emojis:
3. Interactive Prototype Flows
Connect buttons, segmented tabs, popup bottom sheets, and navigation bars across all frames with smartAnimate, dissolve, push, slideIn, and moveOut transitions using create_prototype_link:
Related MCP server: figcraft-app-mcp
Quickstart
One command sets up your AI apps (Google Antigravity, Claude Desktop, Claude Code, Cursor, Windsurf, VS Code) and links them to FigCraft Desktop:
macOS / Linux
curl -LsSf https://raw.githubusercontent.com/zuna107/figcraft-mcp/main/install.sh | shWindows (PowerShell)
irm https://raw.githubusercontent.com/zuna107/figcraft-mcp/main/install.ps1 | iexFrom Command Prompt instead: powershell -c "irm https://raw.githubusercontent.com/zuna107/figcraft-mcp/main/install.ps1 | iex"
Prefer not to run a remote script? Clone the repository or use uvx directly:
git clone https://github.com/zuna107/figcraft-mcp.git
cd figcraft-mcp
pip install -e .
figcraft-mcp setupAlready have uv installed? Run setup directly from GitHub:
uvx --from git+https://github.com/zuna107/figcraft-mcp figcraft-mcp setupfigcraft-mcp setup automatically locates the MCP clients installed on your machine (Google Antigravity, Claude Desktop, Claude Code, Cursor, Windsurf, VS Code), adds the figcraft server entry, and saves a .bak backup of each config file it modifies.
Then fully quit and reopen your AI app, open FigCraft Desktop, and ask your AI agent to design, audit, or prototype screens.
1. Add to mcp_config.json / claude_desktop_config.json / .cursor/mcp.json
{
"mcpServers": {
"figcraft": {
"command": "figcraft-mcp",
"args": [],
"env": {
"FIGCRAFT_PORT": "7979",
"FIGCRAFT_STREAM_STEPS": "1",
"FIGCRAFT_STREAM_DELAY_MS": "85"
}
}
}
}Or run zero-install via Node.js (npx):
{
"mcpServers": {
"figcraft": {
"command": "npx",
"args": ["-y", "github:zuna107/figcraft-mcp"],
"env": {
"FIGCRAFT_PORT": "7979",
"FIGCRAFT_STREAM_STEPS": "1",
"FIGCRAFT_STREAM_DELAY_MS": "85"
}
}
}
}Or run zero-install via uvx:
{
"mcpServers": {
"figcraft": {
"command": "uvx",
"args": ["--from", "git+https://github.com/zuna107/figcraft-mcp", "figcraft-mcp"],
"env": {
"FIGCRAFT_PORT": "7979",
"FIGCRAFT_STREAM_STEPS": "1",
"FIGCRAFT_STREAM_DELAY_MS": "85"
}
}
}
}2. Install as a Full Agent Plugin (MCP + Skills + Rules)
To bundle the MCP server together with the figcraft skill, anti-slop-ui skill, and always-on rules/AGENTS.md:
# Google Antigravity (Global Plugin)
git clone https://github.com/zuna107/figcraft-mcp.git ~/.gemini/config/plugins/figcraft-mcp
# Workspace-Scoped Plugin
git clone https://github.com/zuna107/figcraft-mcp.git .agents/plugins/figcraft-mcpHow to Use with FigCraft Desktop
Follow these step-by-step instructions to design, inspect, audit, and prototype UI screens live in FigCraft Desktop:
Step 1: Launch FigCraft Desktop
You do not need to pass any special command-line flags manually. When your AI agent calls any
figcraftMCP tool,figcraft-mcpchecks TCP port7979and automatically launches the visible FigCraft Desktop window with--control 7979if it is not running yet.If you launch FigCraft Desktop yourself from a terminal or shortcut, include
--control 7979:"C:\Program Files\ArtCraft\FigCraft\figcraft.exe" --control 7979
Step 2: Connect Your Canvas (Choose Mode A or Mode B)
Mode A: Zero-Click Local Control (Default)
Simply open any
.figcraftfile (or start a new tab) in FigCraft Desktop and send a prompt in your AI IDE.figcraft-mcpautomatically locks onto your active document and streams everyframe,rectangle,text, andvector iconstep-by-step (~85ms/element) with live bounding-box selection highlights.
Mode B: Live Collaboration Session & Multiplayer AI Cursor (Share -> Live Session)
Want to see the purple
Antigravity AImultiplayer cursor move across your canvas in real time?In the top-right corner of FigCraft Desktop, click
Share->Live Session(or ask your AI agent to start a local live session viacollab.sharewith{"via": "local"}).figcraft-mcpautomatically inspectsdoc.listandcollab.peersto attach to the activelivesession tab and broadcasts real-time cursor coordinates (collab.cursor) as it builds and edits components on your canvas.
Step 3: Prompt Your AI Agent (Step-by-Step Workflow)
You can talk to your AI agent in natural language. Here is the recommended workflow:
Generate Clean UI Screens from Requirements (Anti-Slop UI Enabled)
"Create Sign In and Create Account screens side-by-side (360x800) following the anti-slop-ui guidelines with a clean neutral segmented tab switcher and Lucide vector icons."
Build Interactive Overlays & Searchable Components
"Create Popup Bottom Sheets for Screen 2 and Screen 3 using Screen 1 as a locked backdrop behind a 45% dark scrim." "Update Screen 4 to use a compact searchable category dropdown (max 180px height) with an internal 4px vertical scrollbar and a
+ New Categoryoption when a search query is not found."Audit & Refactor Existing Screens to Remove AI Slop
"Audit Screen 5 and Screen 6 using anti-slop-ui rules: remove decorative AI sparkle badges, keep colors neutral, and place the
+ Add Walletbutton directly below the Total Assets card."Wire & Test Interactive Prototype Flows
"Connect all screens on Page 1 with interactive prototype transitions (
smartAnimatefor tabs,slideInfor bottom sheets,pushfor screen navigation)."To test the interactive flow in FigCraft Desktop, switch the right sidebar to the
Prototypetab or click the Play (▶) button in the top-right toolbar.
Available MCP Tools (27 Total)
In addition to forwarding native FigCraft CLI tools (inspect_document, get_node, create_node, set_properties, batch, run_command, export, screenshot, save_file, open_file, pointer, key, type_text, select, undo, redo, etc.), figcraft-mcp injects 8 specialized, token-optimized tools:
Tool Name | Description & Token Efficiency |
| Anti-Slop Starter: Instantiates official starter templates ( |
| Native Code Export: Compiles any frame directly into Tailwind CSS v4, Jetpack Compose, SwiftUI, React TSX, or Flutter without LLM hallucination. |
| Few-Shot Token Extractor: Pulls color variables (Light/Dark), spacing, radii, and fonts directly from canvas in < 200 tokens. |
| Token Saver (98%): High-speed overview of all top-level screen frames on the active page (IDs, names, positions, sizes) using outline projection. |
| Token Saver (90%): Substring search for target layers (by name or text content) within a specific frame, ideal for targeted modifications and edits. |
| Returns universal anti-slop quality heuristics, multi-style presets ( |
| Places any of 39 pre-scaled 24x24 Lucide vector icons ( |
| Connects a clickable source node ( |
Anti-Slop UI Design Standards
Every agent using figcraft-mcp is guided by the bundled anti-slop-ui skill and rules/AGENTS.md:
Component | AI Slop Pattern (Banned) | FigCraft-MCP Standard (Enforced) |
Headers & Summary Cards | Gratuitous purple/pink badges ( | Clean typographic hierarchy ( |
Segmented Tab Switchers | Colored red/green arrows or icons inside tabs | Neutral |
Category Dropdowns | Bright orange/purple fills ( | Compact |
Iconography | Inconsistent Unicode emojis ( | 100% crisp 24x24 Lucide vector stroke icons via |
Popups & Bottom Sheets | Floating sheet over an empty black box | Parent screen duplicated as a locked backdrop behind a |
Environment Variables
Variable | Default | Description |
|
| TCP control port used to attach to the live FigCraft Desktop instance. |
|
|
|
|
| Delay in milliseconds between streamed elements ( |
| (empty) | Optional |
| (auto) | Custom path to |
| (auto) | Custom path to |
Contributing & Community
Contributions, icon additions, and Anti-Slop UI component recipes are welcome!
Read the Contributing Guide to get started with local development and unit testing.
For security reports, see our Security Policy.
License
Released 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
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Keeps Figma in sync with your Storybook and sends designers' changes to your coding agent.
Your AI agent designs editable, clickable UI prototypes on a live canvas.
Draft user flows with your coding agent, then share one link for teammates to review.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI coding agents to read and edit the file currently open in Figma Desktop through a local development plugin, supporting node inspection, JSON/image exports, and arbitrary Plugin API scripts without REST API rate limits.79 npmMIT
- AlicenseBqualityCmaintenanceDrives a running FigCraft desktop app through its local control channel, letting MCP clients inspect and edit documents, run menu-level commands, and capture screenshots with live UI feedback. It also exposes a Figma-compatible tool surface so existing Figma workflows and prompts can drive FigCraft unchanged.24GPL 3.0
- AlicenseCqualityCmaintenanceEnables AI coding assistants to create and edit FigCraft design files, automatically open them in the FigCraft GUI, and generate responsive UI/UX live on screen with Figma-grade auto-layout, anti-overflow text constraints, luxury theming, and built-in layout auditing. It also supports batch operations, screenshots, document inspection, and saving canvases back to disk.301MIT
- AlicenseBqualityBmaintenanceEnables AI coding agents to read and edit Figma desktop files locally, enforce developer-friendly token, layout, and naming rules, lint designs, batch changes with a single undo, and translate selected frames into code.25MIT