Unity-MCP is a template for creating Unity packages that implement the Model Context Protocol. It provides a structured project setup with automated workflows for testing across multiple Unity versions, deployment scripts for npm and GitHub, and utility commands for package management. The template includes SignalR client integration for real-time communication and follows best practices for Unity package development with comprehensive GitHub Actions CI/CD support.
Aucun avis encore. Soyez le premier à donner votre avis !
Connectez-vous pour rejoindre la conversation
Copy the asset at path and stores it at newPath.
Creates a new folder in the specified parent folder.
Delete the assets at paths from the project.
Search the asset database using the search filter string.
Search the built-in assets of the Unity Editor.
Get asset data from the asset file including all serializable fields and properties.
Create new material asset with default parameters.
Modify asset file in the project.
Move the assets at paths in the project (also used for rename).
Close currently opened prefab.
Create a prefab from a GameObject in the current active scene.
Instantiates prefab in the current active scene.
Open prefab edit mode for a specific GameObject.
Save a prefab in prefab editing mode.
Refreshes the AssetDatabase.
List all available shaders in the project assets and packages.
Install a package from the Unity Package Manager registry, Git URL, or local path.
List all packages installed in the Unity project (UPM packages).
Remove (uninstall) a package from the Unity project.
Search for packages in both Unity Package Manager registry and installed packages.
Add Component to GameObject.
Destroy one or many components from target GameObject.
Get detailed information about a specific Component on a GameObject.
List C# class names extended from UnityEngine.Component.
Modify a specific Component on a GameObject.
Create a new GameObject in opened Prefab or in a Scene.
Destroy GameObject and all nested GameObjects recursively.
Duplicate GameObjects in opened Prefab or in a Scene.
Find specific GameObject by provided information.
Modify GameObjects and/or attached component's fields and properties.
Set parent GameObject to list of GameObjects.
Get data of the specified Unity Object.
Modify the specified Unity Object.
Create new scene in the project assets.
Retrieves the list of root GameObjects in the specified scene.
Returns the list of currently opened scenes in Unity Editor.
Open scene from the project asset file.
Save opened scene to the asset file.
Set the specified opened scene as the active scene.
Unload scene from the opened scenes in Unity Editor.
Captures a screenshot from a camera and returns it as an image.
Captures a screenshot from the Unity Editor Game View.
Captures a screenshot from the Unity Editor Scene View.
Retrieves Unity Editor logs with filtering options.
Returns information about the Unity Editor application state (playmode, paused, compilation).
Control the Unity Editor application state (start/stop/pause playmode).
Get information about the current Selection in the Unity Editor.
Set the current Selection in the Unity Editor.
Call any C# method with input parameters and return results.
Find method in the project using C# Reflection (even private methods).
Delete the script file(s).
Compiles and executes C# code dynamically using Roslyn.
Reads the content of a script file.
Updates or creates script file with the provided C# code.
Execute Unity tests (EditMode/PlayMode) with filtering and detailed results.
Do the turn in the chess game. Returns true if the turn was accepted, false otherwise.
Get the current state of the chess board.