Unreal MCP icon

Unreal MCP

AI-AssistedFOSS · MIT

Open-source MCP bridge for Unreal Engine 5 actors & Python

Free (MIT) · chongdashu & Contributors · Check whether final shipped assets contain ML-generated output under Valve's Pre-Generated guidelines.

AI
AI-Assisted
IP
Commercial-Safe IP
Engines
Unreal
Platforms
Windows · macOS · Linux · CLI
Version
0.4
Technical Summary

Unreal MCP is a free, MIT-licensed open-source Model Context Protocol C++ and Python bridge for Unreal Engine 5 maintained by chongdashu and contributors. Running locally across Windows, macOS, Linux, and CLI, it connects Claude Code and Cursor to UE5 for Actor placement, Blueprint inspection, Python automation, and Output Log debugging.

Technical Overview

Architecture and Production Workflow

Unreal Engine 5's binary .uasset and .umap architecture makes external AI file editing impossible without engine cooperation: coding agents cannot directly read or write binary Blueprint graphs, DataTables, or level sublevels on disk. Unreal MCP (chongdashu/unreal-mcp) solves this through an Editor-only UE5 C++ plugin listening on a local TCP JSON socket paired with a Python MCP server (uv / fastmcp).

Once enabled inside your UE5 project's Plugins/ directory, Claude Code, Cursor, and Windsurf can orchestrate both C++ and Editor workflows simultaneously:

  • Live Level Greyboxing & Actor Manipulation: Agents query the active UWorld outliner and spawn, transform, group, or delete StaticMeshActor, PointLight, DirectionalLight, camera, and trigger-volume actors using exact centimeter coordinates to block out playable arenas.
  • Blueprint & Component Introspection: Creates Blueprint subclasses, attaches scene/actor components (CharacterMovement, BoxCollision, SpringArm), configures default property values, and inspects node connections alongside live Output Log diagnostics.
  • Unreal Editor Python Scripting: Executes arbitrary import unreal Editor Utility Python scripts to batch-generate Material Instances, configure Nanite/LOD groups, populate UDataTable rows from JSON, or trigger Live Coding C++ compiles.

Pricing, Licensing, and Commercial Rights

Unreal MCP is 100% free and open source under the MIT License. All TCP socket traffic stays strictly local (127.0.0.1) between your MCP client and the running Unreal Editor process. Configured inside its .uplugin descriptor as an Editor module ("Type": "Editor"), UnrealBuildTool automatically excludes the plugin when cooking and packaging Shipping Win64, Linux, macOS, PlayStation 5, or Xbox Series X|S builds, ensuring zero runtime overhead and clean commercial shipping.

Strengths and Tradeoffs in Studio Pipelines

Pipeline DimensionEngineering StrengthLimitations & Best Practices
Binary .uasset ReachEnables programmatic inspection and batch setup of binary Blueprints and DataTablesEarly v0.4 open-source maturity; commit .umap and .uasset files in Git/Perforce before big runs
Rapid GreyboxingBuilds symmetric blockout rooms, obstacle courses, and lighting rigs from specs in secondsIntricate AnimGraph state machines and Niagara VFX emitters still require hands-on UE5 GUI work
Editor Python PowerCombines C++ socket tools with UE5's official unreal Python automation APIRequires Unreal Engine 5.3+ with the built-in Python Editor Script Plugin enabled

AI Transparency & Steam Disclosure

AI-Assisted Workflow

Authoring tool featuring optional ML-powered helpers (physics auto-posing, denoising, upscaling, or code autocomplete).

Steamworks guidance: Check whether final shipped assets contain ML-generated output under Valve's Pre-Generated guidelines.

Technical FAQ about Unreal MCP

Does Unreal MCP get cooked into packaged UE5 Shipping builds?
No. Unreal MCP is declared as an Editor-only plugin module inside its `.uplugin` manifest. When UnrealBuildTool cooks and packages your Shipping client or dedicated server build, all MCP socket and Python bridge code is stripped automatically.
Can Unreal MCP edit binary UE5 Blueprints when Claude Code cannot read `.uasset` files?
Yes. Because Unreal MCP executes inside the running Unreal Editor memory space via C++ reflection and Editor Scripting utilities, it can create Blueprint classes, add components, inspect variables, and wire supported Blueprint graph nodes cleanly.
What prerequisites do I need to run Unreal MCP on Windows, macOS, or Linux?
You need Unreal Engine 5 (5.3, 5.4, or 5.5 recommended) with Epic's official Python Editor Script Plugin enabled, a C++ project (or prebuilt plugin binaries) to compile the `UnrealMCP` plugin, and Python 3.10+ with `uv` for the local MCP server.

More tools like Unreal MCP