# unity-mcp

> unity-mcp is an open-source MCP server for ai models and llm tooling. MCP server that lets AI assistants drive the Unity Editor for scenes, scripts and assets. It is available on macOS, Windows, Linux, vscode, CLI and self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, Windows, Linux, vscode, CLI, self-hosted
- **Website:** https://coplaydev.github.io/unity-mcp/
- **Repository:** https://github.com/coplaydev/unity-mcp
- **GitHub stars:** 16,043
- **License:** MIT
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-18

## About

The Unity side runs as a C# package inside the Editor, while a Python server sits between your MCP client and the plugin, routing commands to the main thread and keeping sessions separate. Clients such as Claude, Codex, VS Code or Cursor can then create GameObjects, edit scripts, manage prefabs and materials, and run tests using natural-language prompts.

The README says the server exposes 50 tools across grouped domains, with optional groups such as animation, vfx, ui and testing that can be switched on per session. Several Editor instances can be open at once, and a single MCP session can be pointed at any of them. Supported Unity versions run from 2021.3 LTS through 6.x.

It suits Unity developers and technical artists who want an assistant to handle repetitive editor work or prototyping. Teams can also add their own C# tool registrations, and the project is MIT-licensed and free to use.

## Features

- **Scene and asset control:** Lets an MCP client create and edit GameObjects, scenes, prefabs, materials and assets in the Unity Editor.
- **Multiple Editor routing:** Open several Unity Editors and direct a single MCP session at any of them, with per-call routing.
- **HTTP and stdio transports:** Supports HTTP for shared or remote setups and stdio for single-client use such as Claude Desktop.
- **On-demand tool groups:** Activates optional groups like animation, vfx, ui and testing only when a session needs them.
- **Custom C# tools:** Developers can register new tool domains with a C# attribute, scoped to a project or globally.
- **Test and build support:** Runs tests, profiles and builds from natural-language prompts, according to the README.

## Good for

- Prototyping a scene by describing objects and components to an AI assistant
- Batch-editing scripts, prefabs or materials across a Unity project
- Running editor tests from an AI client during development
- Driving several Unity projects from one assistant session

## FAQ

### Which Unity versions are supported?

The README lists Unity 2021.3 LTS through 6.x, and requires Python 3.10 or newer.

### What does it cost?

The README describes it as free and MIT-licensed, with no account required.

### Which AI clients work with it?

The README names Claude Desktop and Code, Cursor, VS Code, Windsurf, Cline and Gemini CLI, and says it works with any MCP client.

### Is unity-mcp free?

Yes. unity-mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to unity-mcp?

The closest alternatives to unity-mcp are Unreal Engine MCP, CodeFizz Editor Agent, Proxima, AI Game Developer: MCP for Unity, Unreal and Godot and Unified AI System MCP Gateway.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [Unreal Engine MCP](https://ai-powered.com/mcp/unreal-engine-mcp): Unreal Engine MCP is an open-source MCP server for developer tools.
- [CodeFizz Editor Agent](https://ai-powered.com/mcp/codefizz-editor-agent): CodeFizz Editor Agent is an MCP server for games and play.
- [Proxima](https://ai-powered.com/mcp/proxima): Proxima is a freemium MCP server for ai models and llm tooling.
- [AI Game Developer: MCP for Unity, Unreal and Godot](https://ai-powered.com/mcp/ai-game-developer-mcp-for-unity-unreal-and-godot): AI Game Developer: MCP for Unity, Unreal and Godot is a freemium MCP server for games and play.
- [Unified AI System MCP Gateway](https://ai-powered.com/mcp/unified-ai-system-mcp-gateway): Unified AI System MCP Gateway is an open-source MCP server for developer tools.
- [Kitsune MCP](https://ai-powered.com/mcp/kitsune-mcp): Kitsune MCP is an open-source MCP server for developer tools.
- [UVCS MCP](https://ai-powered.com/mcp/uvcs-mcp): UVCS MCP is an open-source MCP server for developer tools.
- [Chrome DevTools MCP](https://ai-powered.com/mcp/chrome-devtools-mcp-4): Chrome DevTools MCP is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/unity-mcp-2
