unity-mcp
CoplayDev · CoplayDev/unity-mcp
Cho phép các tác nhân AI điều khiển Unity Editor, quản lý tài sản, chỉnh sửa script và tự động hóa các tác vụ phát triển game bằng ngôn ngữ tự nhiên.
MCP for Unity kết nối các trợ lý AI — Claude, Codex, VS Code, các LLM cục bộ và nhiều hơn nữa — với Unity Editor của bạn thông qua Model Context Protocol. Cung cấp cho LLM của bạn các công cụ để quản lý tài sản, điều khiển scene, chỉnh sửa script, chạy thử nghiệm và tự động hóa quy trình làm việc phát triển game của bạn.
Xem trước
Bạn có thể làm gì với nó
- Tạo các scene và đối tượng game mới trong Unity bằng lệnh của tác nhân.
- Tự động chỉnh sửa script và quản lý tài sản trong các dự án Unity.
- Chạy kiểm thử game và xây dựng bản phát hành game trực tiếp từ tác nhân AI.
Kiểm tra an toàn
Không thấy dấu hiệu rủi ro trong các file đã quét.
Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.
Trích từ README
Proudly sponsored and maintained by Aura — the AI assistant for Unreal & Unity.
And don't miss Godot AI, the new open source project from the makers of MCP for Unity.
Create 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.
Recent Updates
- v10.3.0 (2026-10-04)
- v10.2.0 (2026-09-01)
- v10.1.2 (2026-08-02)
- v10.1.0 (2026-07-13)
- v10.0.2 (2026-07-13)
Full history: Release Notes.
What it does
Control the Unity Editor in natural language from any MCP client — create scenes & GameObjects, edit C# scripts, manage assets, run tests, profile, and build. 50 focused MCP tool entrypoints, any client, free & MIT.
Browse the full tool catalog →
Quickstart
Requirements: Unity 2021.3 LTS → 6.x · Python 3.10+ (via uv). Works with any MCP client — Claude Desktop & Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, and more.
- Install — Unity → Package Manager → Add from git URL:
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main(pin#v10.0.0for this release, oropenupm add com.coplaydev.unity-mcp) - Configure —
Window → MCP for Unity → Configure All Detected Clients. - Prompt — "Create a cube at the origin and add a Rigidbody." The cube appears in seconds.
Community
- Discord — chat with maintainers and other contributors
- Issues — bugs and feature requests
- Discussions — design ideas and broader questions
- Security: see SECURITY.md for private reporting
Contributing
See CONTRIBUTING.md. Branch off beta, not main. The full dev setup, testing, and release process live in the Contributing docs.
Advanced
- Multiple Unity instances — Multi-Instance Routing
- Tool groups (vfx / animation / ui / testing / etc.) — Tool Groups
- v10 asset generation and upgrade notes — v10 Migration
- Roslyn script validation — Roslyn Validation
- Remote-hosted server with auth — Remote Server Auth
Star History
Citation
If MCP for Unity helped your research, please cite it.
@inproceedings{wu2025mcpunity,
author = {Wu, Shutong and Barnett, Justin P.},
title = {{MCP-Unity}: {Protocol-Driven} Framework for Interactive {3D} Authoring},
year = {2025},
isbn = {9798400721366},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3757376.3771417},
doi = {10.1145/3757376.3771417},
series = {SA Technical Communications '25}
}
Unity AI Tools by Aura
Aura offers 2 AI tools for Unity:
- MCP for Unity is available freely under the MIT license.
- Aura for Unity is a premium Unity/Unreal AI assistant built for game devs.
Disclaimer
This project is a free and open-source tool for the Unity Editor, and is not affiliated with Unity Technologies.
License: MIT — see LICENSE.