home / mcp / unity mcp server

Unity MCP Server

Provides private Unity automation via HTTP, enabling AI assistants to create objects, run tests, build projects, and more through MCP.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bluepuff71-unitymcp": {
      "url": "http://localhost:8080/"
    }
  }
}

Available tools

hello_world

Says hello to the specified name using a simple string return.

create_cube_at

Creates a cube at the given (x, y, z) coordinates and returns a result object with status and the cube instance ID.

GetPlayerStats

Returns current player statistics such as position, health, and grounded status.