UE Chat Bridge
Turns ChatGPT, Claude, Gemini and twelve other AI chats into an agent that can drive the Unreal Editor.
Fifteen chats.One editor.
$ start.bat
bridge 127.0.0.1:17654 ready
editor 127.0.0.1:8000/mcp ready
#!ue python → viewport captured
- Role
- Development, extension, documentation
- Year
- 2026
- Language
- Python
- Status
- v1.2 · Open source
Stack — Python · JavaScript · Unreal MCP · Chrome extension
- 15
- AI chats supported
- 0
- API keys required
- 41
- Headless tests
- 1.2
- Current release
Overview
UE Chat Bridge connects a normal browser AI chat to Unreal Engine 5.8's editor MCP server. A browser extension adds a session panel to the chat, a local Python bridge on port 17654 relays commands, and the editor executes them. No API key, no desktop AI client, no per-model integration.
The problem
Using an AI to build inside Unreal usually means an API key, a separate desktop app, or a custom integration for every model. The editor already ships a Model Context Protocol server. The missing piece was a bridge from the chat window people already use.
Process
- 01
Meet the model where it already is
The extension injects a panel into fifteen online chats. The model replies with ordinary #!ue command blocks, so it does not need a special SDK, tool schema or account.
- 02
Standard library only
bridge/bridge.py uses nothing outside Python's standard library. start.bat finds Python or installs it with winget, then runs the bridge; there is no pip step to break on a clean machine.
- 03
Pair the extension, not the account
The bridge pairs with the installed extension over localhost. There is no token to paste and no cloud relay; the browser and the editor talk to the same PC.
- 04
Test everything except the editor
Twenty bridge tests and twenty-one parser tests run headless. The only part that needs a live Unreal session is the final HTTP + MCP round trip, which the popup can check in one click.
How it is built
- 01
Chat → extension → bridge → MCP
The content script reads the AI's reply, the background worker forwards command blocks to 127.0.0.1:17654, and the bridge turns them into MCP calls against the editor.
- 02
Editor plugin
UEChatBridge adds a run_python toolset, so the AI can execute editor Python with the full unreal module and inspect the result. The plugin installer also enables the MCP server and Python plugin in the .uproject.
- 03
Risk tripwire
Destructive asset operations ask for approval first. The default can be raised to ask before Python or before everything, or lowered to auto for a trusted project.
Outcome
Fifteen AI chats can now inspect actors, run editor Python, call toolsets, list their parameters and capture the viewport. The bridge is one stdlib process; the extension ships for Chrome/Edge, with a Firefox build and signing notes.
AqquaAC
An open-source FiveM anti-cheat built around readable Lua modules you can reload at runtime.