CtrlK
BlogDocsLog inGet started
Tessl Logo

Unity-MCP

github.com/IvanMurzak/Unity-MCP

Skill

Added

Review

unity-version-split

Unity-MCP-Plugin/.claude/skills/unity-version-split/SKILL.md

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

79

unity-tool-list

Unity-MCP-Plugin/.claude/skills/unity-tool-list/SKILL.md

List all Unity-MCP tools registered in the connected Unity Editor instance. Optional regex filter matches against tool name, description, and argument names/descriptions. Use the `includeDescription` / `includeInputs` toggles to control the response size.

62

unity-skill-generate

Unity-MCP-Plugin/.claude/skills/unity-skill-generate/SKILL.md

Regenerate every `SKILL.md` from the project's currently-registered MCP tools into the configured skills folder (or a project-relative override path). Writes the YAML `description:` from `[AiSkillDescription]` and the body from `[AiSkillBody]`.

60

unity-skill-create

Unity-MCP-Plugin/.claude/skills/unity-skill-create/SKILL.md

Create a new skill (MCP tool) for the Unity Editor by writing a C# (.cs) file that Unity compiles into the project. After compilation the new tool becomes callable through MCP. The file must be a partial class decorated with [AiToolType], each tool method must be decorated with [AiTool], the class name should match the file name, all Unity API calls must run via com.IvanMurzak.ReflectorNet.Utils.MainThread.Instance.Run(), and the method should either return a structured data model (for parseable output) or void (for side-effect-only operations). See the body of this skill for a full sample and best-practice notes.

63

unity-initial-setup

Unity-MCP-Plugin/.claude/skills/unity-initial-setup/SKILL.md

Provides an initial setup for AI Skills, `unity-mcp-cli` command line tool installation and everything else that is helpful to set up at the start of the project. Essential packages, and basic configurations.

52

type-get-json-schema

Unity-MCP-Plugin/.claude/skills/type-get-json-schema/SKILL.md

Generate a JSON Schema for a C# type name via reflection. Supports primitives, enums, arrays, generic collections, dictionaries, and complex objects. Knobs control inclusion of nested `$defs` and whether type-level / property-level descriptions are emitted.

64

tool-set-enabled-state

Unity-MCP-Plugin/.claude/skills/tool-set-enabled-state/SKILL.md

Enable or disable MCP tools by name in batch. Persists the change via `UnityMcpPluginEditor.Instance.Save()` only when at least one tool actually flipped. Returns per-input success flags plus optional operation logs.

50

tests-run

Unity-MCP-Plugin/.claude/skills/tests-run/SKILL.md

Execute Unity tests (`EditMode` or `PlayMode`) and return per-test results. Supports filtering by test assembly, namespace, class, and method. Refreshes the AssetDatabase first; defers execution across domain reloads if scripts changed. Precondition: every open scene must be saved — dirty scenes abort the run.

67

script-update-or-create

Unity-MCP-Plugin/.claude/skills/script-update-or-create/SKILL.md

Write a `.cs` script file (create or overwrite) with the provided C# code. Validates syntax via Roslyn before write — invalid code is rejected with error details and the file is left untouched. Refreshes the AssetDatabase and delivers the final result via `requestId` after Unity finishes the triggered compilation. Use 'script-read' to inspect existing content first.

60

script-read

Unity-MCP-Plugin/.claude/skills/script-read/SKILL.md

Read a `.cs` script file and return its content as a string. Supports a 1-based `lineFrom`/`lineTo` slice for partial reads. Pair with 'script-update-or-create' to write back.

64

script-execute

Unity-MCP-Plugin/.claude/skills/script-execute/SKILL.md

Compiles and executes C# code dynamically using Roslyn. Supports a full-code mode (default) and a body-only mode — see the skill body for the difference and for how to pass Unity object references as parameters.

58

script-delete

Unity-MCP-Plugin/.claude/skills/script-delete/SKILL.md

