Show GN: hera-agent-unity - An MCP Alternative for Controlling Unity via CLI (Zero Runtime Dependencies)
Key point
A lightweight tool that helps AI agents directly control the Unity editor and work based on actual measured data.
Details
Instead of LLMs guessing code based on training data, this tool helps them execute code in the actual Unity editor and retrieve the results. It works with just a single Go binary and a C# package, without Python or WebSocket, so there are no runtime dependencies.
Key features:
- Code execution and debugging: Instant C# code execution using Roslyn, reading console logs, PlayMode testing, and checking profiler data
- Editor manipulation: Assembly exploration via reflection, editing GameObjects, components, prefabs, materials, and uGUI
- UI automation: Provides functionality to convert screenshots into actual uGUI layouts using HTML-based JSON IR
- Universality: Not tied to a specific MCP client, compatible with any AI agent capable of executing shell commands, such as Claude Code, Cursor, and others
Unlike conventional complex MCP setups, it uses a direct HTTP POST method for simple installation, and is an MIT-licensed open source project supporting Unity 6 and above.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.