A Model Context Protocol (MCP) server for AI-assisted Unreal Engine 5.7+ Blueprint manipulation with persistent TCP connections and auto-save.
- 60+ MCP Commands for Blueprints, Materials, Widgets, Enhanced Input, and Editor control
- Persistent TCP Connection - Socket stays open between commands (port 55558)
- Auto-Save - Dirty packages saved automatically after every successful operation
- Crash Protection - All operations flow through a validation/execution pipeline
- String-Based Resolution - Accept Blueprint names, asset paths, or engine class names
| Category | Commands |
|---|---|
| Blueprints | Create, compile, add components, set properties |
| Graph Nodes | Events, functions, variables, branches, casts, spawns |
| Event Dispatchers | Create, bind, and call multicast delegates |
| Enhanced Input | Create Input Actions, Mapping Contexts, key bindings |
| Materials | Create materials, add expressions, connect nodes, post-process |
| UMG Widgets | Create widgets, add text/buttons, bind events |
| Editor | Spawn actors, viewport control, save operations |
Copy or symlink UnrealPlugin/UEBlueprintMCP/ to your project's Plugins/ folder, then rebuild.
cd Python
python -m venv venv
venv\Scripts\activate # Windows
pip install -r requirements.txtAdd to your project's .mcp.json:
{
"mcpServers": {
"unreal-mcp": {
"command": "path/to/UEBlueprintMCP/Python/venv/Scripts/python.exe",
"args": ["-m", "ue_blueprint_mcp.server"]
}
}
}- Open your Unreal project (plugin starts TCP server on port 55558)
- Connect your MCP client (e.g., Claude Code with
/mcp)
MCP Client (Claude Code, etc.)
|
v MCP Protocol
Python Server (ue_blueprint_mcp)
|
v TCP/JSON (port 55558, persistent)
C++ Plugin (MCPBridge)
|
v Action dispatch
FEditorAction subclasses
|
v Validate -> Execute -> Auto-Save
Unreal Editor
All editor operations flow through FEditorAction subclasses that provide:
- Pre-execution validation
- Graceful error handling with descriptive messages
- Automatic dirty package tracking and save
- CLAUDE.md - Architecture details and contribution guidelines
- docs/SKILL.md - Full command reference for Claude Code
- Unreal Engine 5.7+
- Python 3.10+
- Visual Studio 2022 (for plugin builds)
MIT