Unity Editor MCP (Model Context Protocol) enables AI assistants like Claude and Cursor to interact directly with the Unity Editor, allowing for
Unity Editor MCP MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Unity Editor MCP (Model Context Protocol) enables AI assistants like Claude and Cursor to interact directly with the Unity Editor, allowing for AI-assisted game development and automation.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Once Unity Editor MCP is connected, these are the calls the assistant has available:
Prerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverYou will need 4 environment variables: UNITY_MCP_INSTANCE_ID, UNITY_PROJECT_PATH, UNITY_MCP_PROJECT_PATH, UNITY_MCP_WORKSPACE_ID. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Unity Editor MCP's toolset — Prerequisites, Installation — is a fair guide to whether it matches your workflow. It is maintained by ozankasikci; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Unity Editor MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
{
"mcpServers": {
"unity-editor-mcp": {
"command": "npx",
"args": ["unity-editor-mcp@latest"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| UNITY_MCP_INSTANCE_ID | Configuration value read at startup. | Optional |
| UNITY_PROJECT_PATH | Filesystem location the server is allowed to use. | Optional |
| UNITY_MCP_PROJECT_PATH | Filesystem location the server is allowed to use. | Optional |
| UNITY_MCP_WORKSPACE_ID | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.