Ue5 Automation
AI-driven UE5 blueprint automation: C++ bridge, MCP, prebuilt DLLs (5.1 & 5.8) | AI 驱动的 UE5 蓝图自动化工具链:C++ 桥 · MCP · 双版本预编译免编译

Установка Ue5 Automation
У сервера нет опубликованного npm/PyPI-пакета — склонируй репозиторий и собери по его README, затем добавь получившуюся команду в свой клиент.
Открыть репозиторийОписание
AI-driven UE5 blueprint automation: C++ bridge, MCP, prebuilt DLLs (5.1 & 5.8) | AI 驱动的 UE5 蓝图自动化工具链:C++ 桥 · MCP · 双版本预编译免编译
README
English | 简体中文
Let AI agents actually operate the Unreal Editor — node-level blueprint authoring, materials, UMG, and PIE runtime verification, with every write read back and verified.
Works on UE 5.1 – 5.8. Epic's built-in MCP server ships with 5.8+ only — if your project (or your team's mobile line) is on 5.1–5.7, this is the toolkit that covers it. No compilation for 5.1 & 5.8 (prebuilt bridge DLLs included).
GitHub release Tests License SkillHub miracle1814/ue5-automation MCP server
Download v6.5.5: portable package · release notes · SkillHub listing
The SkillHub skill package is at 6.5.12 (runtime 6.5.5): doc consistency, single-source tool counts, one calling path, material/UMG/DataTable examples.
Read → write → compile → verify → save/undo. verified=true is the gate.
⭐ If this saves you time, star the repo — it helps other Unreal developers find it.
🎬 Demo GIF — coming soon: a 60–120s capture of "one sentence → agent builds a blueprint → PIE runtime verification" will be embedded here.
Why this exists
Most "AI controls Unreal" attempts die at the same wall: Python cannot reach UEdGraph.
You can demo asset creation in a day, but node-level graph authoring, reliable connections,
and "the operation actually did what it claimed" are where projects stall.
This toolkit solves that with:
- A C++ bridge plugin (editor-level UFUNCTIONs): node creation, pin/connection editing with GUID-based targeting, widget-tree authoring, material expression enumeration — the things Python physically cannot do in-engine.
- A verification discipline: every write operation is read back and compared (fail-loud, never fake success), connections are verified against live topology, compile results are read back with a log-pattern scan.
- Runtime behavior checks: start PIE, read live actor state, teleport with read-back —
prove the logic runs, not just that it compiles.
verify_scenariopackages wait/assert/log/screenshot steps into a JUnit-producing acceptance run. - Multi-agent safety (v6.5): idempotency keys (retries never double-write), advisory session locks plus task locks, and write receipts with before/after fingerprints.
- A security model you can defend to a studio: localhost-only, token auth, a 101-command whitelist (no arbitrary code execution), transaction logs, rollback.
Feature overview
| Domain | What it does |
|---|---|
| 🔍 Blueprint analysis | classes / variables / CDO / node graph / connections → Markdown + Mermaid reports |
| 🏗️ Blueprint creation | asset + variables + components + interfaces + events + function nodes + wiring + compile (atomic, rolls back on failure) |
| ✏️ Incremental editing | pin default values, connect/disconnect (topology-verified), delete with reference checks, transaction rollback |
| 🎨 Materials | create → expressions (params, math, samplers) → connect to properties → compile → instances |
| 🧩 UMG widget blueprints | create → widget tree (panels/text/buttons…) → set properties → graph logic reuses blueprint commands |
| ▶️ PIE runtime verification | start/state/live actors/read properties/teleport with read-back/stop |
| 🖥️ Actors & levels | query / spawn / transform / read properties |
| 🩺 Log diagnostics | parse engine logs + 19-rule error pattern library + incremental log reader |
| 📐 Project audit | whole-project scan: counts, complexity, coupling, circular deps, hot spots |
| ⚡ Batch execution | multi-step operations in a single request |
Security model: localhost bind, token auth, command whitelist, read-back verification on writes, transaction logs, scoped saves only (never saves the whole project).
Relation to Epic's official Unreal MCP (5.8+)
| Official MCP (5.8+) | ue5-automation | |
|---|---|---|
| Engine versions | 5.8+ only | 5.1 – 5.8 |
| Blueprint graph authoring | object-level tools | node-level (create/wire/verify, GUID-targeted) |
| Write verification | returns success | read-back & compare, fail-loud |
| Transaction rollback | ✗ | ✓ atomic build, rollback on failure |
| Auth | none (loopback only) | token auth + 101-command whitelist + audit log |
| Works offline of editor | ✗ | partial (analyzer/log tools) |
| On 5.8 | — | integrates with it (ue58-extras adds 8 node-level tools on top) |
On 5.8 the two compose: keep Epic's toolset for scene/asset work, add this bridge for node-level graph authoring and verified writes. On 5.1–5.7, this is the only option.
Requirements
| Engine | Read/audit/diagnose | Node-level blueprint writes | Materials/UMG | MCP access |
|---|---|---|---|---|
| 5.1.x | ✅ out of the box | ✅ prebuilt DLL included | ✅ | ✅ built-in /mcp |
| 5.2–5.5 | ✅ | ⚠️ compile the bridge once (bridge/Source/build_for_engine.bat) |
⚠️ same | ✅ |
| 5.6 / 5.7 | ✅ | ❔ unverified (structurally compatible) | ❔ | ✅ |
| 5.8 | ✅ | ✅ prebuilt DLL included (bridge/prebuilt-5.8/) |
✅ | ✅ official MCP + bridge/ue58-extras/ plugin |
Also needs: Python 3.10+ on the host, the Python Editor Script Plugin enabled in the editor, and Remote Execution turned on.
Install (3 steps)
:: 1) dependencies + attempt automatic bridge deployment
install_dependencies.bat
:: 2) manual fallback (project-level, no admin needed):
cd bridge\BlueprintPythonBridge
python deploy.py --target "C:\path\to\YourProject"
:: 3) in the editor: enable "Python Editor Script Plugin",
:: enable Remote Execution (Project Settings → Plugins → Python), restart.
:: Verify:
cd ..\..\skill\ue5-automation\scripts
python ue5_runner.py health
Then one command registers the MCP proxy into your AI clients (auto-detects Claude Desktop / Cursor / Claude Code / VS Code / Windsurf / Codex; every config is backed up before writing):
python skill\ue5-automation\scripts\install_mcp.py
Full guide: README.zh-CN.md (中文) · skill/ue5-automation/DEPLOY.md.
Use it with AI (MCP)
The toolkit is an MCP server. Point any MCP client at it:
UE 5.1–5.5:
http://127.0.0.1:8889/mcp(this repo ships the endpoint; the bridge auto-starts on first write, or seeskill/ue5-automation/docs/MCP-ACCESS.md)UE 5.8: the engine's official MCP server at
http://127.0.0.1:8000/mcp— enable it in project settings (bAutoStartServer=True) and installbridge/ue58-extras/(8 tools; with the prebuilt bridge, node-level graph tools work too)stdio clients (Claude Desktop & co.): launch the bundled stdio proxy — it serves the full tool catalog locally and relays tool calls to the in-editor bridge (token read automatically), so clients that can't set HTTP headers work out of the box:
{ "mcpServers": { "ue5-automation": { "command": "python", "args": ["C:/path/to/ue5-automation/skill/ue5-automation/scripts/ue5_mcp_stdio.py"] } } }
Then just talk to your agent:
"Create a pickup item blueprint with a collision sphere, then verify the pickup logic in PIE."
See MCP-ACCESS.md for client configuration (ZCode / Claude Desktop / Cursor / raw JSON) and the full tool catalog.
Observability: admin dashboard (read-only)
While the agent works, open http://127.0.0.1:8889/ui?token=<contents of the %APPDATA%\ue5_bridge\token file> in a browser to watch what it does — read-only:
a task stream (every tool call with latency and status), a blueprint graph view
(nodes/edges, breathing highlight on recent writes, compile errors pinned to nodes),
a verification wall (verified/warnings cards per write + compile-round counter),
and one-click audit export (zip). Everything is GET-only and can never block the
agent's main path; events are also appended to %APPDATA%\ue5_bridge\sessions\
(JSONL) for after-the-fact audits.
Use it from the command line
cd skill\ue5-automation\scripts
python ue5_runner.py health
python ue5_runner.py read /Game/BP_Test --level L2
python ue5_runner.py build spec.json
python blueprint_editor.py update /Game/BP_Test PrintString InString "Hello"
python blueprint_editor.py connect /Game/BP_Test BeginPlay then PrintString execute
python log_parser.py --log "%PROJECT%\Saved\Logs\YourProject.log" --output diag.json
python analyzer.py --input reader_out.json --summary
The execution chain (what the agent actually does)
requirements
→ preflight (engine/version/bridge checks)
→ read state (nodes, GUIDs, variables)
→ apply changes (build / edit / wire — every step read-back verified)
→ verify behavior (PIE start → live actor state → teleport w/ read-back → stop)
→ deliver (Markdown + Mermaid reports, transaction logs)
→ clean up (scoped saves only — never saves the whole project)
Every write is read back and compared; mismatches raise loud errors. We consider "returns true but did nothing" the cardinal sin of editor automation.
Documentation
| Doc | Content |
|---|---|
| START-HERE (中文快速开始) | 部署 / 接入 / SOP / 能力 / 排障 |
| README.zh-CN.md | 中文说明与部署指南 |
| skill/ue5-automation/SKILL.md | full manual (v0.20) |
| MCP-ACCESS.md | connecting MCP clients to UE 5.1–5.5 |
| skill/ue5-automation/docs/pitfalls.md | 19 known pitfalls (and fixes) |
| bridge/BlueprintPythonBridge/Source/BUILD.md | compiling the bridge for 5.2–5.8 |
Repository layout
├── bridge/ engine-side "hands"
│ ├── BlueprintPythonBridge/ C++ bridge plugin (editor UFUNCTIONs)
│ │ ├── Binaries/Win64/ prebuilt 5.1 DLL
│ │ └── Source/ full source + build_for_engine.bat (5.2–5.8)
│ ├── prebuilt-5.8/ prebuilt 5.8 DLL (+ UnrealEditor.modules)
│ └── ue58-extras/ official-MCP toolset plugin for 5.8 (8 tools)
├── skill/ue5-automation/ host-side brain: bridge client, MCP endpoint,
│ runner, blueprint editor/reader/builder, analyzer,
│ log parser, preflight, docs, report templates
└── CHANGELOG.md per-release summaries
Quick success path
- Download the portable package from Releases, unzip, run
install.bat, and drag in your.uproject. - Restart the editor and confirm
healthreturnsbridge_loaded: true. - Build a smoke Blueprint, write
BeginPlay → PrintStringwithapply_graph, compile it withcompile_and_diagnose, and read the pin back withget_pin_default_value. - Save the asset and confirm the result. That is the whole loop: write → compile → read back → save.
Full command contract: SKILL.md; SkillHub package: packaging/skillhub/ue5-automation; troubleshooting: TROUBLESHOOTING.md; pitfalls: PITFALLS.md; examples: EXAMPLES.md.
Commercial / Enterprise
The core is Apache-2.0. Paid work is available for enterprise integration, UE 5.2–5.7 bridge adaptation, CI/asset-governance pipelines, training, and custom tooling. Open a GitHub issue titled [Commercial] or contact @miracle1814.
Status & tested-against
- Actively maintained — monthly releases, per-release changelog, CI on every push
- Offline regression: 852 passed / 0 failed (95 skipped = online-only tests that need a live editor)
- Live end-to-end verified on UE 5.1.1 and UE 5.8.2 (editor → official MCP → toolset → C++ bridge → live PIE state)
- See CHANGELOG.md for per-release summaries
License
Apache-2.0 — see LICENSE and THIRD_PARTY_NOTICES.md.
Unreal® Engine is a trademark of Epic Games, Inc. This project is an independent developer tool and is not affiliated with or endorsed by Epic Games. Engine headers and binaries remain subject to Epic's EULA; the Apache-2.0 license covers original source code only.
Acknowledgements
Built on top of the UE editor's Python & remote-execution surfaces, and integrating with the official ModelContextProtocol plugin (5.8+).
FAQ
Ue5 Automation MCP бесплатный?
Да, Ue5 Automation MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Ue5 Automation?
Нет, Ue5 Automation работает без API-ключей и переменных окружения.
Ue5 Automation — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Ue5 Automation в Claude Desktop, Claude Code или Cursor?
Открой Ue5 Automation на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
GitHub Actions97OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
Roblox Studio
paralovEnables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
Antigravity Drawio
S-SUJAN-SMCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
Fetch
Web content fetching and conversion for efficient LLM usage.
Mcp
mcpflow.ioModelContextProtocol server for enhancing JSON Resumes
Vault
agbergsmannBitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
AWS KB Retrieval
modelcontextprotocolRetrieval from AWS Knowledge Base using Bedrock Agent Runtime.
Spring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
xuzexin-hzA very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
MCP-Agent
lastmile-aiA simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
Сравнить Ue5 Automation с
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
