website/docs/getting-started/install.md
Three install paths are supported. Pick one. Git URL is the fastest if you just want to try it.
uv — the setup wizard guides you through both if missingIn Unity, open Window → Package Manager, click the + button, choose Add package from git URL..., and paste:
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#main
For the latest beta features, use the beta branch:
https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity#beta
openupm add com.coplaydev.unity-mcp
After import, MCP for Unity opens a setup wizard automatically.
uv are installed — the wizard guides you through both if missing.You can return to this UI anytime via Window → MCP for Unity to start/stop the server, switch transport (HTTP vs stdio), or reconfigure clients. The status panel reads Connected when everything is wired up.
Try one of these in your MCP client:
Create a red, blue, and yellow cube in the current scene.
Build a simple player controller with WASD movement and a double-jump.
List every script in
Assets/Scriptsand tell me which ones referenceRigidbody.
openclaw-mcp-bridge plugin enabled and follows the currently selected MCP for Unity transport.Detailed per-client setup lives in the MCP Client Configurators guide.
If auto-configuration doesn't work for your client, add this to your client's MCP config file:
{
"mcpServers": {
"unityMCP": {
"url": "http://localhost:8080/mcp"
}
}
}
{
"servers": {
"unityMCP": {
"type": "http",
"url": "http://localhost:8080/mcp"
}
}
}
macOS / Linux:
{
"mcpServers": {
"unityMCP": {
"command": "uvx",
"args": ["--from", "mcpforunityserver", "mcp-for-unity", "--transport", "stdio"]
}
}
}
Windows:
{
"mcpServers": {
"unityMCP": {
"command": "C:/Users/YOUR_USERNAME/AppData/Local/Microsoft/WinGet/Links/uvx.exe",
"args": ["--from", "mcpforunityserver", "mcp-for-unity", "--transport", "stdio"]
}
}
}
uv --version works in your terminal. Check the MCP for Unity log for errors.localhost:8080 and the URL in your client config matches.For Cursor / VS Code / Windsurf and Claude Code troubleshooting, see the GitHub Wiki (migrating into this site).
Still stuck? Open an issue or join Discord.