Hera Agent Unity logo

Hera Agent Unity

Control a live Unity Editor from an AI coding agent, then inspect, test, capture, and verify the resulting project state.

Install Hera Agent Unity

Run the project’s own setup commands, in order.

Setup steps from the project

Hera Agent Unity installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install --global hera-agent-unity
    
  2. 2. Install
    powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/NotNull92/hera-agent-unity/main/install.ps1 | iex"
    
  3. 3. Install
    curl -fsSL https://raw.githubusercontent.com/NotNull92/hera-agent-unity/main/install.sh | bash
    
  4. 4. Install
    hera-agent-unity install
    

Overview

Hera Agent Unity connects shell-capable AI coding agents to a live Unity Editor through a local MCP workflow. Agents can inspect project state, modify scenes and components, run C# and tests, control Play Mode, capture views, and use the results to repair failed changes. It tracks compilation, domain reloads, Play Mode transitions, test runs, and Editor heartbeats rather than treating a submitted request as finished. Reach for it when Unity work needs verification from the actual open project instead of source-code-only reasoning.

Use cases

  • Inspect a live Unity project before changing its Scene or components
  • Run EditMode and PlayMode tests after an agent edits C#
  • Capture and compare generated uGUI layouts
  • Replay input sequences and verify UI interactions
  • Add project-specific Unity actions with custom Hera tools

Key features

  • Live Unity Editor inspection and control
  • Scene, GameObject, Component, and asset editing
  • EditMode and PlayMode test execution
  • Play Mode, input, raycast, and render verification
  • Project-aware Editor launch and restart
  • Custom [HeraTool] studio commands

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/26 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9/6/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars30Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Hera Agent Unity works

What Hera Agent Unity does

Hera Agent Unity gives an AI coding agent a working interface to the Unity Editor behind a local command-line workflow. It is aimed at the feedback loop that source editing alone cannot cover: compiling scripts, inspecting the active project and Scene, running the game, exercising UI, capturing rendered output, and checking whether the result actually works.

The agent can query Editor health, Unity version, project identity, compilation state, and Console errors. It can also inspect Scenes, search GameObjects, read Components and Inspector values, and modify the project by creating or editing Scenes, GameObjects, serialized Component fields, assets, animations, Animator state machines, and Timeline content.

How it works

The workflow is built around observe, change, run, verify, and repair. Hera waits for meaningful Unity state changes such as compilation, domain reloads, Play Mode transitions, test completion, and project heartbeat publication. This helps an agent distinguish a completed operation from a request that was merely accepted.

A local CLI can launch or restart the selected project when its Editor is unavailable. Hera reads the Unity version from ProjectSettings/ProjectVersion.txt, finds the matching Hub installation through UNITY_HUB_EDITOR or the platform default, and waits for the exact project to publish its heartbeat. A custom Hub directory can be supplied with --hub-root.

The server is designed for compact agent context. Common reads can return focused results, such as GameObject IDs without unnecessary state, while more detailed information can be requested when needed. Multiple open Editors can be targeted by project identity, including when ports change during reloads or restarts.

Setup and configuration

Hera runs on Linux, macOS, and Windows. The repository targets Go 1.25 or newer and Unity 6000.6 or newer. Its normal production path is a CLI, so an agent needs to be able to execute shell commands; a separate Python server and host-protocol configuration are not required.

Typical commands include:

  • hera-agent-unity status to inspect Editor health
  • hera-agent-unity console --type error to read errors
  • hera-agent-unity scene info to inspect the active Scene
  • hera-agent-unity editor play --wait to enter Play Mode and wait for the state change
  • hera-agent-unity test --mode PlayMode to run PlayMode tests
  • hera-agent-unity --project C:/Projects/Game editor launch to start a project
  • hera-agent-unity --project C:/Projects/Game editor restart to restart it

On Windows, the launcher can restore the standard common-profile environment for the Unity child when an agent shell lacks it, helping Package Manager path resolution match a normal desktop launch.

Tools and capabilities

Hera covers both project editing and verification:

  • Inspect Editor status, project identity, compilation, Console errors, Scenes, GameObjects, Components, and Inspector values.
  • Create, save, duplicate, rename, parent, transform, tag, layer, and delete GameObjects and Scenes.
  • Find, create, copy, move, and delete assets under Assets/.
  • Execute project-specific C# with access to Unity APIs and project assemblies.
  • Run EditMode and PlayMode tests, retaining results across domain reloads.
  • Enter and stop Play Mode, inspect the resulting state, and capture Scene, Game, or isolated-object views.
  • Author uGUI layouts, inspect UI raycasts, synthesize and replay Input System keyboard or mouse sequences, and compare captured UI against a reference.
  • Create project-specific actions marked with [HeraTool]; these appear automatically as custom studio commands.
  • Preflight destructive operations and require a matching approval token before continuing.

Limitations and notes

Hera connects an agent to the live Unity Editor; it does not replace Unity or the coding agent. Visual and input checks are bounded: supported evidence includes uGUI identity and coordinates, Camera.main 3D physics evidence, rendered captures, and recorded Input System sequences. The launcher depends on the project’s recorded Unity version and an available matching Hub installation. The supported workflow is intended for shell-capable agents and local project automation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hera Agent Unity

Hera Agent Unity is an MCP server that connects AI coding agents to a live Unity Editor. Its main tools inspect project state, edit Scenes and Components, run C# and tests, control Play Mode, capture views, and verify UI or input results so agents can repair changes using evidence from the actual project.

Install and run its CLI in an environment with Go 1.25 or newer and Unity 6000.6 or newer. The normal workflow uses shell commands rather than a separate Python server or host-protocol configuration, and supports Linux, macOS, and Windows.

Run `hera-agent-unity --project <path> editor launch`. Hera reads the Unity version from `ProjectSettings/ProjectVersion.txt`, locates the matching Hub editor through `UNITY_HUB_EDITOR` or the platform default, and waits for that project’s heartbeat.

Yes. Use the test command with an EditMode or PlayMode mode, such as `hera-agent-unity test --mode PlayMode`. Test results are retained across domain reloads so the agent can use them after Unity recompiles.

Yes. Cursor is listed among the shell-capable agents that can use Hera through its CLI workflow. Any configured agent must be able to run local shell commands to interact with the live Unity project.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHera Agent Unity AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hera-agent-unity?style=directory)](https://allmcps.com/mcp/hera-agent-unity)
HTML Embed
<a href="https://allmcps.com/mcp/hera-agent-unity"><img src="https://allmcps.com/api/badge/hera-agent-unity?style=directory" alt="Hera Agent Unity on AllMCPs" /></a>