
Advanced Unity
STDIOControl Unity with AI through natural language commands for automated development
Control Unity with AI through natural language commands for automated development
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
1. Install the Package
Unity Package Manager → Add package from git URL for the version of Unity you are using
For Unity 2020-2022
https://github.com/codemaestroai/advanced-unity-mcp.git?path=Unity2020_2022
For Unity 6+
https://github.com/codemaestroai/advanced-unity-mcp.git?path=Unity6
2. Connect Your AI
Code Maestro > MCP Dashboard
in Unity.Supported MCP Clients:
Clients other than the Code Maestro Desktop App use the Relay Server connection, which is installed automatically.
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
"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"
Unity MCP bridges your Unity Editor with AI assistants using the Model Context Protocol. It supports two connection modes, which can be selected in the MCP Dashboard:
Direct Connection (for Code Maestro Desktop App): This is the recommended mode for Code Maestro users. The Unity Editor connects directly to the Code Maestro Desktop App's central hub. This method is faster and doesn't require a separate relay server.
Relay Server Connection (for other clients): For clients like VS Code or Cursor, the bridge uses a local TCP server and a relay server.
The setup is automatic. Simply choose your connection mode in the dashboard.
💡 Tip: When multiple Unity projects are open, your AI assistant will automatically connect to the most recently opened Unity Editor instance.
Made by Code Maestro • Join our Discord • Report Issues • License