XRXRVP · Tools
Unreal Engine Plugin1052 MCP ToolsUE 5.2 – 5.8

BAIB v2 MCPBlueprint AI Bridge + MCP

Turn any AI into an Unreal Engine developer. 1052 MCP tools + a token-optimized Blueprint format let Claude, Codex, Gemini, or any LLM build Blueprints, materials, VFX, UI, and whole levels — straight from your CLI.

BAIB v2 connects AI agents directly to the Unreal Editor. It ships a full MCP (Model Context Protocol) server inside the editor exposing 1052 automation tools across 22 domains, plus a token-optimized Blueprint text format (AIBP-RT2) that makes AI-driven Unreal development fast, cheap, and reliable. Whether you use Claude Code, OpenAI Codex, Gemini CLI, or your own agent framework — BAIB turns “describe what you want” into compiled, validated Unreal content.

At a Glance
  • 1052 automation tools across 22 domains
  • Token-optimized AIBP-RT2 Blueprint format
  • CLI-first: Claude Code, Codex, Gemini, or any MCP client
  • Autonomous edit-compile-verify loop, no human in the middle
BAIB v2 Blueprint AI Bridge interface overview
Token-Optimized by Design

LLM tokens are money. BAIB is built around spending as few of them as possible.

  • AIBP-RT2 compression — Unreal's native Blueprint clipboard text is enormously verbose. RT2 distills a graph down to just the nodes, pins, wires, and defaults an AI actually needs, cutting a graph's token footprint to a small fraction of the raw export — so bigger graphs fit in context and every round-trip costs less.
  • One call instead of ten — Consolidated inspection tools (get_blueprint_summary, inspect_material, get_widget_hierarchy) return everything about an asset in a single compact JSON response instead of forcing agents to burn calls exploring.
  • Batch and spec tools — batch_call, apply_widget_spec, apply_material_spec, apply_niagara_spec, and wire_logic_pattern stamp entire structures in one request.
  • Snippet library — 25 parameterized, pre-verified Blueprint subgraphs (damage handling, cooldowns, traces, pickups, timers, UI fades…) that agents apply by name instead of regenerating logic token-by-token.
  • Compact, actionable errors — Every tool returns structured JSON errors with recovery hints, so agents self-correct in one step instead of flailing.
  • Compact MCP facade — The stdio bridge exposes a curated core tool set plus three meta-tools (search_tools, get_tool_schema, call_tool) by default, so 1052 tool schemas never blow up your client's context window. Set BAIB_MCP_FULL_TOOLS=1 to expose everything.
Control Unreal from Your CLI

BAIB is built for the CLI-agent era.

  • Launch CLI from the editor — The BAIB panel auto-detects installed AI CLIs (Claude Code, Codex, Gemini) and opens one pointed at your project with a single click.
  • In-editor MCP server (localhost) — Any MCP-compatible client connects instantly at 127.0.0.1:3777; token-authenticated, local only.
  • Standalone Python gateway — Sits in front at 127.0.0.1:3778, survives editor restarts, adds editor lifecycle control (ensure-running, clean restart with the crash-restore prompt suppressed) and an auto-launched crash watchdog for long unattended sessions.
  • MCP stdio bridge — Drop-in config for Claude Code / Claude Desktop and other MCP clients.
  • Clipboard workflow too — No agent needed: select nodes, Ctrl+Shift+C to copy as RT2 + system prompt, paste into any chat AI, Ctrl+Shift+V to apply its answer back into your Blueprint.
  • Autonomous edit-compile-verify loop — Agents can trigger Live Coding hot-reload, take viewport/editor/PIE screenshots to see their work, drive PIE with injected input, and read compile results — a full loop with no human in the middle.
  • Off-screen perception — capture_viewport_offscreen and verify_visual render through a transient SceneCapture2D, so agents can see their work even while the editor is minimized or backgrounded — verify_visual even reports per-actor visibility and screen-space bounds for programmatic checks.
Tool surface

1052 Tools Across 22 Domains

Tools come in three tiers: surgical (one precise edit), batch/spec (whole structures in one call), and intent (describe the goal, get the assembly).

Blueprints

Create assets, place nodes, smart-connect with automatic type-conversion, variables, functions, macros, dispatchers, timelines, interfaces, RT2 apply, compile + validation.

Widgets / UMG

Full designer-tree authoring, slots, styling, themes, focus/navigation, list views, live PIE widget inspection.

Materials

Expression graphs with stable IDs, instances, functions, layers, parameter collections, Substrate, one-call recipes (decal, post-process, translucent, landscape).

Niagara VFX

Systems, emitters, module stacks, renderers, simulation stages, intent-style presets (fire, smoke, sparks, explosion…), profiling and cost estimation.

Levels & Actors

Spawn/transform/properties (including component properties), lights, volumes, sky rigs, World Partition and Data Layers, streaming.

Sequencer & Animation

Level sequences, tracks, bindings, CineCamera, AnimBP, montages, blend spaces, notifies, Control Rig tracks.

Gameplay Systems

Enhanced Input, AI Blackboards/Behavior Trees, GAS scaffolding, gameplay tags, save games, data tables, vehicles.

Physics, Audio, Landscape, Foliage, PCG

Physics assets and constraints, sound cues and MetaSounds, landscape sculpt/paint/splines, foliage types, PCG graphs.

Rendering

Lumen, Nanite, VSM, upscalers, post-process presets, scalability, GPU diagnostics.

Production Pipeline

Config files, plugin management, asset validation, logs, DDC/shader stats, Horde/Zen probes.

C++ Codegen

Reflection-driven header/scaffold generators for classes, components, subsystems, modules, tests.

Assets & Content

Import/export, data tables, collections, reference graphs, bulk rename, naming audits.

Built for Safe Automation
  • Localhost-only server with per-session token authentication; browser-origin requests rejected by default
  • Destructive operations require explicit confirm:true
  • Python execution disabled by default behind an environment flag
  • Multi-step changes run inside begin/commit transactions, so an entire operation can be undone in one go
  • Mutation FIFO queue serializes every write — multiple agents can work in parallel without corrupting editor state
  • Modifying tools auto-compile and auto-validate, and report results honestly
  • Creation-only RT2 guard prevents accidental graph overwrites
  • Oversize responses (>5 MB) are parked to disk instead of wedging the calling client
Technical details

What's in the box

Engine versionsUE 5.2 – 5.8
PlatformWindows editor only (development-time tool; adds nothing to shipped builds)
RequirementsPython 3.x only for the optional standalone gateway; PythonScriptPlugin only for the optional run_python tools — the in-editor MCP server has no external dependencies
IncludesFull C++ source, user documentation, agent instruction guide, Python gateway + crash watchdog, MCP bridge configs, smoke-test suite

BAIB does not include or require any AI subscription — bring your own agent. Works with any MCP-compatible client or any chat AI via the clipboard workflow.

Documentation

Open the guide, wire the plugin, start building

The full setup and workflow guide is available as a PDF.