# unity-mcp

> Unity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks…

- Type: agent or tool
- Field: Games & Graphics
- Repository: https://github.com/CoplayDev/unity-mcp
- GitHub stars: 16160
- Licence: MIT
- Language: C#
- Last push: 2026-11-17
- Page: https://imutechz.in/agents/unity-mcp

## What it is
MCP for Unity is a bridge between AI assistants and the Unity Editor, built on the Model Context Protocol. It gives MCP clients such as Claude, Codex, VS Code and local LLMs tools to manage assets, control scenes, edit C scripts, run tests, profile and build. It is aimed at game developers who want to drive Unity workflows in natural language. It is free and MIT licensed, and is not affiliated with Unity Technologies.

## Features
- 50 focused MCP tool entrypoints for the Unity Editor
- Create scenes and GameObjects from natural language prompts
- Edit C scripts and manage assets
- Run tests, profile and build
- Works with any MCP client, including Claude, Cursor, VS Code and Cline
- Tool groups for vfx, animation, ui and testing

## Best for
- Scene and GameObject creation from prompts
- Script and asset editing in Unity projects
- Automating test, profile and build steps
- Driving Unity from an existing MCP client

## Pros
- Works with any MCP client
- Free and MIT licensed
- Supports Unity 2021.3 LTS through 6.x
- Includes a one-step client configuration option

## Cons
- Requires Unity 2021.3 LTS to 6.x
- Requires Python 3.10+ via uv

## Install
```
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main
```

## Usage
```
Create a cube at the origin and add a Rigidbody.
```

Tags: unity, mcp, game-development, ai-assistant, editor-automation, csharp, model-context-protocol
