Unity-MCP
Copilot instructions4.4k starsChanged 9 months agoApache-2.0View on GitHub
PROHIBITED: Using System.Reflection to access private, internal, or otherwise non-public fields, properties, methods, or classes in project code. This includes Type.GetType, BindingFlags.NonPublic, GetMethod, GetField, GetProperty, and similar reflection APIs when used to bypass access modifiers. Example of prohibited code: Note: This rule does NOT apply to ReflectorNet library usage, which is an external dependency specifically designed for reflection-based access patterns. Before performing any code review, you MUST read the project constitution: .specify/memory/constitution.md. All code review feedback must verify adherence to…
Trending
Less talk lately.about the whole repository
Who's talking about IvanMurzak/Unity-MCP
- A Hacker News story“AI Acceleration for Unity Game Engine”Hacker News · Apr 19, 2025 · 3 points
- anthropics/claude-code“[BUG] Claude Code immediately returns "Interrupted by user" on any input”GitHub · Sep 8, 2025 · 1 reactions
- sudosubin/agents.nix“agent-skills.github.ivanmurzak.unity-mcp: init at 0.93.2”GitHub · Oct 3, 2026
- Calinou/awesome-gamedev“Add Unity-MCP and Godot-MCP”GitHub · Jul 1, 2026
- TensorBlock/awesome-mcp-servers“Add Unity-MCP, Godot-MCP, Unreal-MCP to Gaming”GitHub · Jul 1, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub and Hacker News (23 times).
On GitHub · 22
- Sep 8, 2025[BUG] Claude Code immediately returns "Interrupted by user" on any input — anthropics/claude-code1 reaction · 6 comments
- Oct 3, 2026agent-skills.github.ivanmurzak.unity-mcp: init at 0.93.2 — sudosubin/agents.nix0 reactions
- Jul 1, 2026Add Unity-MCP and Godot-MCP — Calinou/awesome-gamedev0 reactions · 2 comments
- Jul 1, 2026Add Unity-MCP, Godot-MCP, Unreal-MCP to Gaming — TensorBlock/awesome-mcp-servers0 reactions · 1 comment
- Jun 6, 2026content(mcp): add AI Game Developer Unity MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
17 more on GitHub
- Jun 6, 2026Addon — download & run the version-matched Godot-MCP-Server binary (Unity-MCP-Plugin parity) — IvanMurzak/Godot-MCP0 reactions
- Apr 24, 2026[mcp error]"tools.function.parameters is not a valid moonshot flavored json schema, details: <At path 'properti es.assetRef': conflicting keywords found after $ref expansion: description>", 'type': 'invalid_request_error'} — MoonshotAI/kimi-cli0 reactions
- Apr 12, 2026Support for Unity 6.3 package signature verification — openupm/openupm0 reactions · 16 comments
- Apr 6, 2026Audit candidate: IvanMurzak/Unity-MCP — xiaolai/nlpm0 reactions · 2 comments
- Mar 28, 2026Disk cleanup — IvanMurzak/Unity-Package-Template0 reactions
- Mar 28, 2026Disk cleanup — IvanMurzak/Unity-AI-Tools-Template0 reactions
- Mar 28, 2026Disk cleanup — IvanMurzak/Unity-AI-Animation0 reactions · 1 comment
- Mar 28, 2026Disk cleanup — IvanMurzak/Unity-AI-ParticleSystem0 reactions · 2 comments
- Mar 28, 2026Disk cleanup — IvanMurzak/Unity-AI-ProBuilder0 reactions · 1 comment
- Mar 13, 2026Feature: mcp tool timeout configuration — hotovo/aider-desk0 reactions · 2 comments
- Mar 4, 2026Version bump workflow — IvanMurzak/Unity-AI-ProBuilder0 reactions · 1 comment
- Mar 4, 2026Version bump workflow — IvanMurzak/Unity-AI-ParticleSystem0 reactions · 1 comment
- Mar 4, 2026Version bump workflow — IvanMurzak/Unity-AI-Animation0 reactions · 1 comment
- Mar 1, 2026Integracao Unity MCP - Desenvolvimento por Linguagem Natural — fabioaap/bus_shift0 reactions · 1 comment
- Dec 12, 2025[Server Submission]: AI Game Developer — cline/mcp-marketplace0 reactions
- Nov 16, 2025[MCP Catalog] New MCP server candidate: io.github.IvanMurzak/Unity-MCP — obot-platform/mcp-catalog0 reactions
- Jul 26, 2025Reflector.Instance.Serialize does not serialize nested serializable classes (e.g. inner class arrays) — IvanMurzak/ReflectorNet0 reactions
On Hacker News · 1
- Apr 19, 2025AI Acceleration for Unity Game Engine3 points · 1 comment
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- Unity-MCP-Plugin/CLAUDE.mdCLAUDE.md
- build-cliSkill
- github-pr-review-fixSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Before performing any code review, you MUST read the project constitution: .specify/memory/constitution.md.
- Very specific: line 27
C#: Use 4 spaces indentation.
- Distinctive: line 30
PowerShell: Use K&R brace style.
- Distinctive: line 44
Run tests: commands/run-unity-tests.ps1.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Guidelines
Critical Rules
No C# Reflection for Private Access
PROHIBITED: Using System.Reflection to access private, internal, or otherwise non-public fields, properties, methods, or classes in project code. This includes Type.GetType, BindingFlags.NonPublic, GetMethod, GetField, GetProperty, and similar reflection APIs when used to bypass access modifiers.
Example of prohibited code:
// WRONG: Accessing internal Unity API via reflection
var logEntriesType = Type.GetType("UnityEditor.LogEntries, UnityEditor.CoreModule")
?? Type.GetType("UnityEditorInternal.LogEntries, UnityEditor.CoreModule")
?? Type.GetType("UnityEditor.LogEntries, UnityEditor")
?? Type.GetType("UnityEditorInternal.LogEntries, UnityEditor");
logEntriesType?.GetMethod("Clear", BindingFlags.Static | BindingFlags.Public)
?.Invoke(null, null);Note: This rule does NOT apply to
ReflectorNetlibrary usage, which is an external dependency specifically designed for reflection-based access patterns.
Code Review
Before performing any code review, you MUST read the project constitution: .specify/memory/constitution.md. All code review feedback must verify adherence to the principles defined in the constitution. Constitution principles supersede ad-hoc practices when conflicts arise.
Code Style
- C#: Use 4 spaces indentation. PascalCase for classes/methods/properties,
_camelCasefor private readonly fields.- Namespace:
com.IvanMurzak.Unity.MCP. - Example: UnityMcpPlugin.cs.
- Namespace:
- PowerShell: Use K&R brace style.
Architecture
- Unity-MCP-Plugin: Main Unity package.
- Core logic: Packages/com.ivanmurzak.unity.mcp/Runtime.
- Editor logic:
Packages/com.ivanmurzak.unity.mcp/Editor. - Tests:
Packages/com.ivanmurzak.unity.mcp/Tests.
- MCP Server: lives in the shared GameDev-MCP-Server repo (binary
gamedev-mcp-server); the plugin downloads the release pinned byMcpServerManager.ServerVersion. - Installer: Installer/ wraps the package installation.
- Unity-Tests: Unity-Tests/ contains projects for different Unity versions (2022, 2023, 6000) linking locally to the Plugin.
Build and Test
- Plugin:
- Auto-compiles in Unity.
- Run tests: commands/run-unity-tests.ps1.
- Editor Tests:
Packages/com.ivanmurzak.unity.mcp/Tests/Editor.
- Server: built and released from the shared GameDev-MCP-Server repo — not from this repo.
- Commands: See commands/ for utility scripts (release, tests).
Project Conventions
- MCP Tools: Implemented using attributes in the Plugin. Reflection-based access via
ReflectorNet. - Documentation:
- Unity-MCP.wiki for user docs.
- docs/ for translations and repo docs.
- See
CLAUDE.mdin subdirectories for specific agent notes.
- Versioning:
package.jsoninUnity-MCP-Plugin/Packages/com.ivanmurzak.unity.mcp/package.json.
Integration Points
- Communication: SignalR between Server and Plugin.
- Dependencies: OpenUPM for external packages.
Security
- Server Transport: Configurable via
--client-transport(stdioorstreamableHttp).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

