Unity
Control the Unity Editor: assets, scenes, scripts, and test runs.
Unity
Control the Unity Editor: assets, scenes, scripts, and test runs. With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Unity MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Unity tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Unity once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- manage_animation · Write
Manage Unity animation: Animator control and AnimationClip creation. - apply_text_edits · Write
Apply small text edits to a C# script identified by URI. - batch_execute · Write
Executes multiple MCP commands in a single batch for dramatically better performance. - create_script · Write
Create a new C# script at the given project path. - debug_request_context · Read-only
Return the current FastMCP request context details (client_id, session_id, and meta dump). - delete_script · Write
Delete a C# script by URI or Assets-relative path. - execute_custom_tool · Write
Execute a project-scoped custom tool registered by Unity. - execute_menu_item · Write
Execute a Unity menu item by path. - find_gameobjects · Read-only
Search for GameObjects in the scene by name, tag, layer, component type, or path. - find_in_file · Read-only
Searches a file with a regex pattern and returns line numbers and excerpts. - get_sha · Read-only
Get SHA256 and basic metadata for a Unity C# script without returning file contents. - manage_asset · Write
Performs asset operations (import, create, modify, delete, etc.) in Unity. - manage_build · Write
Manage Unity player builds — trigger builds, switch platforms, configure settings, manage build scenes and profiles, run batch builds across platforms. - manage_camera · Write
Manage cameras (Unity Camera + Cinemachine). - manage_components · Write
Add, remove, or set properties on components attached to GameObjects. - manage_editor · Write
Controls and queries the Unity editor's state and settings. - manage_gameobject · Write
Performs CRUD operations on GameObjects. - manage_graphics · Write
Manage rendering graphics: volumes, post-processing, light baking, rendering stats, pipeline settings, and URP renderer features. - manage_material · Write
Manages Unity materials (set properties, colors, shaders, etc). - manage_packages · Write
Manage Unity packages: query, install, remove, embed, and configure registries.
Frequently asked questions
What is the Unity MCP server?
Control the Unity Editor: assets, scenes, scripts, and test runs. Through Lunar.dev MCPX, Unity connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect Unity to MCPX?
Add the Unity server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles no authentication and routes every Unity call through the gateway.
Is the Unity MCP server official?
Unity is a community-maintained MCP server. MCPX lets you risk-assess and sandbox it before rolling it out to your teams.
What authentication does Unity use with MCPX?
Unity requires no authentication. MCPX still controls which agents and users are allowed to call it through role-based access control.
How many tools does Unity expose in MCPX?
Unity's tools can be enabled or disabled individually in MCPX for least-privilege access.
