MCP Catalogs
HomeUnity-MCP screenshot

Unity-MCP

by IvanMurzak·2,767·Score 57

Unity-MCP enables AI agents to work directly in Unity Editor and runtime through MCP protocol.

developer-toolsai-llmproductivity
256
Forks
48
Open issues
this month
Last commit
2d ago
Indexed

Overview

Unity-MCP is a comprehensive MCP server that bridges Unity game development with AI capabilities. It provides extensive tools for AI agents to manipulate Unity projects, create game objects, modify assets, and even work within compiled games at runtime. The server supports multiple AI providers including Claude, OpenAI, and Microsoft with no vendor lock-in, and features a CLI for quick setup. Its ability to enable AI interaction inside games opens up possibilities for dynamic NPC behavior and real-time debugging.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Automating Unity project development tasks with AI agents
you:Creating dynamic NPC behavior in games using LLMs at runtime
you:Debugging Unity projects with AI assistance
you:Does Unity-MCP work in runtime games?
you:Which AI providers are supported?
you:Can I create custom tools?

When to choose this

Choose Unity MCP if you're developing with Unity and want to integrate AI directly into your development workflow or game runtime.

When NOT to choose this

Don't choose Unity MCP if you're not using Unity or need AI integration with other game engines.

Tools this server exposes

12 tools extracted from the README
  • assets-copy

    Copy the asset at path and stores it at newPath

  • gameobject-create

    Create a new GameObject in opened Prefab or in a Scene

  • scene-open

    Open scene from the project asset file

  • script-update-or-create

    Updates or creates script file with the provided C# code

  • reflection-method-call

    Call any C# method with input parameters and return results

  • editor-application-set-state

    Control the Unity Editor application state (start/stop/pause playmode)

  • assets-find

    Search the asset database using the search filter string

  • gameobject-modify

    Modify GameObjects and/or attached component's fields and properties

  • package-add

    Install a package from the Unity Package Manager registry

  • tests-run

    Execute Unity tests (EditMode/PlayMode) with filtering and detailed results

  • screenshot-game-view

    Captures a screenshot from the Unity Editor Game View

  • reflection-method-find

    Find method in the project using C# Reflection (even private methods)

Comparable tools

unity-tools-mcpgame-dev-assistantclaude-codecursorai-game-dev

Installation

Installation

Unity Package

  1. [Download the Unity package](https://github.com/IvanMurzak/Unity-MCP/releases/latest/download/AI-Game-Dev-Installer.unitypackage)
  2. Import it into your Unity project

OpenUPM

openupm add com.ivanmurzak.unity.mcp

CLI

# Install CLI
npm install -g unity-mcp-cli

# Install plugin in Unity project
unity-mcp-cli install-plugin ./MyUnityProject

# Setup AI skills
unity-mcp-cli setup-skills claude-code ./MyUnityProject

Claude Desktop Configuration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "unity-mcp": {
      "command": "npx",
      "args": ["unity-mcp-server"],
      "env": {}
    }
  }
}

FAQ

Does Unity-MCP work in runtime games?
Yes, unlike many other tools, Unity-MCP works inside your compiled game, allowing for real-time AI debugging and player-AI interaction.
Which AI providers are supported?
Unity-MCP supports AI agents from Anthropic (Claude), OpenAI, Microsoft, and any other provider with no vendor lock-in.
Can I create custom tools?
Yes, the server is extensible - you can create custom tools in your project code by exposing C# methods as MCP tools.

On Hacker News

Recent discussion from the developer community.

Compare Unity-MCP with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.