unity-mcp

unity-mcp

Unity MCP bridges AI assistants and the Unity Editor, enabling resource management, scene control, script editing, and more.

MCPDevOpen sourceUnityAI 助手MCP
Type
MCP
Transport
stdio
Open source
Yes
GitHub Stars
★ 11.0k
Source
mcp-github

Overview

Unity MCP is a tool that connects AI assistants with the Unity Editor. It allows AI assistants to manage resources in Unity projects, control scenes, edit scripts, run tests, and automate workflows via the Model Context Protocol (MCP). Ideal for developers looking to enhance Unity development efficiency with AI. Integration is done through Unity's Package Manager by installing the package and configuring all detected clients.

Capabilities

  • Manage Unity assets
  • Control scenes
  • Edit scripts
  • Run tests
  • Automate tasks

Use cases

AI-assisted Unity asset managementAutomated scene creation and modificationCode generation and debuggingAutomated testing and builds

Setup

Requires: Unity 编辑器Python 3.10+
In Unity: Window → Package Manager → + → Add package from git URL, paste: https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main. Then Window → MCP for Unity → Configure All Detected Clients.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

What AI assistants are supported?

Supports Claude, Codex, VS Code, local LLMs, and more.

How do I get started?

After installation, try entering a prompt like "Create red, blue, and yellow cubes in the current scene."

Related skills