Unity MCP Server
Unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, anim
What is Unity MCP Server?
Unity MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to unity mcp server — 268 tools for ai-assisted game development. connect claude, cursor, or any mcp client to unity editor & unity hub. scene management, gameobjects, components, builds, profiling, shad...
Unity MCP Server — 268 tools for AI-assisted game development. Connect Claude, Cursor, or any MCP client to Unity Editor & Unity Hub. Scene management, GameObjects, components, builds, profiling, Shader Graph, Amplify, terrain, physics, NavMesh, anim
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Unity MCP Server — 268 tools for AI-assisted game developmen
Use Cases
Maintainer
Works with
Installation
NPM
npx -y unity-mcp-serverManual Installation
npx -y unity-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Unity MCP Server
Unity MCP Server provides over 268 tools that connect AI assistants (Claude, Cursor, Codex, VS Code, and local LLMs) directly to the Unity Editor and Unity Hub for AI-assisted game development. It enables managing scenes, GameObjects, components, scripts, assets, builds, terrain, physics, NavMesh, animations, Shader Graph, profiling, and more — all through natural-language commands from your AI client. Game developers use it to automate repetitive Unity workflows, generate boilerplate code, and iterate on scenes without switching windows.
Prerequisites
- Unity Editor installed (2021 LTS or newer recommended)
- Python 3.10+ installed on your system
- Claude Desktop, Cursor, VS Code, or another MCP-compatible AI client
- Git or Unity Package Manager access to install the package
Install the Unity package via Package Manager
Open Unity, go to Window > Package Manager, click the + button, choose 'Add package from git URL', and paste the repository URL.
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#mainConfigure detected AI clients from Unity
After installation, open Window > MCP for Unity > Configure All Detected Clients. The tool auto-detects installed AI clients and writes the necessary config entries.
Add the MCP server to your AI client manually (if needed)
If auto-detection does not configure your client, add the server block manually to your Claude Desktop or Cursor config.
{
"mcpServers": {
"unity-mcp-server": {
"command": "npx",
"args": ["-y", "unity-mcp-server"]
}
}
}Verify the connection in Unity
With both Unity Editor and your AI client running, check the MCP for Unity panel (Window > MCP for Unity) to confirm the client connection is active.
Enable beta features (optional)
For access to beta tools including advanced VFX, animation, and UI tool groups, change the package URL to use the #beta branch instead of #main.
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#betaUnity MCP Server Examples
Client configuration
Claude Desktop config for the Unity MCP Server npm package.
{
"mcpServers": {
"unity-mcp-server": {
"command": "npx",
"args": ["-y", "unity-mcp-server"]
}
}
}Prompts to try
Use these prompts in Claude or Cursor with the Unity MCP Server connected and Unity Editor open.
- "Create a red, blue, and yellow cube in the current scene"
- "Add a Rigidbody component to the Player GameObject"
- "Create a new C# script called PlayerMovement and attach it to the Player"
- "Build the project for Windows x64 and save to the Builds folder"
- "List all GameObjects in the current scene"Troubleshooting Unity MCP Server
Package Manager fails to fetch the git URL
Ensure Git is installed and accessible on your PATH (git --version). Unity Package Manager uses the system Git binary. Also check that your firewall allows connections to github.com.
AI client shows the server as disconnected
Ensure Unity Editor is open and the MCP for Unity package is loaded — the server only runs while Unity is active. Restart both Unity and your AI client and re-check the MCP for Unity panel for connection status.
Python 3.10+ not found error during server startup
Install Python 3.10 or newer and ensure it is on your PATH (python3 --version). On macOS, install via Homebrew: brew install [email protected]. The server requires Python to bridge the Unity Editor communication.
Frequently Asked Questions about Unity MCP Server
What is Unity MCP Server?
Unity MCP Server is a Model Context Protocol (MCP) server that unity mcp server — 268 tools for ai-assisted game development. connect claude, cursor, or any mcp client to unity editor & unity hub. scene management, gameobjects, components, builds, profiling, shader graph, amplify, terrain, physics, navmesh, anim It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Unity MCP Server?
Install via npm with the command: npx -y unity-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Unity MCP Server?
Unity MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Unity MCP Server free to use?
Yes, Unity MCP Server is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Unity MCP Server Alternatives — Similar Developer Tools Servers
Looking for alternatives to Unity MCP Server? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Unity MCP Server in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Unity MCP Server?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.