Tag: mcp
Dynamic C# Script Execution for Unity
Dynamically compiles and executes C# code within Unity using Roslyn. It supports both full class definitions and simplified method body injection, allowing Unity object references to be passed as parameters.
Delete Unity Script Files
Deletes specified script files within a Unity project and triggers an asset database refresh. The operation waits for Unity compilation to complete before reporting results.
Capture Unity Editor Scene View Screenshots
Captures a screenshot from the Unity Editor Scene View at a specified resolution and returns the image directly for visual inspection.
Isolated Unity GameObject Screenshot Tool
Renders high-resolution screenshots of specific Unity GameObjects with configurable camera angles, lighting, and background modes. Supports object isolation via layer-based culling and returns the result as a base64-encoded PNG.
Capture Unity Editor Game View Screenshots
Captures a screenshot from the Unity Editor Game View by reading the render texture directly via the Unity Editor API. The output image matches the current Game View resolution for visual inspection.
Unity Camera Screenshot Tool
Captures a screenshot from a specified Unity camera and returns the image directly. It supports custom dimensions and targeting specific GameObjects via hierarchy paths or instance IDs.
Unload Unity Editor Scenes
Unloads a specified scene from the currently opened scenes in the Unity Editor. It requires the scene name as input and returns a reference to the unloaded scene asset.
Set Active Unity Scene
Sets a specified opened scene as the active scene within a Unity project using a UnityEngine.Object asset reference.
Save Opened Unity Scenes to Assets
Saves an opened Unity scene to a specified asset file path. It supports targeting a specific scene name or defaulting to the currently active scene.
Open Unity Scenes via Asset Reference
This tool enables opening Unity scenes using an asset reference, supporting both single and additive loading modes. It allows for programmatic scene management within the Unity Editor.
List Opened Unity Editor Scenes
Retrieves a list of all currently opened scenes within the Unity Editor, providing metadata such as scene paths, build indices, and loading status.
Retrieve Unity Scene GameObject Data
Retrieves detailed information about root GameObjects within a specified Unity scene, including hierarchy, bounds, and component data. Supports efficient data extraction using path-scoped reads or complex view queries via regex filtering.
Create New Unity Project Scenes
Creates new scenes within Unity project assets using specified setup and mode configurations. The tool returns detailed metadata for the newly created scene, such as its path and build index.
Find C# Methods via Reflection
Locates C# methods within a Unity project using C# Reflection. It supports searching by class name, method name, and parameters, including private members.
Invoke C# Methods via Reflection
Executes C# methods within a Unity environment using reflection, allowing for the invocation of both public and private methods. The tool supports complex parameter passing and can specify execution on the main thread.
Lightweight Readiness Probe
A lightweight readiness probe that returns an optional input message or 'pong' to verify system availability.
Unity Package Manager Search
Query the Unity Package Manager registry and local project packages using package IDs, names, or descriptions. The tool provides metadata such as available versions, installation status, and package descriptions.
Unity Package Removal Tool
Removes a specified package from a Unity project's manifest.json and triggers package resolution.
List Installed Unity Project Packages
Retrieves a list of all Unity Package Manager (UPM) packages installed in a project. It supports filtering by package source, name, or description, and can be restricted to direct dependencies.
Unity Package Manager Installation Tool
Installs Unity packages from the registry, Git URLs, or local paths by modifying the project's manifest.json. This operation triggers package resolution and may cause a domain reload.
Modify Unity Object Fields and Properties
Enables direct modification of UnityEngine.Object fields and properties using JSON Merge Patch, path-based patches, or object diffs. It allows developers to target GameObjects, Components, and Assets via their instance IDs.
Set Parent GameObject in Unity
Assigns a list of GameObjects to a specified parent GameObject within an active Scene or opened Prefab. The operation can optionally maintain the world position of the child objects.
Modify Unity GameObject Fields and Properties
Perform batch modifications of GameObject fields and properties in active Scenes or Prefabs using path-based patches, JSON Merge Patch, or serialized member diffs. The tool supports complex updates to nested fields and array elements via sl…
Find Unity GameObjects in Scenes or Prefabs
Locates specific GameObjects within an active Unity scene or opened prefab using various identifiers like instance ID, path, or name. It supports efficient data retrieval through path-scoped reads and regex-based subtree filtering.