Unity-MCP is a Unity plugin and server that connects Unity Editor and Unity game to AI clients like Claude or Cursor, allowing AI-driven tool access and automation within Unity workflows.
Unity-MCP is a Unity plugin and server that connects Unity Editor and Unity game to AI clients like Claude or Cursor, allowing AI-driven tool access and automation within Unity workflows.
Unity-MCP acts as a bridge between large language models (LLMs) and Unity, providing an interface for AI to understand and manipulate Unity tools. It supports connecting popular AI clients, like Claude Desktop or Cursor, through an integrated window. Developers can create custom tools and expose Unity functionalities, enabling AI to perform tasks such as creating game objects, modifying assets, and managing scenes. While currently limited to the Unity Editor, the system is designed for extensibility, allowing the addition of custom tools and future integration into player builds. It enhances productivity by automating complex workflows and enabling AI-assisted development in Unity projects.
Who will use Unity-MCP?
Unity developers
Game designers
AI researchers
Automation engineers
Unity plugin creators
How to use the Unity-MCP?
Step 1: Install the MCP plugin via OpenUPM or Unity Package Manager.
Step 2: Launch Unity Editor and open the 'AI Connector' window from the menu.
Step 3: Install an MCP client such as Cursor or Claude Desktop on your machine.
Step 4: Sign into the MCP client and configure the connection with the Unity MCP server.
Step 5: Restart the MCP client and ensure it's connected to Unity MCP.
Step 6: Test the AI connection by typing queries or commands to manipulate Unity assets or scene objects.
Step 7: Optionally, add custom tools by defining classes with appropriate attributes and register them for AI access.
Unity-MCP's Core Features & Benefits
The Core Features
Create, destroy, find GameObjects
Modify GameObject components and properties
Scene creation, loading, saving
Asset management (create, read, modify, delete)
Editor extension controls
Support for custom tool development
The Benefits
Enhanced AI-driven automation for Unity workflows
Extensible system for custom tool integration
Streamlined scene and asset management via AI commands
Supports rapid prototyping with AI assistance
Future-proof design for integrating AI in player builds
Unity-MCP's Main Use Cases & Applications
Automated scene and game object creation and modification
Rapid prototyping of game mechanics with AI guidance
Asset and scene management automation in Unity projects
AI-assisted debugging and log analysis
Developing AI-driven tools for Unity asset pipelines
FAQs of Unity-MCP
Can I use Unity-MCP with any AI client?
Is Unity-MCP compatible with all Unity versions?
How do I install Unity-MCP?
Can I create custom tools for Unity-MCP?
Does Unity-MCP support runtime (player) automation?
How secure is the connection between Unity and the AI client?
Can I automate asset import and export with Unity-MCP?
Is there support for debugging and log reading?
Are there any limitations to the plugins or tools I can develop?
Where can I find the documentation for advanced usage?