# IvanMurzak/Unity-MCP [Health: Active]

**Category:** 🎮 Gaming  
**Repository:** https://github.com/IvanMurzak/Unity-MCP  
**GitHub Stars:** 4690  
**npm Downloads (last month):** 12366  
**Views:** 28  
**Installs:** 0  
**Upvotes:** 1  
**Directory Page:** https://allmcps.com/mcp/ivanmurzak-unity-mcp

## Description
⃣ 🏠 🍎 🪟 🐧 - MCP Server for Unity Editor and for a game made with Unity

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "unity-mcp": {
    "command": "npx",
    "args": ["-y","unity-mcp-cli"]
  }
}
```

## Documentation

## What IvanMurzak/Unity-MCP does

IvanMurzak/Unity-MCP links AI agents with Unity projects through the Model Context Protocol. The connection covers two environments: the Unity Editor during development and a compiled game at runtime. In the Editor, an agent can automate project work, generate code, create tests, help diagnose problems, and use built-in tools for Unity assets and other development tasks.

Runtime support is a distinguishing part of the package. An application built with Unity can expose the integration while it is running, allowing AI-assisted debugging or in-game interactions. The project describes dynamic NPC behavior and player-to-AI interaction as examples of runtime use.

The package also supports generated skills. Unity can create skills based on the operating system, Unity version, and plugins present in a project, giving an agent project-specific operating guidance.

## How it works

Install the Unity package into a project, then connect an MCP client such as Claude, Cursor, Windsurf, Claude Code, or another supported agent. The Unity window at `Window/AI Game Developer` provides controls to generate skills or configure the MCP connection. Once connected, the agent can call the tools exposed by the Unity plugin and act on the project through MCP.

The integration can run locally over stdio or be configured for remote use over HTTP. This supports both a local development setup and deployments where the MCP endpoint is reached separately from the client. Custom tools can also be added in project code, extending the operations available to an agent.

## Setup and configuration

The documented installation paths are:

- Download and import the AI Game Developer `.unitypackage` installer.
- Add the package with OpenUPM using `openupm add com.ivanmurzak.unity.mcp`.
- Install the command-line utility with `npm install -g unity-mcp-cli`, then run `unity-mcp-cli install-plugin ./MyUnityProject`.

After installing the plugin, open the Unity project and select an AI client. In Unity, open `Window/AI Game Developer`, then choose **Auto-generate skills** or **Configure MCP**. The CLI provides corresponding commands: `unity-mcp-cli login` opens browser-based OAuth device-flow sign-in for ai-game.dev, `unity-mcp-cli open ./MyUnityProject` opens the project and connects it, and `npx unity-mcp-cli setup-skills claude-code ./MyUnityProject` configures skills for Claude Code.

## Tools and capabilities

The package includes more than 70 built-in MCP tools grouped into four categories. The documented examples include tools for copying assets and creating folders. Its broader capability set covers:

- Operating on Unity Editor projects and assets
- Generating game code and tests
- Debugging and fixing project problems with an AI agent
- Automating development workflows
- Using AI within a compiled Unity game
- Adding custom project-specific tools

The full built-in tool reference is available through the project’s default MCP tools documentation and the ai-game.dev tools registry.

## Limitations and notes

The integration requires a Unity project containing the plugin and an MCP-compatible AI client. Editor and runtime use are separate contexts: editor automation targets the development project, while in-game features require the integration to be included in the compiled application. Client setup is performed either through Unity’s AI Game Developer window or the provided CLI workflow.

_Full upstream README: https://allmcps.com/mcp/ivanmurzak-unity-mcp/readme_

