
AI Game Developer: MCP for Unity, Unreal and Godot
The Unity MCP server provides AI assistants with tools to interact with Unity game development projects, enabling code generation, project analysis, and game development tasks within the Unity Editor and runtime environments. It supports multiple AI clients including Claude, OpenAI Codex, Cursor, and GitHub Copilot, allowing developers to leverage AI for accelerated game development workflows. The server solves the problem of integrating AI assistance directly into Unity development by exposing project-specific capabilities and context through the Model Context Protocol.
- GitHub stars
- 4.6K
- tools
- 19
- transport
- STDIO, HTTP
- env vars
- 9
- last updated
- Nov 3, 2026
Tools
19 toolsPublic tool metadata for what this MCP can expose to an agent.
rql-queryRead Editor data with an RQL query, e.g. `roots | recurse children | select name active`
Read Editor data with an RQL query, e.g. `roots | recurse children | select name active`
No parameter schema in public metadata yet.
rql-mutateChange Editor data or call Editor operations, e.g. `editor | call CreateGameObject({name: "Ground", primitive: "Plane"})`
Change Editor data or call Editor operations, e.g. `editor | call CreateGameObject({name: "Ground", primitive: "Plane"})`
No parameter schema in public metadata yet.
rql-schemaDescribe the sources, types, members and calls RQL can use, and print the topic guides
Describe the sources, types, members and calls RQL can use, and print the topic guides
No parameter schema in public metadata yet.
screenshot-isolatedRender a GameObject in isolation from a chosen angle (optional composite 2x2 view)
Render a GameObject in isolation from a chosen angle (optional composite 2x2 view)
No parameter schema in public metadata yet.
screenshot-scene-viewCaptures a screenshot from the Unity Editor Scene View (hidden by default)
Captures a screenshot from the Unity Editor Scene View (hidden by default)
No parameter schema in public metadata yet.
screenshot-game-viewCaptures a screenshot from the Unity Editor Game View (hidden by default)
Captures a screenshot from the Unity Editor Game View (hidden by default)
No parameter schema in public metadata yet.
screenshot-cameraCaptures a screenshot from a camera and returns it as an image (hidden by default)
Captures a screenshot from a camera and returns it as an image (hidden by default)
No parameter schema in public metadata yet.
script-executeCompiles and executes C# code dynamically using Roslyn
Compiles and executes C# code dynamically using Roslyn
No parameter schema in public metadata yet.
script-readReads the content of a script file (hidden by default)
Reads the content of a script file (hidden by default)
No parameter schema in public metadata yet.
script-update-or-createUpdates or creates script file with the provided C# code (hidden by default)
Updates or creates script file with the provided C# code (hidden by default)
No parameter schema in public metadata yet.
script-deleteDelete the script file(s) (hidden by default)
Delete the script file(s) (hidden by default)
No parameter schema in public metadata yet.
tests-runExecute Unity tests (EditMode/PlayMode): any RQL selection over the `tests` source as one run, results filtered with RQL
Execute Unity tests (EditMode/PlayMode): any RQL selection over the `tests` source as one run, results filtered with RQL
No parameter schema in public metadata yet.
package-listUnity Package Manager packages (hidden by default)
Unity Package Manager packages (hidden by default)
No parameter schema in public metadata yet.
package-searchUnity Package Manager packages (hidden by default)
Unity Package Manager packages (hidden by default)
No parameter schema in public metadata yet.
package-addUnity Package Manager packages (hidden by default)
Unity Package Manager packages (hidden by default)
No parameter schema in public metadata yet.
package-removeUnity Package Manager packages (hidden by default)
Unity Package Manager packages (hidden by default)
No parameter schema in public metadata yet.
unity-tool-listList every tool and whether the agent sees it
List every tool and whether the agent sees it
No parameter schema in public metadata yet.
tool-set-visibilityShow or hide tools in the agent's tool list (hidden by default)
Show or hide tools in the agent's tool list (hidden by default)
No parameter schema in public metadata yet.
tool-set-enabled-stateDeprecated alias of `tool-set-visibility` (hidden by default)
Deprecated alias of `tool-set-visibility` (hidden by default)
No parameter schema in public metadata yet.
Sponsors
Configuration
MCP_PLUGIN_PORTClient -> Server <- Plugin connection port (default: 8080)
MCP_PLUGIN_CLIENT_TIMEOUTPlugin -> Server connection timeout (ms) (default: 10000). Tool calls use MCP_PLUGIN_TOOL_TIMEOUT instead.
MCP_PLUGIN_TOOL_TIMEOUTHow long one tool call may run in the plugin (ms). A tool call is sent once and never re-sent (default: 300000, or MCP_PLUGIN_CLIENT_TIMEOUT if larger)
MCP_PLUGIN_CLIENT_TRANSPORTdefault: stdioClient -> Server transport type: stdio or streamableHttp (default: stdio)
MCP_AUTHdefault: noneAuthentication mode: none or oauth. Default depends on transport: stdio -> none (offline/local/CI), streamableHttp -> oauth when MCP_AUTH_ISSUER + MCP_PUBLIC_URL are set, otherwise none. oauth validates ES256 JWTs (via cached JWKS) issued by MCP_AUTH_ISSUER, audienced to MCP_PUBL
MCP_AUTH_ISSUEROAuth authorization-server URL (e.g. https://ai-game.dev). Required when MCP_AUTH=oauth.
MCP_PUBLIC_URLThis server's canonical public resource URL (its token audience, e.g. https://ai-game.dev/mcp). Required when MCP_AUTH=oauth; also seeds the Origin allow-list.
MCP_BINDdefault: loopbackNetwork bind address: loopback (default), any (0.0.0.0), or a specific IP. Hosted deploys reachable by a reverse proxy set MCP_BIND=0.0.0.0.
MCP_ALLOWED_ORIGINSComma/semicolon-separated additional allowed Origins for browser clients (in addition to loopback + the MCP_PUBLIC_URL origin). Avoids a blanket wildcard on credentialed paths.
Readme
Details
- Repository
- github.com/ivanmurzak/unity-mcp
- Website
- ai-game.dev
- Categories
- AI & LLM Tools, Design & Creative, Automation & Workflows
- Package
com.IvanMurzak.GameDev.MCP.Server- Transport
- STDIO, HTTP
- Registry
- MCP registry, active