UnityFigmaMCP
Build Unity UI prefabs from Figma designs using AI agents via Model Context Protocol
Install / Use
claude mcp add chav0 -- npx -y github:chav0/UnityFigmaMCPIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
DesignSupported Platforms
Our assessment of UnityFigmaMCP
UnityFigmaMCP scores 80/100 on our quality scale, 227th of 264 Design skills we index.
Its MCP Server is 8.2 KB long, well organised into 16 sections with 10 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated 21 days ago, so UnityFigmaMCP is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
UnityFigmaMCP compared with similar skills
All 4 of these similar skills score higher than UnityFigmaMCP; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| UnityFigmaMCP (this skill)by chav0 | 80 | 10 | 21d ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 108.6k | 2d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 108.0k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install UnityFigmaMCP?
- Run
claude mcp add chav0 -- npx -y github:chav0/UnityFigmaMCP. The install tabs above show the steps for each supported agent. - Which AI agents does UnityFigmaMCP work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is UnityFigmaMCP safe to use?
- It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is UnityFigmaMCP still maintained?
- The repository was last updated 21 days ago, so UnityFigmaMCP is actively maintained.
Skill content
View source on GitHubUnityFigmaMCP
Build Unity UI prefabs from Figma designs using AI agents via Model Context Protocol.
An AI agent reads your Figma file, talks to the Unity Editor in real time, and assembles prefabs — with layout, text, images, components, and variants — without you writing a single line of code.
┌─────────────┐ MCP (stdio) ┌─────────────────┐ SignalR ┌──────────────┐
│ AI Agent │ ◄───────────────────► │ MCP Server │ ◄────────────► │ Unity Editor │
│ │ │ (.NET 8) │ localhost │ Package │
└─────────────┘ └────────┬────────┘ └──────────────┘
│
Figma REST API
│
┌────────▼────────┐
│ Figma File │
└─────────────────┘
How it works
- You give the agent a Figma URL and say "build a prefab"
- The MCP server fetches the design tree from Figma
- It sends the layout data to Unity Editor via SignalR
- Unity runs the pipeline — RectTransform, Text, Image, Layout Groups, ContentSizeFitter — and saves a
.prefab - Component instances are resolved automatically: if a sprite or prefab is already bound, it gets reused
The whole thing runs locally. Your Figma token stays on your machine.
Features
13 MCP tools for full Figma-to-Unity control:
| Group | Tools | What they do |
|-------|-------|--------------|
| Figma | figma_get_node, figma_get_node_names, figma_get_component_info, figma_export_image | Fetch design data, hierarchy, component keys, export PNGs |
| Build | unity_build_prefab, unity_get_pipelines | Build prefabs from Figma nodes with configurable pipelines |
| Edit | unity_edit_prefab, unity_save_prefab, unity_get_hierarchy | Modify prefabs, extract sub-prefabs, inspect hierarchy |
| Assets | unity_save_sprites, unity_bind, unity_list_assets | Import sprites, bind assets to Figma keys, list project assets |
| Status | status | Check Figma token, Unity connection, server health |
6 AI skills — ready-made workflows for any MCP-compatible agent:
| Skill | What it does |
|-------|--------------|
| /build-prefab | Full Figma-to-Unity prefab pipeline with preview, renaming, and variants |
| /update-prefab | Sync an existing prefab with Figma changes |
| /download-sprites | Export and import sprites from Figma |
| /bind-figma-unity | Link existing Unity assets to Figma components |
| /inspect-diff | Compare a prefab against its Figma source (read-only) |
| /setup-project | Diagnose connections, tokens, and pipeline config |
Layout pipeline with configurable steps: RectTransform · Text (TextMeshPro) · Image · Horizontal/Vertical Layout Groups · Grid · ContentSizeFitter
Quick Start
Prerequisites
- Unity 2021.3 or later
- .NET 8 SDK
- An MCP-compatible AI agent (Claude Code, Cursor, Windsurf, or any other)
- Figma access token
1. Install the MCP Server
Clone this repository outside your Unity project (it's not a Unity asset — it's a standalone server):
git clone https://github.com/chav0/UnityFigmaMCP.git
Add the server to your MCP client config.
Claude Code (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"unity-figma-mcp": {
"command": "/path/to/UnityFigmaMCP/UnityFigmaMCPServer/run-mcp.sh",
"env": {
"FIGMA_ACCESS_TOKEN": "your-figma-token"
}
}
}
}
On Windows, use run-mcp.bat instead of run-mcp.sh.
2. Install Dependencies
Open your Unity project, then install these packages via Window > Package Manager > + > Add package from git URL:
-
NuGetForUnity — NuGet package manager for Unity:
https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity -
SerializeReference Extensions — required for pipeline step selection in the Inspector:
https://github.com/mackysoft/Unity-SerializeReferenceExtensions.git?path=Assets/MackySoft/MackySoft.SerializeReferenceExtensions -
SignalR Client — open NuGet > Manage NuGet Packages, search for
Microsoft.AspNetCore.SignalR.Clientand install it
3. Install the Unity Package
In Package Manager, add one more git URL:
https://github.com/chav0/UnityFigmaMCP.git?path=UnityFigmaMCPPackage
To pin a specific version:
https://github.com/chav0/UnityFigmaMCP.git?path=UnityFigmaMCPPackage#v0.1.2
The package auto-connects to the MCP server on port 52802 when the Editor starts.
Note: The cloned repo and the Unity package are separate things. The repo contains the MCP server source code; the Unity package is installed independently via UPM from the same git URL but a different path. They don't conflict.
4. Configure a Layout Pipeline
Open the FigmaAutoLayoutSettings asset (Assets/UnityFigmaMCP/Editor/) in the Inspector
and add at least one pipeline. A basic pipeline for screens includes these steps:
Text · RectTransform · Image · Vertical Layout Group · Horizontal Layout Group · Grid
Also set Prefab Folder and Sprites Folder to where you want generated assets saved
(e.g. Assets/Prefabs and Assets/Sprites).
Without a pipeline, unity_build_prefab has nothing to run and the build will fail.
5. Bind Your UI Kit
Before building prefabs, bind your existing sprites and prefabs to Figma components. This lets the build pipeline reuse your assets instead of generating placeholders.
Use the /bind-figma-unity skill, or call unity_bind manually:
Bind my UI kit sprites and prefabs to Figma components from file abc123, node 100:200
This step is important — without binding, the agent won't know which Unity assets correspond to which Figma components, and builds will have missing references.
6. Add Skills (Optional)
Skills are Markdown workflow files that teach the agent to use the MCP tools effectively. They work with any agent that supports skill/instruction files — not just Claude Code.
Claude Code — copy into your project:
cp -r /path/to/UnityFigmaMCP/.claude/skills/* /path/to/your-project/.claude/skills/
Other agents — copy the skill Markdown files into your agent's instruction/prompt directory. The skills are plain Markdown with no agent-specific dependencies.
7. Verify
Open Unity, then ask your agent:
Check the project status
This runs the status tool and confirms both the Figma token and Unity connection are working.
Documentation
- Installation Guide — detailed setup for macOS and Windows
- Tools Reference — all 13 MCP tools with parameters and examples
- Skills Guide — how to use the 6 AI skills
- Architecture — how the three components connect
Updating
Unity Package — change the tag in your Packages/manifest.json:
"com.hugglebit.unity.figma.mcp": "https://github.com/chav0/UnityFigmaMCP.git?path=UnityFigmaMCPPackage#v0.1.2"
MCP Server — pull and rebuild:
cd UnityFigmaMCP
git pull
The run-mcp.sh script rebuilds automatically on each launch.
Skills — re-copy the skill files from the updated repo.
Contact
Questions, ideas or bug reports are welcome.
- Email — alinulken@gmail.com
- Telegram — @alinulken
- LinkedIn — achupakhina
License
Related Skills
taste-skill
108.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
108.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
