MCP ExplorerExplorer

Advanced Unity Mcp

@codemaestroaion 10 days ago
10 MIT
FreeCommunity
AI Systems
Public repository for Advanced Unity MCP by Code Maestro.

Overview

What is Advanced Unity Mcp

advanced-unity-mcp is a public repository developed by Code Maestro that allows users to control the Unity game engine using AI through natural language commands, streamlining the game development process.

Use cases

Use cases include automating repetitive tasks such as creating materials, managing scenes, building projects for different platforms, and analyzing performance metrics, all through simple natural language commands.

How to use

To use advanced-unity-mcp, install the package via Unity Package Manager using the provided Git URL. Then, connect your preferred AI client through the MCP Dashboard in Unity and start issuing commands to control various aspects of your project.

Key features

Key features include core editor control (play/pause/stop), asset and scene management (create/modify/delete materials, prefabs), build and platform tools (build settings, platform switching), project configuration (Unity packages, project settings), and performance analysis (Unity Profiler control).

Where to use

advanced-unity-mcp can be used in game development, particularly in projects that utilize the Unity engine, enabling developers to enhance productivity and efficiency through AI assistance.

Content

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"

Watch the video

Watch the video

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 and any other MCP-capable copilot.

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

Tools

No tools

Comments