unityctl

A .NET CLI and MCP server that makes the Unity Editor programmable for agents

Image 1 of 1: Terminal session reading the scene hierarchy, creating a cube and finding GameObjects, with JSON replies

179 commands and 12 MCP tools for building scenes, editing GameObjects, writing C#, validating projects and running builds and tests in Unity, with scene diffs, screenshots, batch execution with rollback, a doctor command and an NDJSON log of every command.

  • 286 ms (617 ms)Scene hierarchy read
  • 965 ms (2,588 ms)Play, console, stop
  • 5 KBSchema per session

Trade-offs

  • It talks to the Editor over a named pipe, which survives Unity's domain reload where a WebSocket drops.
  • The MCP side exposes 12 tools and loads the 171 command schemas on demand, keeping the prompt small instead of shipping every schema each turn.
  • Batches can run with rollback on failure and an undo, so one bad command doesn't leave the project broken.

Q&A4

On the same editor and tasks it was faster on every measured round trip, returned smaller responses, failed explicitly on wrong arguments, and ran a test that the official CLI reported as a success with zero tests run.

Reviews

Loading reviews

    More in Unity

    See all 4 →
    • PrefabLensSemantic diffs and merges for Unity YAML assets, in GitHub, the Editor and a CLI
    • WhimTexA sprite and texture editor inside Unity, with layers that stay editable
    • RISC-V AdventureA mobile game that builds up to a multi-cycle RISC-V processor
    • hera-agent-unityA low-token CLI for agents to inspect, run and test a live Unity Editor

    More in MCP

    See all 53 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • DeftSelf-hosted workspace shared by people and AI agents
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock
    • PageSiftSelf-hosted Rust binary that turns URLs and documents into Markdown or JSON

    More in AI agents

    See all 99 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • EntrolyLocal context layer that picks what coding agents send to the model
    • Active GraphEvent-sourced graph runtime for long-running, auditable agents
    • AEGISPre-execution firewall that checks every agent tool call before it runs
    • ClawMoatZero-dependency security layer for AI agents and laptop-hosted agent hosts