Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Control and verify a live Unity Editor through a local, low-token MCP server.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
HERA_MCP_ENABLED你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"hera-agent-unity": {
"command": "npx",
"args": [
"-y",
"hera-agent-unity",
"mcp",
"--transport",
"stdio"
],
"env": {
"HERA_MCP_ENABLED": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add hera-agent-unity --env HERA_MCP_ENABLED=your-value -- npx -y hera-agent-unity mcp --transport stdio运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"hera-agent-unity": {
"command": "npx",
"args": [
"-y",
"hera-agent-unity",
"mcp",
"--transport",
"stdio"
],
"env": {
"HERA_MCP_ENABLED": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"hera-agent-unity": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hera-agent-unity",
"mcp",
"--transport",
"stdio"
],
"env": {
"HERA_MCP_ENABLED": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
HERA_MCP_ENABLED env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 NotNull92 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.17)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, zanadir
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Find what a repository's CI is missing, and which security checks cannot fail the build.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Give your AI coding agent hands, eyes, and a checklist inside Unity.
Codex, Claude, Cursor, Copilot, AntiGravity, and other shell-capable agents can inspect your live Unity Editor, change it, run it, test it, see the result, and keep fixing until the evidence says it is done.
Start in 3 steps · What can it do? · Why Hera? · How good is it? · Examples · Commands
English · 한국어
An AI can write Unity C# without Hera, but it cannot reliably know what your live Editor looks like after the code is written.
Normally the loop looks like this:
You ask the AI
↓ AI writes code ↓ You open Unity and wait for compile ↓ You copy the error back to the AI ↓ AI fixes it ↓ You press Play and explain what happened ↓ repeat...
Hera closes that loop:
You ask the AI
↓ AI uses Hera ↓ Unity compiles, runs, tests, clicks UI, captures the result ↓ Hera gives the real result back to the AI ↓ AI fixes what failed and checks again ↓ verified result
A simple way to think about it:
The AI is the brain. Hera gives that brain hands to operate Unity, eyes to inspect the result, and a checklist so it does not stop while the project is still broken.
Hera does not replace Unity and it does not replace the coding agent. It connects the two so the agent can work with facts from your actual project instead of guessing from source code alone.
Unity development has a feedback loop that lives outside the source files.
A change can look correct in code and still fail because:
Hera lets the agent ask the real Editor instead.
hera-agent-unity status
hera-agent-unity console --type error hera-agent-unity scene info hera-agent-unity editor play --wait hera-agent-unity test --mode PlayMode
If the selected Editor is not running, Hera can bootstrap the exact project before Connector discovery:
hera-agent-unity --project C:/Projects/Game editor launch
hera-agent-unity --project C:/Projects/Game editor restart
The project version comes from ProjectSettings/ProjectVersion.txt; the matching Unity Hub install comes from UNITY_HUB_EDITOR or the platform default (%ProgramFiles%\Unity\Hub\Editor on Windows). Pass --hub-root for a custom Hub location. Startup uses normal Package Manager behavior, not -noUpm, and returns when the new process publishes that exact project's heartbeat. On Windows, Hera also restores the standard common-profile environment for the Unity child when an agent shell omitted it, so UPM path resolution still starts with the same baseline as a normal desktop launch.
The important part is not the command names. The important part is that the agent can observe → change → run → verify → repair without making you act as the courier between the AI and Unity.
You can use Hera for tiny one-line checks or for a full AI-assisted Unity workflow.
| What you want the AI to do | What Hera gives it |
|---|---|
| Check whether Unity is healthy | Live Editor status, version, project, compile state, Console errors |
| Start or restart the right Editor | Launch or restart the exact project from its recorded Unity version and wait for that project's heartbeat |
| Understand the current Scene | Scene info, GameObject search, Component and Inspector reads |
| Change the Scene | Create/save Scenes; create, duplicate, rename, parent, transform, tag, layer, or delete GameObjects |
| Edit Components | Add, remove, inspect, and change serialized Component values |
| Work with project assets | Find, create, copy, move, or delete assets under Assets/ |
| Run project-specific C# | Execute C# inside the loaded Editor with access to Unity APIs and project assemblies |
| Make animations | Author AnimationClips, AnimatorController state machines, and Timeline tracks/clips |
| Test a feature | Run EditMode and PlayMode tests and keep the result across domain reloads |
| Play the game | Enter Play Mode, wait for the real state change, inspect, then stop |
| See what Unity rendered | Capture Scene/Game views or isolated objects, plus bounded uGUI identity/coordinate and Camera.main 3D physics evidence |
| Test Unity input | Inspect uGUI raycasts, or synthesize Input System keyboard/mouse sequences, record them, and replay them in Play Mode |
| Build UI | Author uGUI layouts and verify the generated result |
| Recreate a reference UI | Measure a reference, build the real Unity UI, capture it, compare, and iterate |
| Improve game feel | Give the agent recipes for shake, hit stop, feedback, camera, sound, rewards, and accessibility |
| Clean up generated-looking UI | Detect common spacing, hierarchy, typography, color, and decoration problems |
| Create your own studio commands | Add project-specific [HeraTool] actions that appear automatically |
| Work with several open Editors | Target the intended project and keep that project identity through port changes |
| Require approval for risky work | Preflight destructive operations and continue only with the matching approval token |
In short, Hera is not just a "press Play" remote. It is a bridge for the whole edit-and-check loop around a running Unity project.
Without Editor access, the agent often ends with:
"This should work."
With Hera, it can finish with evidence such as:
compile: passed
console errors: 0 EditMode tests: 18/18 PlayMode tests: 6/6 button click: verified through EventSystem final Game View: captured
That difference is the main reason Hera exists.
You no longer need to repeatedly:
The AI can perform most of that loop itself.
The normal production path is a CLI. Any agent that can run shell commands can use it.
No Python server is required, and no host protocol has to be configured.
A giant tool response becomes more input for the model to read. Hera therefore gives common commands compact views such as IDs-only GameObject searches and on-demand tool schemas.
The goal is simple: send the agent the smallest amount of Unity state that is enough to make the next decision.
Unity recompiles scripts, reloads domains, changes ports, enters Play Mode, runs tests, and sometimes drops a connection while doing it.
Hera tracks these workflows instead of treating a successful HTTP send as proof that Unity is finished.
Start with the built-in commands. Later you can add a [HeraTool] for the workflow your own project repeats every day: build a dungeon room, validate a quest graph, bake a table, spawn a test battle, or check your studio-specific asset rules.
Hera avoids vague "AI magic" claims. The repository keeps concrete measurements and compatibility evidence instead.
Measured low-token baselines for list --compact are about 93 estimated tokens across the tested Unity versions. find_gameobjects --ids measured 49 to 55 estimated tokens in the retained cross-version fixtures.
| Unity Editor | list --compact | find_gameobjects --ids |
list --tool --action | Read only the selected action parameters, result and safety. | |
|---|---|---|
| 2022.3.62f2 | 93 T | 54 T |
| 2023.2.22f1 | 93 T | 54 T |
| 6000.3.5f2 | 93 T | 49 T |
| 6000.5.0f1 | 93 T | 55 T |
T is a simple ceil(UTF-8 bytes / 4) estimate for Hera's CLI payload only. It is not provider billing telemetry. Full methodology: token-reduction benchmark.
Connector 0.3.0 compiles on Unity 2022.3, but dispatched requests are refused by default with DEVELOPER_MODE_REQUIRED. Enable Developer Mode (Unity 2022.3) in Hera Settings or run hera-agent-unity asset-config developer-mode on; use off to disable it. asset-config developer-mode shows the value and asset-config --json includes developer_mode (read-only).
The setting applies to every Unity 2022.3 project on this machine. Unity 6.6+ ignores it. A missing file/key defaults to off; malformed or locked configuration reads keep the last good value until a successful refresh. Changes need no domain reload. Status and ping still work while locked; cached local-only catalog queries and validation can also succeed, but dispatched requests are refused.
This is an unsupported opt-in line. On 2022.3.62f2, scoped paths for TMP 3.0.7, Timeline 1.7.7, Input System 1.14.0 and AI Navigation 1.1.6 passed independent verification; the package-present Hera suite passed 51/51. Keyboard and mouse delivery matched the same probe on 6000.6.6f1 with Input System 1.20.0. See versions, paths and evidence. unity_docs uses the 6000.6 corpus: both its unity_version and docs_version describe documentation, so compare them with the Editor version in status. With test-framework older than 1.4.0, cancel cannot stop a run whose callback is active in this domain; it preserves its pending record until completion. Stale records without an active callback can still be released.
All other Editor lines (including 2023.x and 6000.0–6000.5) hit an explicit #error. This stops normal project compilation, and other compiler errors may appear alongside it. Remove the package or use one of the two allowed lines.
Supported Unity versions are Unity 6.6+ (6000.6 minimum). The release compile gate installs the Connector's exact source as a normal UPM dependency in a disposable blank project of the representative Editor and requires a clean compile, a green release-gate suite, and zero console errors:
| Bucket | Representative Editor | Last full-gate result |
|---|
只显示了开头部分;其余内容请在仓库中阅读