We’ve been closely listening to the community’s feedback regarding how you connect your agents and external tools to Unity. You’ve been clear about the need for more reliability, runtime access, and the flexibility to use the agents you’re already paying for and prefer.
Today, we’re excited to introduce the Unity CLI, our new terminal-native path for connecting agents, CI pipelines, and custom tooling to Unity.
What is the Unity CLI?
The Unity CLI is designed to enable agentic workflows and automation directly from your terminal. We built it in direct response to developer feedback, focusing on creating a more predictable and extensible way to interface with Unity Editor and runtime environments.
Key Highlights:
-
Fast: Unity CLI can run arbitrary code using the “eval” command, which uses the Roslyn compiler, bypassing long compilation times and domain reloads.
-
Bring Your Own Agent: Whether you are using Claude, Codex, Copilot, or local models, the CLI is designed to integrate with your existing, preferred setup.
-
Extendable: Write your own custom commands to provide your agents with tailored context about your specific projects and be more efficient.
-
Direct Runtime Access: Beyond the Editor, the CLI enables you to drive the runtime in development builds, unlocking live debugging, game-state changes, and automated playtesting.
What about the Unity MCP?
Unity MCP remains fully supported for your existing setups. We know many of you are already using it, and we want to ensure continuity. For those just getting started or looking for a more robust, extensible, and terminal-native solution, the Unity CLI is our recommended path forward. To help with the transition, the CLI includes an “MCP Mode,” allowing you to leverage existing MCP-based agents without starting from scratch.
Pricing Update:
We want to remove barriers to innovation, so we are making these tools free! Both the CLI and MCP will be free, with no concurrency limits on the MCP server.
Getting Started:
For a deeper technical dive and to get started with your first terminal-native workflow, visit the official documentation here: Unity CLI Documentation
Check out the blog for more details.
We’re excited to see what you build with these new capabilities. Let us know what you think!
