CoplayDev/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.
What it solves
ゲーム開発における手作業の摩擦を取り除き、開発者が自然言語で Unity エディタを操作できるようにします。メニューを手動で操作したりオブジェクトをいじったりする代わりに、AI アシスタントを使って繰り返し作業や複雑なシーン設定を自動化できます。
How it works
本プロジェクトは Model Context Protocol(MCP)を実装し、AI アシスタント(Claude、Cursor、VS Code など)と Unity エディタの間のブリッジとして機能します。LLM が呼び出せる 47 の専門ツールエントリポイントを提供し、GameObject の作成、C# スクリプトの編集、アセット管理などの操作をエディタ内で直接実行できます。
Who it’s for
Unity(2021.3 LTS から 6.x まで)を使用するゲーム開発者で、LLM 駆動の自動化を開発フローに統合したい方。
Highlights
- Broad Compatibility: Works with any MCP-compliant client, including Claude Desktop, Cursor, Windsurf, and Gemini CLI.
- Comprehensive Control: Tools cover scene creation, script editing, asset management, testing, profiling, and building.
- Advanced Routing: Supports multi-instance routing for managing multiple Unity projects simultaneously.
- Developer Friendly: Includes Roslyn script validation to ensure generated code is correct.