YetAnotherUnity
Enables AI agents to control and interact with the Unity game engine through the Model Context Protocol (MCP).
About
YetAnotherUnity allows AI agents to seamlessly control and interact with Unity using the Model Context Protocol (MCP). By establishing a bridge between Unity and AI-driven tools, it provides a structured and safe way for AI agents to inspect and manipulate running Unity scenes. This system consists of a Unity plugin acting as the MCP server and a Python client handling requests, enabling real-time bidirectional communication via a custom TCP protocol. With container-based organization of resources and tools, YetAnotherUnity improves code organization and maintainability, facilitating the development of AI-powered game environments and applications.
Key Features
- Organize MCP resources and tools in logical containers.
- Capture screenshots with AI-driven parameters.
- Modify GameObject properties with AI assistance.
- Query Unity Editor state through MCP resources with dynamic parameter handling.
- Execute C# code in Unity from AI agents.
Use Cases
- AI-driven content creation and modification.
- Remote control of Unity simulations and environments.
- Automated game testing and QA.