Unity MCP (AI Game Developer)

Unity MCP (AI Game Developer)

Bridge between MCP Client and Unity to expose Unity tools to LLMs and run AI tasks.

540
Stars
57
Forks
20
Releases

Overview

Unity MCP Server serves as a bridge between MCP Client and the Unity Engine. It exposes and explains Unity's tools to the LLM, enabling AI-driven workflows inside Unity. The server supports multiple transport protocols (http and stdio) and can run locally, in Docker, or as a binary, with configurable port, plugin timeout, and client transport. It is designed to be extensible: Unity projects can define custom MCP Tools, MCP Resources, and MCP Prompts in code, which are exposed to MCP Clients at runtime. MCP Tools are executable functions with typed parameters and return values, and can run on the main thread or in background threads. MCP Resources provide read-only access to project data and Unity objects, giving the AI contextual information about the current state of the project. MCP Prompts allow injecting predefined prompts into conversations. The server supports multiple LLM providers and includes runtime usage guidance with the Unity MCP Plugin and example integrations. Deployment options include Docker, OpenUPM installation, or binary distributions.

Details

Owner
IvanMurzak
Language
C#
License
Apache License 2.0
Updated
2025-12-07

Features

Natural conversation

Chat with AI like you would with a human

Code assistance

Ask AI to write code and run tests

Debug support

Ask AI to get logs and fix errors

Multiple LLM providers

Use agents from Anthropic, OpenAI, Microsoft, or any other provider with no limits

Flexible deployment

Works locally (stdio) and remotely (http) by configuration

Rich toolset

Wide range of default MCP Tools

Extensible

Create custom MCP Tools in your project code

Audience

Unity DevelopersBridge Unity with MCP Client to harness LLMs for Unity tool access.
MCP IntegratorsEnable LLMs to call Unity functions via MCP Tools and Resources.
AI EngineersIntegrate AI-powered tooling into games using Unity MCP Server.

Tags

UnityMCPServerBridgeLLMToolsResourcesPromptsRoslynC#RuntimeEditorDockerHTTPSTDIOOpenUPMUnity-MCPAIGame Development