Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Unity MCP

MCP server by isuzu-shiranui Verified · shiranui-isuzu.dev

Unity MCP lets AI assistants control the Unity Editor through a Streamable HTTP endpoint served by the Editor itself. It covers scenes, prefabs, assets, shaders, Timeline, tests and builds, and suits Unity developers who work with AI agents.

  • Score 89
  • 347 stars
  • MIT
  • Updated

About

Unity MCP is a framework that opens the Unity Editor to AI agents. MCP clients connect directly to an endpoint that the Editor exposes at 127.0.0.1 over Streamable HTTP, so no separate MCP server process is needed. The same tools can also be called from the isuzu-unity-cli command line tool, which is distributed as a native executable.

Tools are defined by adding the McpTool attribute to a static C# method, and the JSON Schema is generated from the method signature. The source lists diagnostics, authoring, drawing, Timeline and Recorder, builds, C# snippet execution and input synthesis. Authoring tools group each call into one Undo operation. The project is aimed at Unity developers who want AI assistants to work inside their Editor.

Written from the project's README and checked against it.

Tools it gives your assistant

  • play_mode_statusReturns the play mode status of the running Editor.
  • test_runRuns Unity tests. Available only when com.unity.test-framework is installed.
  • test_resultsReads Unity test results. Available only when com.unity.test-framework is installed.
  • asset_find_by_typeFinds project assets of a given Unity type, with a limit on returned paths. Shown as an example in the source.
  • Diagnostics toolsRead the console, Editor.log, compile state, tests, scene hierarchy and assets.
  • Authoring toolsCreate and change GameObjects, components, assets, scenes, prefabs and Animator Controllers.
  • Timeline and Recorder toolsWork with Timeline, and with Recorder when com.unity.recorder and Timeline are both present.
  • Build toolsBuild the Unity project from the assistant.
  • C# snippet executionRuns C# snippets inside the Editor.
  • Input synthesisSynthesizes pointer and key input in the Editor, with record and replay tools.

What you need

  • Unity Editor 2022.3 or later
  • Git 2.14.0 or later in PATH, for installing from a git URL
  • .NET 10 SDK, only for the dotnet tool install route
  • Windows, macOS or Linux for the CLI install scripts
SettingNeededWhat it is
UNITY_MCP_STATE_DIREnvironment variableOptionalWhere the Editor writes its descriptors. Set this only when the default location cannot be reached, such as from WSL.
UNITY_MCP_HOSTEnvironment variableOptionalReplaces 127.0.0.1 in the descriptor endpoint, for reaching an Editor on the Windows host from WSL.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Check whether Unity is in play mode and show me the console errors.
  • Find all Material assets in this project and list their paths.
  • Run the Unity tests and summarize any failures.

Good to know

  • The server binds only to 127.0.0.1.
  • Timeline tools appear only when com.unity.timeline is installed.
  • Test tools appear only when com.unity.test-framework is installed.
  • No MCP tools are included in player builds, including Development Builds.

Security check

C
  • Downloads a script from the internet and runs itIn README.md: irm https://raw.githubusercontent.com/isuzu-shiranui/UnityMCP/main/install.ps1 | iex

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Unity MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Unity MCP: common questions

Does Unity MCP need Node.js or a .NET runtime?

The source says the distributed CLI executable is native, so it needs neither Node nor a .NET runtime. The dotnet tool install route does require the .NET 10 SDK.

Which AI clients does Unity MCP work with?

The source says the author has tested it with Claude Code, Cursor, Codex, Gemini CLI, VS Code and Claude Desktop. The CLI setup command accepts these agents as options.

Is Unity MCP safe to run on a shared network?

The server binds to 127.0.0.1 only and requires a bearer token on all requests except OPTIONS. The source also says the descriptor and token files should be treated as credentials.

Is Unity MCP the official server?

Unity MCP is published by shiranui-isuzu.dev from its verified domain in the official MCP Registry.

Is Unity MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Unity MCP safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade C (downloads a script from the internet and runs it). Review the code before you install. How grades work.

What are alternatives to Unity MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Unity MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.