Unity MCP Server
Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
HOST | No | The host address the server will bind to | 0.0.0.0 |
PORT | No | The port on which the server will run | 3000 |
LOG_FILE | No | Path to log file | logs/mcp-server.log |
LOG_LEVEL | No | Logging level | info |
BATCH_MODE | No | Whether to run Unity in batch mode | true |
TIMEOUT_MS | No | Timeout for Unity operations in milliseconds | 60000 |
UNITY_PATH | Yes | Path to Unity Editor executable | |
PROJECT_PATH | Yes | Path to your Unity project | |
ALLOWED_PATHS | No | Comma-separated list of allowed paths | Assets,ProjectSettings,Packages |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
No tools |