# Unity — AI Game Developer

Drop the AI Game Developer plugin (Unity-MCP) into your Unity project and drive the Editor with AI. Supports Unity 2022.3 LTS and newer (including Unity 6 / 6000.x) and ships 190+ MCP tools across scenes, GameObjects, assets, scripting, and a deep bench of extension packages.

_Last updated: 2026-06-17_

Requirements: Unity 2022.3 LTS · Unity 2023 · Unity 6 (6000.x) · any version 2022.3+.

## Install — CLI (recommended)

```bash
npm install -g unity-mcp-cli
unity-mcp-cli install-plugin ./MyUnityProject
unity-mcp-cli open ./MyUnityProject
```

## Install — Installer / OpenUPM

Download AI-Game-Dev-Installer.unitypackage from the Unity-MCP GitHub releases and import it via Assets → Import Package → Custom Package…, or add it via OpenUPM: openupm add com.ivanmurzak.unity.mcp. See the Unity plugin setup guide for the full deep dive.

### Cloud (default)

Connect through ai-game.dev using the device-code OAuth flow — no tokens to copy by hand. From the AI Game Developer window choose Cloud, click Authorize, and approve the device code in your browser. Works across firewalls and gives you usage analytics. This is the default and what we recommend for most users.

### Custom (self-hosted)

Prefer to run everything locally? Point the plugin at your own gamedev-mcp-server instance instead of the hosted endpoint. Your AI client then talks straight to your machine. Client-by-client config snippets live on the MCP endpoint page (/mcp-endpoint-info).

## Example prompt

```text
Create a new scene with a directional light and a rotating cube, then enter Play mode.
```

---

Source (HTML): https://ai-game.dev/engines/unity
