UG

Unity3d Game Engine

Created 6 months ago

MCP Unity is an implementation of the Model Context Protocol for Unity Editor, allowing AI assistants to interact with your Unity projects.

development location documentation public AI Unity

What is Unity3d Game Engine?

An MCP server that enables LLMs to interact with Unity3d Game Engine, supporting access to a variety of the Unit's Editor engine tools (e.g. Console Logs, Test Runner logs, Editor functions, hierarchy state, etc) and executing them as MCP tools or gather them as resources.

Documentation

MCP Unity Editor (Game Engine)

Features# IDE Integration

  • Package Cache Access

MCP Server Tools

  • execute_menu_item
  • select_gameobject
  • update_gameobject
  • update_component
  • add_package
  • run_tests
  • send_console_log
  • add_asset_to_scene

MCP Server Resources

  • unity://menu-items
  • unity://scenes-hierarchy
  • unity://gameobject/{id}
  • unity://logs
  • unity://packages
  • unity://assets
  • unity://tests/{testMode}

Requirements

  • Unity 2022.3 or later
  • Node.js 18 or later
  • npm 9 or later

Installation

  1. Install Node.js
  2. Install Unity MCP Server package via Unity Package Manager
  3. Configure AI LLM Client

Start Unity Editor MCP Server

  1. Open the Unity Editor
  2. Navigate to Tools > MCP Unity > Server Window
  3. Click "Start Server"

Debugging the Server

  • Building the Node.js Server
  • Debugging with MCP Inspector

Frequently Asked Questions

  • What is MCP Unity?
  • Why use MCP Unity?
  • How does MCP Unity compare with Unity 6.2 AI features?

Support & Feedback

  • Open an issue on GitHub
  • Contact via LinkedIn, Discord, or Email

License

This project is under MIT License.

Server Config

{
  "mcpServers": {
    "unity3d-game-engine-server": {
      "command": "npx",
      "args": [
        "unity3d-game-engine"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: CoderGamester
Category: community
License: MIT License
Tags:
development location documentation