Skip to content
Ivan Murzak edited this page Nov 14, 2026 · 18 revisions

Unity MCP: AI skills, MCP tools and a CLI for the Unity Editor and Runtime

OpenUPM CLI Docker Unity
Release Discord License Stand with Ukraine

Unity MCP (AI Game Developer) connects AI agents such as Claude Code, Codex, Cursor, GitHub Copilot and Gemini to the Unity Editor and to your built game through the Model Context Protocol. The agent reads and changes scenes, assets and settings, writes and runs C#, runs tests and takes screenshots. It is free for game development, commercial games included, and open source (Apache-2.0; see the FAQ for the RQL and Code-Exec license), for Unity 2022.3 and newer.

Features

✅ RQL — read and change scenes, assets and settings with one query language
✅ C# and tests — write scripts, run C# with Roslyn, run EditMode/PlayMode tests
✅ Screenshots — let the agent see the Scene View, Game View or one object
✅ Skills or MCP — auto-generate skills or configure MCP for popular AI agents
✅ CLI — install, open, test and query projects from a terminal
✅ Runtime — run AI tools inside your built game
✅ Extensible — turn any C# method into a tool with one attribute

How it works

AI agent talks MCP to GameDev-MCP-Server, which talks SignalR to the Unity plugin, which calls the Unity API on the main thread

Since 1.0.0 most Editor work goes through RQL, a query language over the Editor's data: rql-query reads, rql-mutate changes and rql-schema describes what is available. A few focused tools cover screenshots, C# execution, tests and packages. Together they let the agent do virtually anything you can do in the Unity Editor (see the prompts in Examples and Tutorials). The tools are compact by design, so the agent needs fewer calls and tokens: see AI Tools Reference.

Start here

Links

Clone this wiki locally