Unity-MCP

MCP.Pizza Chef: IvanMurzak

Your assistant gets hands-on access to the Unity editor: creating and moving objects, writing and running C# scripts, reading console errors and fixing them, then playing the scene to check the result. It works with Claude, Cursor, Copilot, Gemini, VS Code and others, and the same connection can run inside a compiled game for live debugging or AI-driven characters. Setup means installing a Unity package, either from the downloadable installer or the command-line helper.

Coding

Use This MCP server To

Ask for a new game object and watch it appear Fix console errors without hunting through the code myself Generate a C# script and run it in the editor Lay out a test level from a written description Have the assistant play the scene and report what broke Add AI behavior to characters inside a running game

README

✨ AI Game Developer — Unity SKILLS, MCP

MCP OpenUPM Docker Image Unity Editor Unity Runtime r
Discord OpenUPM Stars License Stand With Ukraine

AI work

Claude   Codex   Cursor   GitHub Copilot   Gemini   Antigravity   VS Code   Rider   Visual Studio   Open Code   Cline   Kilo Code

中文 | 日本語 | Español

Unity-MCP FAQ

Which assistants can drive Unity this way?
Claude, Codex, Cursor, GitHub Copilot, Gemini, VS Code, Rider, Visual Studio, Cline and other tools that accept MCP connections.
Does it cost anything?
The project is free and open source, and you bring your own assistant, so there is no lock-in to a single provider.
Can I use this to build a level from a description?
Yes — describe the layout you want and the assistant places the objects in the editor while you watch.
Does it only work while the editor is open?
No — unusually, it also runs inside your compiled game, so you can debug live or let characters talk to a model.
How hard is setup?
Expect a developer-level install: add the Unity package using the downloadable installer or the command-line tool, then point your assistant at it.
Can I add my own actions?
Yes — any C# method in your project can be turned into a tool for the assistant with a single line.