OpenSource-Hub

unity-mcp

框架

CoplayDev/unity-mcp

将 AI 助手接入 Unity 编辑器,管理资源和场景。

项目简介

Unity MCP 通过模型上下文协议将 Claude、GPT 等大语言模型接入 Unity 编辑器,提供 47 个工具用于创建场景、编辑脚本、管理资源和自动化游戏开发流程。开源采用 MIT 许可证。

README 预览

\n  \n    \n    \n  \n\n\n\n\n[English](README.md)  [简体中文](docs/i18n/README-zh.md)    |    [Discord](https://discord.gg/y4p8KfzrN4)  [Wiki](https://coplaydev.github.io/unity-mcp/)\n\n#### Proudly sponsored and maintained by [Aura](https://www.tryaura.dev/) — the AI assistant for Unreal & Unity.\n##### And don't miss [Godot AI](https://github.com/hi-godot/godot-ai), the new open source project from the makers of MCP for Unity.\n\n\n\nCreate your Unity apps with LLMs. MCP for Unity bridges AI assistants — Claude, Codex, VS Code, local LLMs, and more — with your Unity Editor via Model Context Protocol. Give your LLM the tools to manage assets, control scenes, edit scripts, run tests, and automate your game dev workflows.\n\n\n  \n\n\n---\n\n\n\nRecent Updates\n\n* **[v10.0.0](https://github.com/CoplayDev/unity-mcp/releases/tag/v10.0.0)** (2026-06-30)\n* **[v9.7.3](https://github.com/CoplayDev/unity-mcp/releases/tag/v9.7.3)** (2026-06-15)\n* **[v9.7.1](https://github.com/CoplayDev/unity-mcp/releases/tag/v9.7.1)** (2026-05-24)\n* **[v9.7.0](https://github.com/CoplayDev/unity-mcp/releases/tag/v9.7.0)** (2026-05-22)\n* **[v9.6.8](https://github.com/CoplayDev/unity-mcp/releases/tag/v9.6.8)** (2026-04-27)\n\nFull history: [Release Notes](https://coplaydev.github.io/unity-mcp/releases).\n\n\n\n\n---\n\n## What it does\n\nControl the Unity Editor in natural language from any MCP client — create scenes & GameObjects, edit C# scripts, manage assets, run tests, profile, and build. 47 focused MCP tool entrypoints, any client, free & MIT.\n\n**[Browse the full tool catalog →](https://coplaydev.github.io/unity-mcp/reference/tools/)**\n\n---\n\n## Quickstart\n\n**Requirements:** Unity **2021.3 LTS → 6.x** · Python **3.10+** (via [`uv`](https://docs.astral.sh/uv/)). Works with **any MCP client** — Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more.\n\n1. **Install** — Unity → Package Manager → Add from git URL:\n   `https://gith