← Back to Unity MCP

Install Unity MCP

Pick your client, copy the command, done.

1

Add it to Claude Code

claude mcp add --transport http unity-mcp http://localhost:6400/mcp

Available Tools (1)

Once configured, Unity MCP gives your AI agent access to:

getSceneHierarchyReturns the full scene hierarchy with all GameObjects and their components.

Try It Out

After setup, try these prompts with your AI agent:

List all GameObjects in the current scene and their attached components.
Find all scripts in the project that reference the PlayerController class.
Create a new GameObject named 'EnemySpawner' and add a BoxCollider component to it.
Inspect the animation clips for the 'Player' animator controller.
Get the current project settings including the product name and target platform.

Keep this setup from going cold

Save the docs, env vars, and workflow around Unity MCP in Conare so Claude Code, Codex, and Cursor remember it next time.

Remember this setup