PTS security notes / MCP servers / MCP for Unity

Is MCP for Unity safe to install?

By PTS · Based on public source as of December 5, 2026

Short answer

It lets an agent change your Unity project: scripts, scenes, assets, packages and builds, and it has an execute_code tool and a menu item runner. The Python server runs over HTTP on localhost:8080 by default. GitHub lists no advisories. Use a copy of the project in version control and a localhost-only bind.

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.

Editor code execution can reach your whole machine, because it runs inside the Unity Editor process.

ToolWhat it can doNotes
execute_codeRuns codeRuns code in the Unity Editor.
execute_menu_itemRuns codeRuns an Editor menu item.
manage_scriptWritesCreates and edits C# scripts.
script_apply_editsWrites
manage_assetWrites, DeletesCreates, moves and deletes assets.
manage_packagesWrites
manage_buildRuns code
manage_sceneWrites
manage_gameobjectWrites, Deletes
run_testsRuns code
read_consoleReads
generate_imageNetwork
generate_modelNetwork

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

Safe-install checklist

Install command from the project's docs: uvx --from mcpforunityserver mcp-for-unity --transport http --http-url http://localhost:8080.

  1. 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.
  2. Keep secrets out. Start it with a clean environment, so it does not inherit your shell's keys.
  3. Work on a copy under version control and keep the HTTP server bound to localhost.
  4. Use tool groups to leave out execute_code, execute_menu_item and build tools unless you need them.
  5. Deny the tools you do not need. In Claude Code, deny rules in .claude/settings.json use the form mcp__<server name>__<tool>, where the server name is whatever you called it in your config. Example, if you named it unity-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"
        ]
      }
    }
  6. Snapshot the tool list. Save the tools/list output 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.
  7. 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.

Get the free checklist

A 9-page worksheet plus starter files for Claude Code and Codex. It maps what your agent can reach and shrinks it. Download it on Gumroad. This site does not collect email.

Get the free checklist

Before you install anything, try the MCP tool diff checker. See all 54 servers.

More server pages