unity-ui-agent-mcp

v0.3.0
unity-ui-agent-mcp Checked 1 day ago Published 1 day ago

MCP server that lets AI agents build and inspect uGUI layouts in the Unity Editor.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add unity-ui-agent-mcp -- uvx unity-ui-agent-mcp==0.3.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "unity-ui-agent-mcp": {
      "args": [
        "unity-ui-agent-mcp==0.3.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "unity-ui-agent-mcp": {
      "args": [
        "unity-ui-agent-mcp==0.3.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "unity-ui-agent-mcp": {
      "args": [
        "unity-ui-agent-mcp==0.3.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.unity-ui-agent-mcp]
command = "uvx"
args = ["unity-ui-agent-mcp==0.3.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: unity_status, get_hierarchy, create_ui_element, build_ui_tree, update_ui_element, delete_object, set_component_property, save_as_prefab, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json