unity-mcp
Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
unity-mcp is an MCP server that connects AI assistants to the Unity Editor, enabling natural-language control of game development workflows. It exposes 47 MCP tools for managing assets, creating and editing scenes, modifying C# scripts, running tests, and automating Unity tasks. Developers can prompt their AI client to perform Unity operations—such as instantiating GameObjects, adding components, or building projects—without leaving their conversation. The server works with any MCP-compatible client including Claude Desktop, VS Code, Cursor, and Windsurf.
Key Features
Use Cases
- 01Rapidly prototyping game scenes by describing desired layouts and objects in natural language
- 02Automating repetitive Unity tasks like batch asset imports or component configuration
- 03Generating and editing C# scripts for game logic without manual file switching
- 04Running test suites and analyzing profiling data through conversational commands
- 05Teaching Unity development with AI-assisted explanations and live editor demonstrations
- 06Streamlining build pipelines by orchestrating Unity Editor operations from AI workflows
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
unity-mcp — FAQ
What is unity-mcp?+
unity-mcp is an MCP server that bridges AI assistants with the Unity Editor using the Model Context Protocol. It provides 47 tools that let your AI client manage assets, control scenes, edit scripts, run tests, and automate Unity workflows through natural language prompts.
How do I install unity-mcp?+
Install the package in Unity via Package Manager by adding the git URL https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main, or use OpenUPM with 'openupm add com.coplaydev.unity-mcp'. Then configure your MCP client through Window → MCP for Unity → Configure All Detected Clients in the Unity Editor.
Which AI clients work with unity-mcp?+
unity-mcp works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Cline, and Gemini CLI. The server uses the standard Model Context Protocol, so any client supporting MCP can connect.
What are the prerequisites for unity-mcp?+
You need Unity 2021.3 LTS or newer (through Unity 6.x) and Python 3.10 or later installed via uv. No API keys are required since the server communicates directly with your local Unity Editor instance.
Is unity-mcp free to use?+
Yes, unity-mcp is completely free and open-source under the MIT license. It is maintained by CoplayDev and sponsored by Aura, with no usage restrictions or costs.
Can I use unity-mcp with multiple Unity Editor instances?+
Yes, unity-mcp supports multi-instance routing that allows you to control multiple Unity Editor windows simultaneously. Refer to the Multi-Instance Routing guide in the documentation for configuration details.
How do I install unity-mcp?+
Open the source repository on GitHub and follow its README. unity-mcp is a mcp server — MCP Agents Market links you directly to the official repo.
Is unity-mcp free?+
unity-mcp is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.