Unity MCP Scene and Asset Control
Paste the following prompt into your AI chat to install this skill:
Install @user_3c6cb52e/control-unity-editor-scenes-and-assets-through-mcp-for-unity following https://skillhub.cn/install/skillhub.md.
About this skill
Problem
In Unity projects, AI assistants usually only process plain text and cannot inspect the current scene, read asset references, or trigger editor commands. When developers want to automate scene checks, asset organization, script edits, or test runs, they still have to perform those operations manually inside the editor. This skill connects MCP-compatible agents to Unity Editor so models can work on concrete development tasks tied to the current project state.
How It Works
The skill is built around MCP for Unity, which connects clients such as Claude, Codex, VS Code, Cursor, or local LLMs to the Unity editor. Once connected, an agent can operate on project context and perform tasks such as:
- Inspect scenes: review the current open scene, object relationships, and node states
- Manage assets: read, organize, or operate on asset references in the project
- Edit scripts: modify or extend existing Unity scripts within their project context
- Run tests: trigger editor-side tests to help validate changes
Boundaries
It targets existing Unity Editor environments and typically requires Python 3.10+ and an MCP-compatible client. The skill does not replace Unity plugin development; it exposes editor capabilities to external models. For bulk asset changes, scene rewrites, or test automation, validate the workflow in a small scene before applying it to a production project.
Use Cases
- Connect Claude or Codex to Unity, then inspect the current scene for missing references, unassigned components, and hierarchy issues.
- While cleaning a Unity project, ask the agent to read asset references, locate unused prefabs, and suggest cleanup actions.
- Before editing Unity scripts, use MCP to query related scene objects and component settings instead of guessing from code alone.
- Before running editor tests, have the agent check the open scene state to confirm pending changes will not affect unsaved objects.
Best For
- Game engineers using Claude or Codex for Unity development who want agents to inspect editor scenes and component states.
- Unity team members maintaining project assets who need MCP assistance to review asset references and unused assets.
- Developers writing Unity scripts in VS Code or Cursor who want to query related scene objects before making code changes.
- QA engineers running Unity editor tests who want to confirm the open scene state before triggering test execution.
Related Skills
Guides Java Spring Boot backend development across REST APIs, data access, security, microservices, testing, deployment, and troubleshooting.
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Restores Lanhu designs to target framework code using schema JSON, design tokens, and image assets.
Automatically detects engineering or competition code, analyzes bugs, vulnerabilities, algorithm complexity, and edge cases, then produces risk-level findings with before/after fixes.