High-risk tools in Unity MCP
4 of the 8 tools in Unity MCP are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
enter_playmodeExecuteEnter Unity Play Mode for testing gameplay. Can optionally pause on enter.
-
execute_csharpExecuteExecute arbitrary C# code in Unity Editor context with full access to UnityEngine and UnityEditor APIs. This is the most powerful tool - it enables you to perform ANY Unity o...
-
exit_playmodeExecuteExit Unity Play Mode and return to Edit Mode. Safe way to stop gameplay testing.
-
load_sceneExecuteLoad a scene by name or index. Useful for switching between scenes in your project.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.