MCP Hub
Back to servers

UnrealEngine Bridge

A comprehensive bridge connecting AI agents to Unreal Engine 5.7 through 39 MCP tools for scene manipulation, asset management, and blueprint control. It enables real-time perception and editor automation using the Remote Control API and file-based protocols.

Updated
Feb 21, 2026

UnrealEngine Bridge

An agentic AI bridge connecting Claude Code to Unreal Engine 5.7. Claude can perceive, reason about, and manipulate UE5 scenes through MCP tools, a file-based bridge protocol, and the Remote Control API.

Forked from TranslatorsGame/ue-bridge. This version focuses on expanding agentic capabilities.

What's Included

ComponentDescription
UEBridge pluginDrop-in UE5 plugin with Runtime + Editor modules
ViewportPerception pluginViewport capture with metadata for AI perception
MCP server11 tool modules (39 tools) for Claude Code integration
Bridge orchestratorPython game flow with USD-native file I/O
Behavioral trackingResponse time, hesitation, burnout detection

Quick Start

1. UE5 Setup

  1. Open UnrealEngine_Bridge.uproject in UE 5.7
  2. Go to Edit > Plugins, search "UE Bridge", enable it
  3. Restart the editor
  4. Verify Remote Control is active on localhost:30010

2. Python Setup

pip install -e ".[dev]"
python bridge_orchestrator.py

3. MCP Integration

Add to your Claude Code MCP config:

{
  "mcpServers": {
    "ue-bridge": {
      "command": "python",
      "args": ["-m", "ue_mcp.mcp_server"],
      "cwd": "C:/Users/User/UnrealEngine_Bridge"
    }
  }
}

MCP Tools (39)

Actors (6)

ToolPurpose
ue_spawn_actorCreate actors in the level
ue_delete_actorRemove actors
ue_list_actorsQuery all actors
ue_set_transformPosition/rotate/scale actors
ue_duplicate_actorDuplicate an actor with offset
ue_get_actor_boundsGet axis-aligned bounding box

Scene Understanding (4)

ToolPurpose
ue_get_actor_detailsFull actor info: class, transform, components, tags, parent
ue_query_sceneFiltered queries with class, tag, name, and spatial search
ue_get_component_detailsDeep component inspection (mesh, materials, lights)
ue_get_actor_hierarchyParent-child attachment tree (max depth 10)

Materials (4)

ToolPurpose
ue_create_material_instanceCreate MaterialInstanceConstant from parent
ue_set_material_parameterSet scalar/vector/texture parameters
ue_get_material_parametersList all exposed parameters with values
ue_assign_materialApply material to actor mesh component

Editor Utilities (5)

ToolPurpose
ue_console_commandExecute console commands (with safety blocklist)
ue_undo / ue_redoUndo/redo editor actions
ue_focus_actorFocus viewport on actor
ue_select_actorsSet editor selection by label

Properties (2)

ToolPurpose
ue_get_propertyRead UObject properties
ue_set_propertyWrite UObject properties

Assets (3)

ToolPurpose
ue_find_assetsSearch Content Browser
ue_create_materialCreate material with wired BaseColor/Roughness/Metallic nodes
ue_delete_assetDelete asset from Content Browser

Level (4)

ToolPurpose
ue_save_levelSave current level
ue_get_level_infoLevel name and actor count
ue_load_levelLoad a level by content path
ue_get_world_infoStreaming levels, world settings, game mode

Blueprints (7)

ToolPurpose
ue_create_blueprintCreate Blueprint asset
ue_add_componentAdd component to live actor
ue_set_component_propertySet property on actor component
ue_set_blueprint_defaultsSet CDO default values
ue_compile_blueprintCompile and save Blueprint
ue_get_actor_componentsList components on actor
ue_spawn_blueprintSpawn Blueprint instance

Motion Graphics (3)

ToolPurpose
ue_create_clonerClonerEffector instancing
ue_create_niagara_systemNiagara particle system
ue_create_pcg_graphPCG procedural volume

Perception (1+)

ToolPurpose
ue_viewport_perceptViewport screenshot + metadata

Architecture

Claude Code (MCP client)
    |
    v
MCP Server (stdio) -- ue_mcp/mcp_server.py
    |
    v
HTTP (localhost:30010)
    |
    v
UE5 Remote Control API
    |
    v
UE5 Editor

File-Based Bridge

For game flow (questions/answers), a file-based protocol uses ~/.translators/:

  • bridge_state.usda -- USD VariantSets as state machine
  • state.json / answer.json -- JSON fallback
  • cognitive_profile.usda -- Generated profile
  • heartbeat.json -- Liveness (5s interval)

The UUEBridgeSubsystem polls at 10Hz with adaptive backoff.

Project Structure

Plugins/
├── UEBridge/
│   └── Source/
│       ├── UEBridgeRuntime/           # Subsystem, types, UI widgets, style
│       └── UEBridgeEditor/            # File watching, process management
└── ViewportPerception/                # AI perception layer

Source/UnrealEngineBridge/             # Game module
├── BridgeComponent.*                  # Legacy BP relay
└── UI/                                # Slate widgets

ue_mcp/                                # MCP server
├── mcp_server.py                      # Entry point
├── remote_control_bridge.py           # UE5 HTTP wrapper
└── tools/                             # Tool modules (11, 39 tools)

bridge_orchestrator.py                 # Game flow orchestration
usd_bridge.py                          # USD I/O + profile generation
tests/                                 # pytest suite

License

Copyright 2026 Joseph Ibrahim. All rights reserved.

Reviews

No reviews yet

Sign in to write a review