unreal-editor-mcp
Provides tools for triggering Live Coding builds, inspecting parse errors, searching editor logs, and retrieving crash context for Unreal Engine AI development.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@unreal-editor-mcp trigger a live coding build and show errors"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
unreal-editor-mcp
Build diagnostics and editor log tools for Unreal Engine AI development via Model Context Protocol.
Gives AI assistants the ability to trigger Live Coding builds, inspect parsed compile errors, search/filter editor logs, and get crash context — the "feedback loop" for C++ iteration without leaving the AI workflow.
Why?
When iterating on C++ in UE, the build-test cycle is invisible to AI assistants. They can write code but can't compile it, see if it worked, or read the editor's output. This server closes that loop.
Complements (does not replace):
unreal-source-mcp — Engine-level source intelligence (full UE C++ and HLSL)
unreal-project-mcp — Project-level source intelligence (your C++ code)
unreal-blueprint-mcp — Blueprint graph reading (nodes, pins, connections, execution flow)
unreal-blueprint-reader — C++ editor plugin that serializes Blueprint graphs to JSON for AI tooling
unreal-material-mcp — Material graph intelligence, editing, and procedural creation (46 tools: expressions, parameters, instances, graph building, templates, C++ plugin)
unreal-config-mcp — Config/INI intelligence (resolve inheritance chains, search settings, diff from defaults, explain CVars)
unreal-animation-mcp — Animation data inspector and editor (sequences, montages, blend spaces, ABPs, skeletons, 62 tools)
unreal-niagara-mcp — Niagara VFX intelligence and editing (emitters, modules, HLSL generation, procedural creation, 70 tools)
unreal-api-mcp by Nico Bailon — API surface lookup (signatures, #include paths, deprecation warnings)
Together these servers give AI agents full-stack UE understanding: engine internals, API surface, your project code, build/runtime feedback, Blueprint graph data, config/INI intelligence, material graph inspection + editing, animation data inspection + editing, and Niagara VFX inspection + creation.
Related MCP server: unreal-python-mcp
Prerequisites
Python Remote Execution must be enabled in the editor: Edit > Project Settings > search "remote" > under Python Remote Execution, check "Enable Remote Execution?". This allows the server to discover and communicate with the running editor. Without it, log tools still work but build triggering will fail.
Quick Start
Install from GitHub
uvx --from git+https://github.com/tumourlove/unreal-editor-mcp.git unreal-editor-mcpClaude Code Configuration
Add to your project's .mcp.json:
{
"mcpServers": {
"unreal-editor": {
"command": "uvx",
"args": ["--from", "git+https://github.com/tumourlove/unreal-editor-mcp.git", "unreal-editor-mcp"],
"env": {
"UE_PROJECT_PATH": "D:/Unreal Projects/MyProject"
}
}
}
}Or run from local source during development:
{
"mcpServers": {
"unreal-editor": {
"command": "uv",
"args": ["run", "--directory", "C:/Projects/unreal-editor-mcp", "python", "-m", "unreal_editor_mcp"],
"env": {
"UE_PROJECT_PATH": "D:/Unreal Projects/MyProject"
}
}
}
}Tools
Build Tools (5)
Tool | Description |
| Trigger a Live Coding compile via the editor's Python bridge. Returns a build ID for tracking. |
| Check build state: building, succeeded, or failed. Shows error/warning counts. |
| Get parsed build errors with file, line, error code, and message. Filter by module or severity. |
| Overview of the latest build: error count, warning count, duration. |
| Regex search across raw build output from the latest build. |
Log Tools (6)
Tool | Description |
| Last N log lines, filterable by category (e.g. |
| Regex search across the current session's log buffer. |
| List all active log categories with their message counts. |
| Last Fatal log entries + crash report directory info from |
| Recent log output (last N seconds). |
| Error/warning breakdown per category, most active categories. |
Environment Variables
Variable | Required | Description |
| Yes | Path to the UE project root (containing the .uproject file) |
| No | TCP port for command connection (default: |
| No | UDP multicast group for editor discovery (default: |
| No | UDP multicast port (default: |
| No | Multicast bind address (default: |
How It Works
Editor Bridge — Discovers the running UE editor via UDP multicast (the same protocol as UE's built-in remote_execution.py). Opens a TCP command channel to execute Python in the editor. Used to trigger Live Coding compiles via LiveCoding.Compile console command.
Log Tailer — A background thread polls the project's Saved/Logs/{ProjectName}.log every 500ms. On startup, reads the last 1000 lines to pre-populate. Maintains a rolling buffer of 10,000 parsed log entries in memory. All log tools query this buffer.
Build Manager — When a build is triggered, monitors LogLiveCoding log entries to detect completion ("Live coding succeeded" / "Live coding failed"). Parses MSVC error format (file(line): error C1234: message) from build output. Keeps a rolling history of the last 5 builds.
No database — all state lives in memory. The server is stateless across restarts.
Development
# Clone and install
git clone https://github.com/tumourlove/unreal-editor-mcp.git
cd unreal-editor-mcp
uv sync
# Run tests (57 tests)
uv run pytest -v
# Run locally
UE_PROJECT_PATH="/path/to/project" uv run python -m unreal_editor_mcpAdding to Your Project's CLAUDE.md
If your UE project has a CLAUDE.md (used by Claude Code for project context), add a note so the AI knows build and log tools are available:
## MCP Servers
- **unreal-editor-mcp** is configured. Use `trigger_build` to compile via Live Coding,
`get_build_errors` to inspect failures, and `get_recent_logs` / `search_logs` to
check editor output. Always check build results after modifying C++ code.Requirements
Python 3.11+
uv (recommended) or pip
Unreal Engine 5.x with Python plugin and Remote Execution enabled
License
MIT
Available Tools
11 toolsget_build_errorsA
Get parsed build errors from the latest build.
module: filter by source file path containing this string severity: 'error' or 'warning' limit: max errors to return (default 50)
Inputs: limit, module, severity. Returns: result
get_build_statusB
Get build status. Latest build if no ID given.
Returns: building, succeeded, or failed with error/warning counts.
Inputs: build_id. Returns: result
get_build_summaryA
Overview of the latest build: error count, warning count, duration.
Inputs: no named parameters. Returns: result
get_crash_contextA
Get crash context: last Fatal log entries and crash report directory info.
Inputs: no named parameters. Returns: result
get_log_categoriesA
List all active log categories with their message counts.
Inputs: no named parameters. Returns: result
get_log_statsC
Summary: errors/warnings per category, most active categories.
Inputs: no named parameters. Returns: result
get_recent_logsB
Get recent log lines, optionally filtered by category and/or severity.
category: e.g. 'LogTemp', 'LogNet', 'LogLiveCoding' severity: 'Fatal', 'Error', 'Warning', 'Display', 'Log', 'Verbose', 'VeryVerbose' count: max lines to return (default 50)
Inputs: count, category, severity. Returns: result
search_build_outputA
Regex search across raw build output from the latest build.
Inputs: pattern (required). Returns: result
search_logsA
Regex search across the current session log buffer.
pattern: regex pattern to search for in log messages category: optional category filter applied before search count: max results (default 50)
Inputs: pattern (required), count, category. Returns: result
tail_logB
Get log output from the last N seconds.
category: optional category filter severity: optional severity filter seconds: how many seconds back to look (default 30)
Inputs: seconds, category, severity. Returns: result
trigger_buildB
Start a build. Default: Live Coding (requires editor running).
build_type: 'live_coding' (default). Returns build ID for status tracking.
Inputs: build_type. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Build and log categories are distinct; within each, tools have clearly differentiated purposes: trigger_build initiates, get_build_status checks progress, search_build_output searches raw output, etc. Log tools likewise serve unique roles (recent lines, regex search, tail, stats, crash context). No ambiguity.
All tools follow a consistent verb_noun pattern with snake_case: trigger_build, get_build_status, get_recent_logs, search_logs, etc. No mixing of conventions or irregular verbs.
11 tools is well-scoped for the domain of build and log operations in Unreal Editor. Covers essential actions without being overwhelming.
Build operations cover trigger, status, errors, summary, and output search; logs cover recent lines, regex search, categories, stats, tail, and crash context. Minor gaps: no build cancel or multiple-build history, and no log streaming beyond tail.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Structured knowledge base for AI agent solutions. Search, explore, and retrieve build logs.
Investigate iOS and Android crashes and failed UI tests from your coding agent.
Related MCP Servers
- AlicenseAqualityFmaintenanceIndexes Unreal Engine project C++ source, config files, dependencies, gameplay tags, replication, asset references, and log categories into a SQLite database and exposes tools for AI assistants to query structural and config info.17MIT
- FlicenseAqualityDmaintenanceEnables AI coding assistants to browse Unreal Python API documentation, search classes and functions, and execute Python code in Unreal Editor.8-
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to read, review, and generate Unreal Engine 5.4+ blueprints, including dumping graph JSON, reviewing Wwise logic chains, and building blueprints from JSON specs.2MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI coding agents to inspect and work with Unreal Engine projects by parsing C++ symbols, Blueprints, and .uasset data over MCP, supporting tasks like symbol tracing, asset search, and code generation.-