MCP.so
Sign In

Unity MCP ✨

@justinpbarnett

About 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 within Unity.

Basic information

Category

Other

License

MIT

Runtime

c#

Transports

stdio

Publisher

justinpbarnett

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Unity MCP ✨?

Unity MCP ✨ bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with the Unity Editor via Model Context Protocol. It gives large language models the tools to manage assets, control scenes, edit C# scripts, run tests, and automate game development workflows.

How to use Unity MCP ✨?

Requires Unity 2021.3 LTS to 6.x and Python 3.10+ (via uv). Install the Unity package from the Package Manager using the git URL or via OpenUPM, then open Window → MCP for Unity → Configure All Detected Clients. Once configured, prompt any MCP‑compatible client (e.g., "Create a cube at the origin and add a Rigidbody") and the result appears in the Editor.

Key features of Unity MCP ✨

  • 47 focused MCP tool entry points, any client, free & MIT.
  • Manage assets, control scenes, edit C# scripts, run tests, profile, and build.
  • Works with Claude, Codex, VS Code, Windsurf, Cline, Gemini CLI, and more.
  • Supports multiple Unity instances with multi-instance routing.
  • Tool groups for VFX, animation, UI, testing, and others.
  • Roslyn script validation for safe code changes.

Use cases of Unity MCP ✨

  • Create and modify Unity scenes entirely through natural language prompts.
  • Edit and refactor C# scripts using an AI assistant in real time.
  • Automate routine asset management, build configurations, and testing.
  • Rapidly prototype gameplay logic without leaving the chat interface.
  • Run unit tests and profiling directly from an AI conversation.

FAQ from Unity MCP ✨

What Unity versions are supported?

Unity 2021.3 LTS through Unity 6.x.

Which AI clients can I use with Unity MCP ✨?

Any MCP client: Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more.

Is Unity MCP ✨ free to use?

Yes, it is available under the MIT open‑source license.

How do I install Unity MCP ✨?

Add the package via Unity Package Manager from the git URL https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main or via OpenUPM with openupm add com.coplaydev.unity-mcp. Then run the configuration window.

Does Unity MCP ✨ support multiple Unity instances?

Yes, through the Multi‑Instance Routing guide detailed in the project’s wiki.

Comments

More Other MCP servers