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.
暂无评论. 成为第一个评论的人!
登录以参与讨论
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.
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).
Create a prefab from a GameObject in the current active scene.
Instantiates prefab in the current active scene.
Add Component to GameObject.
Destroy one or many components from target GameObject.
Get detailed information about 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.
Finds specific GameObject by provided information.
Create new scene in the project assets.
Open scene from the project asset file.
Save opened scene to the asset file.
Set the specified opened scene as the active scene.
Clears the MCP log cache and the Unity Editor Console window.
Control the Unity Editor application state (start/stop/pause playmode).
Call any C# method with input parameters and return results.
Compiles and executes C# code dynamically using Roslyn.
Execute Unity tests (EditMode/PlayMode) with filtering and detailed results.
Capture the current frame's timing info (delta time, FPS, frame counts).
Toggle the local enabled flag for a named profiler module.
Return a memory statistics snapshot (reserved, allocated, mono heap, graphics).
Enable Unity's runtime profiler and open the Profiler window.
Do the turn in the chess game. Returns true if the turn was accepted, false otherwise.
Get the current state of the chess board.