All MCPsUnity MCP
3D Modeling

Unity MCP

This Unity MCP server drives the Unity Editor in natural language from any MCP client: creating scenes and GameObjects, editing C# scripts, managing assets, running tests, profiling, and building. It exposes 47 tools and covers Unity 2021.3 LTS through Unity 6.

When to use it

Useful for producing interactive virtual walkthroughs of an architectural project in Unity.

Third-party projects · manually verified · not maintained by Educasium

Unity MCP, published by CoplayDev, connects AI assistants to the Unity Editor through the Model Context Protocol. The CoplayDev/unity-mcp repository describes it as a bridge for managing assets, controlling scenes, editing scripts, running tests, and automating Unity workflows. During the GitHub check on August 26, 2026, the repository was MIT licensed, had 13,672 stars and 1,452 forks, and its default branch was beta.

For Educasium, this connector matters because it touches a full engine, not just a drawing tool or visual graph. Unity MCP can help create GameObjects, modify scenes, manage components, assets, prefabs, materials, scripts, tests, builds, VFX, animation, UI, and profiling. It still needs careful teaching: the verified manifest exposes execute_code for arbitrary C# execution inside the Unity Editor, and the security policy emphasizes network protections and file boundaries.

Contents

  1. What Unity MCP does
  2. Installation and architecture
  3. Tools and capability families
  4. Security and networking
  5. Tests, builds, and advanced uses
  6. Comparison with Unreal, Blender, and TouchDesigner
  7. Educasium position

What Unity MCP does

Key point: Unity MCP gives an MCP client tools to act inside the Unity Editor, from scenes to scripts, tests, and builds. Its scope is much broader than a 3D modeling connector.

A bridge into the Unity Editor

The README says MCP for Unity connects Claude, Codex, VS Code, local models, and other MCP clients with the Unity Editor. It highlights asset management, scene control, script editing, tests, profiling, and builds. The What it does section advertises 47 focused MCP entrypoints. The verified manifest, however, lists 43 named tools. That difference should be presented as a source-specific count, not silently flattened.

Both sources agree on the broad idea: the assistant can act on an open Unity project. For a virtual walkthrough, educational prototype, or interactive scene, it can help produce a first structure faster. But Unity remains a full engine with project state, packages, assets, compilation, play mode, and build platforms. A successful command does not replace Unity developer validation.

Open source, but not affiliated with Unity Technologies

The README says the project is free, open source, and MIT licensed, but states that it is not affiliated with Unity Technologies. That distinction matters. CoplayDev maintains the repository, and the README mentions Aura as sponsor and maintainer, but the tool is not an official Unity product.

For Educasium, the right positioning is: very popular open-source tool, useful to explore, but to audit before professional integration. Studios should verify Unity version, package policy, security, file access, networking, scripts, and pipeline compatibility.

Installation and architecture

Key point: Unity MCP combines a Unity package on the editor side and a Python server launched by uvx on the MCP client side. The README advertises Unity 2021.3 LTS through Unity 6.x and Python 3.10 or newer.

Unity installation

The quickstart says to install the package through Unity Package Manager with a Git URL pointing to MCPForUnity, pin release v10.0.0, or use OpenUPM with com.coplaydev.unity-mcp. The Unity package checked on the beta branch declares the name com.coplaydev.unity-mcp, version 10.1.3-beta.4, Unity 2021.3 as the minimum Unity version, and dependencies such as animation, physics, physics2d, uielements, screencapture, unitywebrequest, Newtonsoft JSON, and Unity Test Framework.

After installation, the README says to use Window, MCP for Unity, Configure All Detected Clients. That step indicates the package attempts to configure several MCP clients. The repository indeed contains configurators for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Cline, Gemini CLI, Codex, Rider, and other clients. That variety is useful for training because learners can work in the tool they already use.

MCP server

The verified MCP manifest declares Unity MCP at version 10.1.2, with a Python server and Server/src/main.py as the entry point. Its MCP configuration uses uvx with mcpforunityserver and mcp-for-unity. The README requires Python 3.10 or newer through uv.

The repository also contains a Server directory and mcp_source.py, confirming the split between MCP server and Unity package. A good installation diagnosis should therefore check two sides: the package inside Unity and the MCP server in the client. If the assistant cannot see Unity, the issue may be client configuration, Python server, Unity package, port, version, or editor state.

Tools and capability families

Key point: the manifest covers broad families: scripts, scenes, GameObjects, components, assets, prefabs, materials, UI, VFX, animation, physics, profiling, tests, and builds. That breadth is both the connector's strength and its risk.

Scenes, GameObjects, and assets

The manifest lists manage_scene for loading, saving, hierarchy queries, multi-scene editing, templates, validation, and scene management. It lists manage_gameobject for creating, modifying, transforming, and deleting GameObjects, manage_components for adding, removing, and configuring components, manage_prefabs for creating, instantiating, unpacking, and modifying prefabs, and manage_asset for creating, modifying, searching, and organizing assets.

For Educasium, these tools enable a virtual walkthrough demo: create a scene, place objects, add camera, lights, components, and materials, then inspect the result. That demo still needs control. Assets and prefabs can carry scripts, missing references, licenses, and package dependencies.

Scripts, C#, and validation

The script side is central. The manifest lists create_script, manage_script, apply_text_edits, script_apply_edits, find_in_file, validate_script, get_sha, manage_script_capabilities, and execute_code. The execute_code description says it runs arbitrary C# code inside the Unity Editor with access to all Unity APIs.

That capability can accelerate prototyping, but it needs framing. In training, it can be used on a sandbox project to create and validate a simple component. In a client project, code should be reviewed, tests run, console checked, project saved, and unclear instructions avoided.

Security and networking

