nurture-tech/unity-mcp-server
If you are the rightful owner of unity-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Union ♾️ - The Unity MCP Server is a Model Context Protocol server designed for Unity, offering advanced features for seamless integration and enhanced functionality.
Union ♾️ - The Unity MCP Server is a cutting-edge Model Context Protocol server tailored for Unity, providing a robust platform for developers to enhance their Unity projects. With its multimodal vision capabilities, the server allows agents to perceive the scene, inspect asset thumbnails, and view through any camera. It offers powerful search functionalities that extend beyond the project panel, enabling simultaneous searches across hierarchy and project assets. The server also boasts superior code analysis by leveraging Unity's own compiler, ensuring more accurate results than traditional linters. Quick to set up, Union requires only a single `mcp.json` configuration file to get started. It is highly extensible, allowing developers to add project-specific tools with minimal effort. The server is always kept up-to-date with the latest MCP protocol version, ensuring compatibility and access to the latest features.
Features
- Multimodal Vision: Allows agents to see the scene, inspect asset thumbnails, and view through any camera.
- Powerful Search: Enables simultaneous searches across hierarchy and project assets.
- Superior Code Analysis: Utilizes Unity's compiler for more accurate code analysis.
- Quick Start: Easy setup with a single `mcp.json` configuration file.
- Extensible: Supports adding project-specific tools with minimal boilerplate.
Tools
get_asset_contents
Get the full contents of an asset or sub-asset.
copy_asset
Copy an asset to a new path.
import_asset
Import an asset from the filesystem into Unity.
get_asset_importer
Get the importer settings for an asset.
open_prefab
Open a Unity prefab in isolation mode for editing.
open_scene
Open a scene.
close_scene
Close an open scene.
save_scene
Save the current scene.
get_game_object
Get the details of a game object in a loaded scene or prefab.
test_active_scene
Test the active scene by entering play mode.
create_script
Create or replace a C# code file and check for compilation.
execute_code
Execute code inside the Unity editor.
get_type_info
Get public fields and methods on a Unity type.
search
Search project assets and scene objects.
get_state
Get the state of the Unity Editor.
get_selection
Get the objects currently selected in the editor.
focus_game_object
Focus on a game object in the scene view.
screenshot
Retrieve a preview of what is focused in the scene view.