Skip to content
Gemini CLI

Unity MCP for Gemini CLI

dev.shiranui-isuzu/unity-mcp

Unity Editor automation for AI agents: scenes, prefabs, assets, shaders, Timeline, tests, builds.

client:Gemini CLI transport:stdio runtime:nuget

Install Unity MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "unity-mcp": {
      "command": "dnx",
      "args": [
        "IsuzuUnityCli",
        "--yes"
      ],
      "env": {
        "UNITY_MCP_STATE_DIR": "<UNITY_MCP_STATE_DIR>",
        "UNITY_MCP_HOST": "<UNITY_MCP_HOST>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Unity MCP in other clients