# MCP for Unity

> Open-source bridge that lets AI assistants control the Unity Editor: scenes, scripts, assets, tests and builds.

- Official site: https://github.com/CoplayDev/unity-mcp
- Loot Llama page: https://lootllama.net/tools/mcp-for-unity/
- Category: Coding for Games (https://lootllama.net/category/coding-for-games/)
- Best for: Unity devs driving the editor from Claude, Cursor or VS Code
- Strength: Widely used (about 15k GitHub stars), MIT licensed, works with any MCP client
- Caveat: Requires Python and uv alongside Unity; agent quality depends on your model
- Pricing: Free (Free / open source (MIT))
- Platforms: Unity, MCP, Claude Code, Cursor, VS Code
- Tags: Coding, Agents, Open Source, Unity
- Last verified: 2026-10-15

## Overview

MCP for Unity (CoplayDev/unity-mcp) bridges AI assistants such as Claude, Codex, VS Code and local LLMs with the Unity Editor through the Model Context Protocol.

From plain-language prompts, an agent can create scenes and GameObjects, edit C# scripts, manage assets, run tests, profile and build. It exposes about 50 focused tool entrypoints and supports Unity 2021.3 LTS through 6.x.

## Key features

- Create scenes and GameObjects from prompts
- Edit C# scripts in your project
- Manage assets
- Run tests, profile and build
- Auto-configure detected MCP clients

## Use it for

- Have a coding agent set up a Unity scene
- Automate repetitive editor work
- Let an agent fix scripts and rerun tests

## Pricing

MCP for Unity is free and open source under MIT. Your AI client or model is billed separately.

## Getting started

In Unity's Package Manager, add the package from the GitHub git URL, then use Window > MCP for Unity > Configure All Detected Clients.

## Alternatives

- [Unity AI](https://lootllama.net/tools/unity-ai/): Unity's built-in AI assistant and asset generators inside the editor.
- [Godot AI](https://lootllama.net/tools/godot-ai/): Free MCP server and editor plugin that lets AI agents build scenes, scripts and UI inside a live Godot editor.
- [GitHub Copilot](https://lootllama.net/tools/github-copilot/): AI pair programmer in VS Code, Visual Studio and JetBrains IDEs.

---
From Loot Llama (https://lootllama.net/), a curated directory of AI tools for gamers, modders and game developers. Full catalog: https://lootllama.net/llms-full.txt