Key point: Unity MCP's security policy describes safe defaults, but the tool can still modify a Unity project and execute code. The safeguards reduce risk; they do not remove it.

Network defaults

The security policy says MCP for Unity is intentionally fail-closed. HTTP Local binds to loopback by default, such as 127.0.0.1, localhost, or ::1. LAN binding to 0.0.0.0 or :: requires explicit opt-in through Advanced Settings. HTTP Remote requires https by default, and plaintext remote http also requires opt-in. Remote-hosted mode requires API key authentication.

Those choices matter for an engine like Unity. A connector exposed to the network without controls could become an attack surface. For Educasium, the message should be direct: keep workshops local, do not expose the editor on LAN without a reason, and treat any guard bypass as a security incident.

What the project treats as a vulnerability

SECURITY.md asks users not to report vulnerabilities publicly and to contact security@coplay.dev. It names security issues such as remote code execution through crafted MCP messages, auth bypass on the remote-hosted server, filesystem read or write outside the intended Unity project root, network requests escaping the allow-list, and credential or API key leakage in logs, telemetry, or error responses.

The same policy says older releases are not supported and should be upgraded. For a studio, this implies version discipline: document the Unity package version, Python server version, MCP client used, and network access level.

Tests, builds, and advanced uses

Key point: Unity MCP reaches into tests, builds, profiling, Unity documentation, and live C# reflection. That makes it a development tool, not just a creative tool.

Tests and builds

The manifest lists run_tests and get_test_job for running and tracking Unity Test Framework tests, manage_build for triggering builds, switching platforms, configuring settings, and batch builds, then read_console for reading editor logs, warnings, and errors. It also lists refresh_unity for refreshing the asset database.

That coverage matters because it avoids a bad pattern: generating a scene and never verifying the project. An Educasium module should include console reading, script validation, tests, and saving. The expected result is not only "a cube appears"; it is a project that compiles and can be resumed by a human.

Profiling, animation, UI, and VFX

The manifest lists manage_profiler for Unity Profiler session control, counter reads, memory snapshots, and Frame Debugger use. It lists manage_animation, manage_camera, manage_graphics, manage_physics, manage_shader, manage_texture, manage_ui, and manage_vfx. The README advanced links also point to multi-instance routing, tool groups, v10 migration, Roslyn validation, and remote server auth.

Those families make the connector powerful, but they call for structured training. A beginner session should not enable every tool family at once. A practical path starts with scene, GameObject, material, camera, console, and script validation, then opens advanced groups as needed.

Comparison with Unreal, Blender, and TouchDesigner

Key point: Unity MCP is the best fit when the goal is a real Unity interactive project, with scenes, scripts, tests, and builds. It is heavier than a modeling tool, but closer to an interactive deliverable.

OptionNatural useMain strengthLimit to watch
Unity MCPGames, virtual walkthroughs, interactive prototypes, Unity toolsScenes, scripts, assets, tests, builds, and profilingC# execution and project mutations need controls
Unreal MCPUnreal real-time renders, actors, BlueprintsExperimental Unreal engine integrationRepository itself advises production caution
Blender MCPAccessible 3D modeling and assetsFree, strong for scene initiationLess suited to application builds
TouchDesigner MCPReal-time visual installationsLive graphs, parameters, TOP imageLess natural for game logic and multiplatform builds

Choose by deliverable

If the deliverable is an image or 3D asset, Blender may be enough. If the deliverable is a real-time installation without full game logic, TouchDesigner may be more direct. If the deliverable is an interactive app, virtual walkthrough, or prototype with tests and builds, Unity MCP is more relevant.

The Unreal connector should be studied separately, especially because its repository declares experimental status in the existing short card. For Educasium, Unity and Unreal should not be presented as interchangeable: they map to different teams, pipelines, and risks.

Educasium position

Key point: Educasium can present Unity MCP as a powerful tool for teaching AI applied to an interactive engine, but only with a test and security protocol. The positioning stays pedagogical unless Educasium production use is verified.

Recommended training

A reasonable workshop starts with an empty or sandbox Unity project, installs the package, configures the MCP client, creates a cube, adds a Rigidbody, reads the console, saves the scene, and validates a simple script. It can then move to materials, camera, prefab, UI, or tests.

That progression avoids two traps. The first is asking for a full scene too early and losing verification. The second is letting execute_code produce C# without review. The teaching goal should be to learn a loop: ask, observe, compile, test, save, and take control back.

Logical next step

The logical next step is an Educasium grid for real-time engine MCPs: installation, versions, execution surface, file access, network safety, logs, tests, builds, profiling, asset pipeline, and rollback. Unity MCP is a strong candidate because its security documentation and manifest clearly expose the high-power and high-risk areas.

Frequently asked questions

Is Unity MCP compatible with Unity 2021?

The verified README says compatibility runs from Unity 2021.3 LTS through Unity 6.x. The inspected Unity package also declares Unity 2021.3 as the minimum. Before a workshop, still test the exact editor version, installed package, and MCP client configuration.

How many tools does Unity MCP expose?

The README advertises 47 focused MCP entrypoints. The manifest checked on August 26, 2026 lists 43 named tools. This page keeps both numbers with their source instead of pretending one count explains the whole project surface.

Can Unity MCP execute C#?

Yes. The manifest describes execute_code as arbitrary C# execution inside the Unity Editor with access to all Unity APIs. That is powerful for prototyping and scripting, but risky without review. Work in a sandbox or copy, read the console, and run tests.

Is Unity MCP official from Unity Technologies?

No. The README says the project is free, open source, MIT licensed, and not affiliated with Unity Technologies. It is published by CoplayDev. For professional use, treat it like any third-party package: verify security, maintenance, compatibility, and support policy.