# Docker Deployment
[](https://modelcontextprotocol.io/introduction)
[](https://openupm.com/packages/com.ivanmurzak.unity.mcp/)
[](https://hub.docker.com/r/ivanmurzakdev/unity-mcp-server)
[](https://unity.com/releases/editor/archive)
[](https://unity.com/releases/editor/archive)
[](https://github.com/IvanMurzak/Unity-MCP/actions/workflows/release.yml)</br>
[](https://discord.gg/cfbdMZX99G)
[](https://openupm.com/packages/com.ivanmurzak.unity.mcp/)
[](https://github.com/IvanMurzak/Unity-MCP/stargazers)
[](https://github.com/IvanMurzak/Unity-MCP/blob/main/LICENSE)
[](https://stand-with-ukraine.pp.ua)
The Unity-MCP Server is available as a lightweight Docker container, ideal for cloud deployments or isolating the AI server environment.
- **Image**: `ivanmurzakdev/unity-mcp-server`
- **Tags**: `latest`, `X.Y.Z` (e.g., `0.35.0`)
- **Architectures**: `linux/amd64`, `linux/arm64` (Apple Silicon compatible)

## 🚀 Quick Start
Run the server on port `8080`:
```bash
docker run -p 8080:8080 ivanmurzakdev/unity-mcp-server:latest
```
## ⚙️ Configuration
The server can be configured using environment variables.
| Variable | Default | Description |
| :--------------------------- | :------ | :------------------------------------------------------- |
| `MCP_PLUGIN_PORT` | `8080` | The port the server listens on for Plugin connections. |
| `MCP_PLUGIN_CLIENT_TRANSPORT` | `streamableHttp` | Transport for the Client connection (`streamableHttp` or `stdio`). |
| `MCP_PLUGIN_CLIENT_TIMEOUT` | `10000` | Connection timeout in milliseconds. |
### Example: Custom Port
Run on port `9090`:
```bash
docker run \
-e MCP_PLUGIN_PORT=9090 \
-p 9090:9090 \
ivanmurzakdev/unity-mcp-server:latest
```
### Example: STDIO Mode
STDIO mode is used when the MCP Client manages the Docker process directly.
```bash
docker run -i \
-e MCP_PLUGIN_CLIENT_TRANSPORT=stdio \
-p 8080:8080 \
ivanmurzakdev/unity-mcp-server:latest
```
## 💻 Client Configuration
To use the Dockerized server with your AI Client (e.g., Claude):
### HTTP Mode (Recommended for Remote/Cloud)
```json
{
"mcpServers": {
"ai-game-developer": {
"url": "http://localhost:8080"
}
}
}
```
### STDIO Mode (Managed by Client)
```json
{
"mcpServers": {
"ai-game-developer": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "MCP_PLUGIN_CLIENT_TRANSPORT=stdio",
"-p", "8080:8080",
"ivanmurzakdev/unity-mcp-server:latest"
]
}
}
}
```