📦IvanMurzak / Unity-MCP
← 返回首页
AI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for free.
⚖️ Apache-2.0#ai#ai-integration#game-development#mcp#mcp-server🌐 ai-game.dev📅 创建于 2025-04-02🔄 更新于 2026-10-28

📄 仓库 README

在 GitHub 查看 ↗
来自 GitHub 仓库自述文件 · 版权归原作者所有

✨ AI Game Developer — Unity SKILLS, MCP

[![MCP](https://badge.mcpx.dev 'MCP Server')](https://modelcontextprotocol.io/introduction) [![OpenUPM](https://img.shields.io/npm/v/com.ivanmurzak.unity.mcp?label=OpenUPM&registry_uri=https://package.openupm.com&labelColor=333A41 'OpenUPM package')](https://openupm.com/packages/com.ivanmurzak.unity.mcp/) [![Docker Image](https://img.shields.io/docker/image-size/aigamedeveloper/mcp-server/latest?label=Docker%20Image&logo=docker&labelColor=333A41 'Docker Image')](https://hub.docker.com/r/aigamedeveloper/mcp-server) [![Unity Editor](https://img.shields.io/badge/Editor-X?style=flat&logo=unity&labelColor=333A41&color=2A2A2A 'Unity Editor supported')](https://unity.com/releases/editor/archive) [![Unity Runtime](https://img.shields.io/badge/Runtime-X?style=flat&logo=unity&labelColor=333A41&color=2A2A2A 'Unity Runtime supported')](https://unity.com/releases/editor/archive) [![r](https://github.com/IvanMurzak/Unity-MCP/workflows/release/badge.svg 'Tests Passed')](https://github.com/IvanMurzak/Unity-MCP/actions/workflows/release.yml)
[![Discord](https://img.shields.io/badge/Discord-Join-7289da?logo=discord&logoColor=white&labelColor=333A41 'Join')](https://discord.gg/cfbdMZX99G) [![OpenUPM](https://img.shields.io/badge/dynamic/json?labelColor=333A41&label=Downloads&query=%24.downloads&suffix=%2Fmonth&url=https%3A%2F%2Fpackage.openupm.com%2Fdownloads%2Fpoint%2Flast-month%2Fcom.ivanmurzak.unity.mcp)](https://openupm.com/packages/com.ivanmurzak.unity.mcp/) [![Stars](https://img.shields.io/github/stars/IvanMurzak/Unity-MCP 'Stars')](https://github.com/IvanMurzak/Unity-MCP/stargazers) [![License](https://img.shields.io/github/license/IvanMurzak/Unity-MCP?label=License&labelColor=333A41)](https://github.com/IvanMurzak/Unity-MCP/blob/main/LICENSE) [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua) AI work

Claude   Codex   Cursor   GitHub Copilot   Gemini   Antigravity   VS Code   Rider   Visual Studio   Open Code   Cline   Kilo Code

[中文](https://github.com/IvanMurzak/Unity-MCP/blob/main/docs/README.zh-CN.md) | [日本語](https://github.com/IvanMurzak/Unity-MCP/blob/main/docs/README.ja.md) | [Español](https://github.com/IvanMurzak/Unity-MCP/blob/main/docs/README.es.md)

Unity MCP is an AI-powered game development assistant for Editor & Runtime. Connect Claude, Cursor, & Windsurf to Unity via MCP. Automate workflows, generate code, and enable AI within your games.

Unlike other tools, this plugin works inside your compiled game, allowing for real-time AI debugging and player-AI interaction.

💬 Join our Discord Server - Ask questions, showcase your work, and connect with other developers!

AI Game Developer — Unity MCP

  • ✔️ AI agents - Use the best agents from Anthropic, OpenAI, Microsoft, or any other provider with no vendor lock-in
  • ✔️ Tools - A wide range of default MCP Tools for operating in Unity Editor
  • ✔️ Skills - Generate skills for AI based on operating system, Unity version, plugins in the project
  • ✔️ Code and Tests - Develop game mechanics and test them with AI agents
  • ✔️ Runtime (in-game) - Use LLMs directly inside your compiled game for dynamic NPC behavior or debugging
  • ✔️ Debug support - Let AI debug and fix the problems in a project
  • ✔️ Natural conversation - Chat with AI like you would with a human
  • ✔️ Flexible deployment - Works locally (stdio) and remotely (http) via configuration
  • ✔️ Extensible - Create custom Tools in your project code

DOWNLOAD INSTALLER

https://github.com/user-attachments/assets/228baf4d-4f00-4dce-939d-fb985ebdd8dd

OR use cli

# 1. Install unity-mcp-cli
npm install -g unity-mcp-cli

# 2. Install "AI Game Developer" in Unity project
unity-mcp-cli install-plugin ./MyUnityProject

# 3. Sign in to ai-game.dev (opens your browser — OAuth device flow)
unity-mcp-cli login

# 4. Open Unity project (auto-connects and generates skills)
unity-mcp-cli open ./MyUnityProject

AI Game Developer Windows

AI Game Developer — Unity SKILLS and MCP

Quick Start

Get up and running in three steps:

  1. Install plugin — download the .unitypackage installer or run openupm add com.ivanmurzak.unity.mcp

    Alternative: npx unity-mcp-cli install-plugin ./MyUnityProject — see CLI documentation

  2. Pick an AI agent — Claude Code, Claude Desktop, GitHub Copilot, Cursor, or any other
  3. Setup AI agent — open Window/AI Game Developer in Unity and click Auto-generate skills (recommended) or Configure MCP Setup AI Skills

    Alternative: npx unity-mcp-cli setup-skills claude-code ./MyUnityProject — see CLI documentation

That's it. Ask your AI "Create 3 cubes in a circle with radius 2" and watch it happen. ✨


Skills and Tools Reference

The plugin ships with 70+ built-in tools across four categories. Each tool brings AI skill. All tools are available immediately after installation — no extra configuration required. See docs/default-mcp-tools.md for the full reference with detailed descriptions.

🧰 Browse the full MCP tools registry online: ai-game.dev/docs/tools

Project & Assets - `assets-copy` - Copy the asset at path and stores it at newPath - `assets-create-folder` - Creates a new folder in the specified parent folder - `assets-delete` - Delete the assets at paths from the project - `assets-find` - Search the asset database using the search filter string - `assets-find-built-in` - Search the built-in assets of the Unity Editor - `assets-get-data` - Get asset data from the asset file including all serializable fields and properties - `assets-material-create` - Create new material asset with default parameters - `assets-modify` - Modify asset file in the project - `assets-move` - Move the assets at paths in the project (also used for rename) - `assets-prefab-close` - Close currently opened prefab - `assets-prefab-create` - Create a prefab from a GameObject in the current active scene - `assets-prefab-instantiate` - Instantiates prefab in the current active scene - `assets-prefab-open` - Open prefab edit mode for a specific GameObject - `assets-prefab-save` - Save a prefab in prefab editing mode - `assets-refresh` - Refreshes the AssetDatabase - `assets-shader-get-data` - Get detailed data about a shader asset (properties, subshaders, passes) - `assets-shader-list-all` - List all available shaders in the project assets and packages - `package-add` - Install a package from the Unity Package Manager registry, Git URL, or local path - `package-list` - List all packages installed in the Unity project (UPM packages) - `package-remove` - Remove (uninstall) a package from the Unity project - `package-search` - Search for packages in both Unity Package Manager registry and installed packages
Scene & Hierarchy - `gameobject-component-add` - Add Component to GameObject - `gameobject-component-destroy` - Destroy one or many components from target GameObject - `gameobject-component-get` - Get detailed information about a specific Component on a GameObject - `gameobject-component-list-all` - List C# class name

📈 近 7 天 Star 趋势

每日新增 Star(柱)与累计 Star(线)· 数据来自 GitHub

🏆 排名变化趋势

在各榜单中的排名历史(数字越小越靠前)

📋 历史上榜记录

每次快照的详细数据
日期 榜单 排名 周期新增 总 STAR