Delete one or more `.cs` script files from disk, refresh the AssetDatabase, and wait for Unity compilation to settle before delivering the final result via the request's `requestId`. Pair with 'script-read' to inspect files before deletion.

56

screenshot-scene-view

Unity-MCP-Plugin/.claude/skills/screenshot-scene-view/SKILL.md

Capture a screenshot from the Unity Editor Scene View at the requested size. Renders via the Scene View's active camera onto a temporary `RenderTexture`. Requires an open Scene View.

61

screenshot-isolated

Unity-MCP-Plugin/.claude/skills/screenshot-isolated/SKILL.md

Render a target GameObject from a chosen camera angle with optional layer-based isolation, configurable background (solid/skybox/transparent), multi-light setup via JSON, and Composite (2x2 Front/Right/Back/Top) mode. Returns a PNG image. When isolated=true, inactive children may briefly fire OnEnable — see the body for side-effect notes.

63

screenshot-game-view

Unity-MCP-Plugin/.claude/skills/screenshot-game-view/SKILL.md

Capture a screenshot of the Unity Editor's Game View by reading its internal render texture directly. Image size matches the current Game View resolution; the tool corrects Y-flip on DirectX / Metal so the output is always upright. Requires an open Game View window.

64

screenshot-camera

Unity-MCP-Plugin/.claude/skills/screenshot-camera/SKILL.md

Capture a screenshot from a Unity `Camera` and return it as a PNG image for direct LLM inspection. Falls back to `Camera.main` (then any active camera) when `cameraRef` is null. Width and height are capped to keep response size manageable.

62

scene-unload

Unity-MCP-Plugin/.claude/skills/scene-unload/SKILL.md

Unload an opened scene from the Unity Editor (asynchronously via `SceneManager.UnloadSceneAsync`). Use 'scene-list-opened' to find the scene name first.

60

scene-set-active

Unity-MCP-Plugin/.claude/skills/scene-set-active/SKILL.md

Mark an opened scene as the Editor's active scene (the one new GameObjects are added to and that's used as the default for many operations). Use 'scene-list-opened' to enumerate opened scenes first.

58

scene-save

Unity-MCP-Plugin/.claude/skills/scene-save/SKILL.md

Save an opened scene back to its asset file (or to a new path when `path` is provided). When `openedSceneName` is empty, saves the currently active scene. Use 'scene-list-opened' to find the scene name first.

64

scene-open

Unity-MCP-Plugin/.claude/skills/scene-open/SKILL.md

Open a Unity scene asset in Single or Additive mode. Returns the post-open list of all opened scenes. Use 'assets-find' to locate the scene asset first.

58

scene-list-opened

Unity-MCP-Plugin/.claude/skills/scene-list-opened/SKILL.md

List every scene currently opened in the Unity Editor as a shallow snapshot (name, path, build flags). Use 'scene-get-data' for the deep view of a specific scene.

61

scene-get-data

Unity-MCP-Plugin/.claude/skills/scene-get-data/SKILL.md

Retrieve the list of root GameObjects in the specified opened scene (or the active scene when `openedSceneName` is empty). Supports token-saving path-scoped reads over the root-GameObjects array via `paths` or `viewQuery`. Use 'scene-list-opened' to enumerate scenes.

62

scene-create

Unity-MCP-Plugin/.claude/skills/scene-create/SKILL.md

Create a new Unity scene asset and save it at the given `.unity` path. Use 'scene-list-opened' to inspect the resulting opened-scene set afterwards.

61

reflection-method-find

Unity-MCP-Plugin/.claude/skills/reflection-method-find/SKILL.md

Find C# methods across every loaded assembly by name / type / parameters — including private methods. Returns serialized `MethodData` entries usable as schemas for 'reflection-method-call'.

62

reflection-method-call

Unity-MCP-Plugin/.claude/skills/reflection-method-call/SKILL.md

Call a C# method by reflection — including private methods. Requires a method schema obtained via 'reflection-method-find'. Supports static methods, instance methods (with optional target deserialization), and main-thread / off-thread execution.

58