# UnityMCP

Integrate AI assistants seamlessly into your Unity projects. Monitor editor states, execute commands in real-time, and manage logs efficiently to enhance your development workflow.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add Arodoid/unitymcp

# Browse available tools
npx -y @smithery/cli@latest tool list Arodoid/unitymcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get Arodoid/unitymcp get_editor_state

# Call a tool
npx -y @smithery/cli@latest tool call Arodoid/unitymcp get_editor_state '{}'
```

## Tools (3)

- `get_editor_state` — Retrieve the current state of the Unity Editor, including active GameObjects, selection state, play mode status, scene …
- `execute_editor_command` — Execute arbitrary C# code within the Unity Editor context. This powerful tool allows for direct manipulation of the Uni…
- `get_logs` — Retrieve and filter Unity Editor logs with comprehensive filtering options. This tool provides access to editor logs, c…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get Arodoid/unitymcp <tool-name>
```

---

Source: https://github.com/Arodoid/UnityMCP/tree/main/unity-mcp-server | License: NOASSERTION
