Unity MCP
About This Server
A bridge between AI assistants and the Unity Editor. Lets AI directly operate Unity scenes: create and modify game objects, edit materials, run scripts, and control editor state — dramatically boosting game development productivity.
Installation
npx -y @coplay/unity-mcpFrequently Asked Questions
What can Unity MCP do?
Lets AI agents directly operate the Unity Editor: create and delete game objects, modify Transform components, edit materials and shaders, start/stop Play mode, execute C# scripts, and query scene hierarchy. Ideal for AI-assisted game development, scene building, and automated testing.
What do I need to install for Unity MCP?
You need Unity Editor (2019.4 or newer) and Node.js. The MCP server connects via Unity's Editor Scripting API and auto-connects to running Unity instances. It's recommended to install the companion Editor package in your Unity project.
Is Unity MCP free?
Completely free and open source (MIT license), no API key needed. All operations execute in your local Unity Editor — data never leaves your machine.