Skip to main content
Glama

Advanced Unity MCP

Advanced Unity MCP from Code Maestro

Control Unity with AI through natural language commands.

Instead of clicking through menus and manually setting up GameObjects, just tell your AI assistant what you want and watch it happen automatically.

"Create a red material and apply it to a cube" "Build the project for Android" "Make a new scene with a camera and directional light"

Quick Start

1. Install the Package

Unity Package Manager → Add package from git URL:

https://github.com/codemaestroai/advanced-unity-mcp.git

2. Connect Your AI

  • Go to Code Maestro > MCP Dashboard in Unity
  • Click Configure next to your preferred MCP client
  • Start giving commands!

Supported MCP Clients: Code Maestro, GitHub Copilot, Cursor, Windsurf, Claude Code

What Unity MCP Can Do

Core Editor Control - Play/pause/stop game, execute menu items, read/clear console messages
Asset & Scene Management - Create/modify/delete materials, prefabs, scripts, manage scenes and GameObjects
Build & Platform Tools - Build settings, platform switching, Android Debug Bridge operations
Project Configuration - Unity packages, project settings, PlayerPrefs, external tools
Performance Analysis - Unity Profiler control for performance bottlenecks

Examples

  • "Check the console for any errors"
  • "Create a script called PlayerMovement with WASD controls"
  • "Switch the build target to iOS"
  • "Add a rigidbody component to the selected object"
  • "Create a new material with metallic properties"
  • "Save the current GameObject as a prefab"
  • "Clear all console messages and check for warnings"

How It Works

Unity MCP bridges your Unity Editor with AI assistants using the Model Context Protocol. Two components work together:

  • Bridge Server - Runs in Unity Editor, provides API access
  • Relay Server - Handles communication with MCP clients

The setup is automatic once you install the package and configure your MCP client.

Requirements

  • Unity 2022+
  • MCP Client (Such as GitHub Copilot or Cursor)

Made by Code MaestroJoin our DiscordReport Issues

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

A bridge that enables controlling Unity Editor through natural language commands via AI assistants, allowing users to create materials, build projects, manage scenes, and configure settings without manual interaction.

  1. Quick Start
    1. What Unity MCP Can Do
      1. Examples
        1. How It Works
          1. Requirements

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Unity Master Control Protocol implementation that allows AI agents to control and interact with Unity, enabling them to execute code, query editor state, modify GameObjects, and capture screenshots through a WebSocket-based communication system.
              Last updated -
              7
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A bridge enabling seamless communication between Unity and Large Language Models via the Model Context Protocol, allowing developers to automate workflows, manipulate assets, and control the Unity Editor programmatically.
              Last updated -
              1,449
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.
              Last updated -
              40
              MIT License
              • Linux
              • Apple
            • -
              security
              F
              license
              -
              quality
              A protocol server that bridges AI assistants with Unity projects, allowing them to analyze code, parse scenes, generate scripts, and perform other Unity operations through specialized tools.
              Last updated -
              TypeScript
              • Linux
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/codemaestroai/advanced-unity-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server