AI Game Developer (Unity MCP)
A Unity plugin with an MCP server, skills and CLI: the agent drives scenes, assets, scripts and tests in the Unity Editor
Install
npm install -g unity-mcp-cli
unity-mcp-cli install-plugin ./MyUnityProject
unity-mcp-cli login
unity-mcp-cli open ./MyUnityProjectReplace ./MyUnityProject with your project path.
This is third-party code. Review the repository files before installing.
What it does
The plugin installs into a Unity project and starts an MCP server the agent uses to work with the editor. More than seventy tools cover assets, prefabs and packages, scene objects and components, camera and window screenshots, console logs, play mode control, reading and editing scripts, running C# via Roslyn, running tests and the profiler. From the plugin window you can generate skills tailored to the Unity version, OS and installed packages. Custom tools take one line of code, and the plugin also runs inside built games.
Who it is for. For Unity game developers who want an agent to work directly in the editor.
Good fit when
- You need to build a scene or place objects from a description
- You need to write a game mechanic and run tests right away
- You need to find a bug from console logs and fix a script
Not a fit when
- The project is not Unity
- You cannot let the agent execute arbitrary C# in the editor
Example request
Create 3 cubes in a circle with radius 2 and make them rotateLimitations
Requires an open Unity Editor with the plugin installed. The unity-mcp-cli flow includes signing in to ai-game.dev in the browser. Asset deletion and code execution tools change the project, so work under version control.
How to disable. Remove the com.ivanmurzak.unity.mcp package via Package Manager and delete the ai-game-developer server from your MCP client config.
MCP
- Transport
- stdio, http
- Authentication
- not required
Security check
- Executes arbitrary C# code in the editor
- Can delete project assets, scripts and packages
README in short
The README covers installing the plugin via unitypackage, OpenUPM or unity-mcp-cli, choosing an agent and configuring it from the AI Game Developer window. For manual setup it gives server binary paths per platform and commands for Claude Code, Gemini CLI and Copilot CLI. It then lists built-in tools by section, workflow examples and how to create custom tools.
FAQ
How do skills differ from MCP setup?
The plugin window can generate skills (recommended) or configure an MCP client; both give the agent access to editor tools.
Can I skip the CLI?
Yes, download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp.
Related
A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review
Skills for real engineers by Matt Pocock
Skills For Real Engineers
Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture
GitHub toolkit for spec-driven development: the specify CLI adds agent commands and skills to a project, from principles to implementation
Reference MCP servers
Model Context Protocol servers
Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything