coplaydev/unity-mcp/unity-mcp-skill
Claude Code and agent skill by coplaydev/unity-mcp
- community
Checking that the SKILL.md file is still in the repository.
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.
Install
npx vskill@latest install coplaydev/unity-mcp/unity-mcp-skillSKILL.md
The same SKILL.md was published earlier as coplaydev/unity-mcp/unity-mcp-skill.
Unity-MCP Operator Guide
This skill helps you effectively use the Unity Editor with MCP tools and resources.
Template Notice
Examples in references/workflows.md and references/tools-reference.md are reusable templates. They may be inaccurate across Unity versions, package setups (UGUI/TMP/Input System), and project-specific conventions. Please check console, compilation errors, or use screenshot after implementation.
Before applying a template:
- Validate targets/components first via resources and
find_gameobjects. - Treat names, enum values, and property payloads as placeholders to adapt.
Quick Start: Resource-First Workflow
Always read relevant resources before using tools. This prevents errors and provides the necessary context.
If a tool you need is not in your tool list, it is not necessarily missing. Check these before troubleshooting the connection:
- Project custom tools (C#
[McpForUnityTool]): with project-scoped tools enabled on the server, they are not callable by name. List them viamcpforunity://custom-toolsand run them withexecute_custom_tool(tool_name="...", parameters={...}). With it disabled, they are registered as ordinary tools and appear in your list. - Disabled tool groups: over HTTP, a session starts with only the
coregroup enabled. Over stdio, all groups start enabled and are then synced to the tool toggles in the Unity editor, so a tool can still be hidden.manage_tools(action="list_groups")shows the groups,manage_tools(action="activate", group="...")enables one.
Critical Best Practices
1. After Writing/Editing Scripts: Wait for Compilation and Check Console
Why: Unity must compile scripts before they're usable. create_script and script_apply_edits already trigger import and compilation automatically — calling refresh_unity afterward is redundant.
2. Use batch_execute for Multiple Operations
Max 25 commands per batch by default (configurable in Unity MCP Tools window, max 100). Use fail_fast=True for dependent operations.
Tip: Also use batch_execute for discovery — batch multiple find_gameobjects calls instead of calling them one at a time:
3. Use Screenshots to Verify Visual Results
Best practices for AI scene understanding:
- Use
include_image=Truewhen you need to see the scene, not just save a file. - Use
batch="surround"for a comprehensive overview (6 angles, one command). - Use
view_target/view_positionto capture from a specific viewpoint without needing a scene camera. - Use
capture_source="scene_view"to see the editor viewport (gizmos, wireframes, grid). - Keep
max_resolutionat 256–512 to balance quality vs. token cost.
4. Check Console After Major Changes
5. Always Check mcpforunity://editor/state Before Complex Operations
Parameter Type Conventions
These are common patterns, not strict guarantees. manage_components.set_property payload shapes can vary by component/property; if a template fails, inspect the component resource payload and adjust.
Vectors (position, rotation, scale, color)
Booleans
Colors
Paths
Core Tool Categories
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingunity-mcp-skill/SKILL.md
Popularity
- Repository stars
- 15,580
- Repository forks
- 1,616
- 7-day trend score
- 47
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/coplaydev/unity-mcp/unity-mcp-skill)