What it is
MCP for Unity by Coplay connects an agent to the Unity Editor through a Unity package and a Python server (mcpforunityserver).
- Maintainer
- CommunityCoplayDev on GitHub (organisation account, community project)
- Source
- CoplayDev/unity-mcp16,468 GitHub stars · MIT licence
- Transport
- Streamable HTTP (localhost:8080 by default), stdio
- Packages
- mcpforunityserver pypi · latest 10.3.0 · 180,923 downloads last month
- Latest release
- v10.3.0 2026-10-04
- Public advisories
- 0GitHub and OSV, as of December 5, 2026
What it can do
Read from the public tool definitions in the source, not from a live run. A capability marked "yes" means at least one tool can do it.
- Reads: yes
- Writes: yes
- Deletes: yes
- Runs code: yes
- Network: yes
- Sends: no
Editor code execution can reach your whole machine, because it runs inside the Unity Editor process.
| Tool | What it can do | Notes |
|---|---|---|
execute_code | Runs code | Runs code in the Unity Editor. |
execute_menu_item | Runs code | Runs an Editor menu item. |
manage_script | Writes | Creates and edits C# scripts. |
script_apply_edits | Writes | |
manage_asset | Writes, Deletes | Creates, moves and deletes assets. |
manage_packages | Writes | |
manage_build | Runs code | |
manage_scene | Writes | |
manage_gameobject | Writes, Deletes | |
run_tests | Runs code | |
read_console | Reads | |
generate_image | Network | |
generate_model | Network |
Names from the Server tool files. The list here is a subset. Tool groups can switch sets on and off.
Credentials and least privilege
No credential for the core. The asset-generation tools use their own provider settings.
Public security advisories
No published security advisory was listed for this project on GitHub or OSV as of December 5, 2026. That only means none had been published. It does not mean the code has been audited.
What stands out
- Tool groups (vfx, animation, ui, testing and others) let you expose fewer tools, per the README.
- The default HTTP URL is localhost. The README's Docker examples bind 0.0.0.0, which exposes the server to your network.
- No GitHub or OSV advisory was listed as of December 5, 2026.
Safe-install checklist
Install command from the project's docs: uvx --from mcpforunityserver mcp-for-unity --transport http --http-url http://localhost:8080.
- Pin the version. Use an exact version, not
latest:uvx --from mcpforunityserver==10.3.0 mcp-for-unity --transport http --http-url http://localhost:8080. Pin the Unity package with #v<version> in the git URL. - Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
- Work on a copy under version control and keep the HTTP server bound to localhost.
- Use tool groups to leave out
execute_code,execute_menu_itemand build tools unless you need them. - Deny the tools you do not need. In Claude Code, deny rules in
.claude/settings.jsonuse the formmcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named itunity-mcp:{ "permissions": { "deny": [ "mcp__unity-mcp__execute_code", "mcp__unity-mcp__execute_menu_item", "mcp__unity-mcp__manage_script", "mcp__unity-mcp__script_apply_edits", "mcp__unity-mcp__manage_asset", "mcp__unity-mcp__manage_packages", "mcp__unity-mcp__manage_build", "mcp__unity-mcp__manage_scene" ] } } - Snapshot the tool list. Save the
tools/listoutput right after you install, then compare it before every upgrade with the free PTS MCP tool diff checker. It runs in your browser and flags new tools and changed descriptions or schemas. - Watch for fixes. Watch the project's security advisories and upgrade on purpose, after the diff.
For the general version of this list, see the MCP server security checklist. Not sure about a server that is not listed here? Read Is an MCP server safe to install?
Quick follow-ups
What can MCP for Unity do on my machine or accounts?
Based on its public tool definitions, it can: reads local files or data; creates or changes files, records or settings; deletes or destroys data; runs commands, scripts or code; reaches the open web or a third-party service beyond the account you connect it to. Editor code execution can reach your whole machine, because it runs inside the Unity Editor process.
Does MCP for Unity need a token or API key?
No credential for the core. The asset-generation tools use their own provider settings.
Has MCP for Unity had public security advisories?
No published advisory was listed for it on GitHub or OSV as of December 5, 2026. That is not proof it has no issues, only that none had been published.
How do I keep MCP for Unity from changing under me?
Pin the version, for example uvx --from mcpforunityserver==10.3.0 mcp-for-unity --transport http --http-url http://localhost:8080. Then save its tool list (name, description, input schema) with the free PTS MCP tool diff checker and compare it before each upgrade.
Sources
This page is a factual summary of public information about the software. It is not a verdict on the maintainers and not an audit. Check the project's own docs for your version before you rely on it. Educational, not legal or security advice.
