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.
Aún no hay reseñas. ¡Sé el primero en reseñar!
Inicia sesión para unirte a la conversación
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
Get asset data from the asset file including all serializable fields and properties
Modify asset file in the project
Move the assets at paths in the project (also used for rename)
Refreshes the AssetDatabase
Create new material asset with default parameters
List all available shaders in the project assets and packages
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
Close currently opened prefab
Save a prefab in prefab editing mode
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
Finds specific GameObject by provided information
Modify GameObjects and/or attached component's fields and properties
Set parent GameObject to list of GameObjects
Add Component to GameObject
Destroy one or many components from target GameObject
Get detailed information about a specific Component on a GameObject
Modify a specific Component on a GameObject
List C# class names extended from UnityEngine.Component
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
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
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
Find method in the project using C# Reflection (even private methods)
Call any C# method with input parameters and return results
Execute Unity tests (EditMode/PlayMode) with filtering and detailed results
Install a package from the Unity Package Manager registry, Git URL, or local path
Remove (uninstall) a package from the Unity project
List all packages installed in the Unity project (UPM packages)
Search for packages in both Unity Package Manager registry and installed packages
Do the turn in the chess game. Returns true if the turn was accepted, false otherwise.
Get the current state of the chess board.