Installation
Detailed setup for the AgentUX plugin, MCP bridge, and optional GraphRAG knowledge base.
Prerequisites
| Requirement | Version | Required For | Notes |
|---|---|---|---|
| Unreal Engine | 5.6+ | Editor Control | Retail (Epic Games Launcher) or source build. 5.7+ recommended for full feature set. |
| Python | 3.10+ | MCP Bridge + GraphRAG | python --version to check |
| Neo4j Community | 5.x | Engine Knowledge | Optional, only needed for GraphRAG |
| Java | 21+ | Neo4j runtime | Optional, required by Neo4j Community Server |
| Node.js | 20+ | Bridge v2 | Optional, only for Claude Agent SDK features |
Step 1: Plugin Installation
Option A: Retail / Epic Games Launcher Build
Copy the AgentUX folder (the one containing AgentUX.uplugin) into your project's plugin directory:
<YourProject>/Plugins/AgentUX/ The pre-compiled binaries in Binaries/Win64/ are loaded automatically. No compilation needed.
Option B: Source Build
Copy the AgentUX folder into the engine's plugin directory:
<UE Root>/Engine/Plugins/Experimental/AgentUX/ Build the plugin (from a terminal in your UE root):
Engine/Build/BatchFiles/Build.bat UnrealEditor Win64 Development -Module=AgentUX This incremental build takes approximately 10 seconds.
Enable the Plugin
Add to your project's .uproject file:
{
"Plugins": [
{ "Name": "AgentUX", "Enabled": true }
]
} Step 2: Run the Installer
From the AgentUX root directory:
python install.py The installer performs the following steps:
- Installs Python dependencies (Bridge + GraphRAG)
- Detects Neo4j (if running) and configures credentials
- Restores the pre-built knowledge base into Neo4j
- Validates the ONNX embedding model
- Generates MCP configuration for Claude Code
Plugin-Only Install (No Neo4j)
To start with editor control only and skip the knowledge base:
python install.py --skip-graphrag Everything works without GraphRAG: you just won't have the engine knowledge tools. You can add them later by installing Neo4j and running the full installer.
Step 3: MCP Server Configuration
The installer generates mcp_config.json with two MCP servers. Add its contents to your Claude Code MCP settings.
Full Configuration (Editor Control + GraphRAG)
Add to your project's .claude/settings.json:
{
"mcpServers": {
"agentux": {
"command": "python",
"args": ["<path-to>/AgentUX/Bridge/agentux_mcp_bridge.py"]
},
"ue-graphrag": {
"command": "python",
"args": ["<path-to>/AgentUX/GraphRAG/mcp_server/server.py"],
"env": {
"GRAPHRAG_CONFIG": "<path-to>/AgentUX/GraphRAG/config.yaml"
}
}
}
} Editor-Only Configuration
If you used --skip-graphrag, omit the ue-graphrag entry:
{
"mcpServers": {
"agentux": {
"command": "python",
"args": ["<path-to>/AgentUX/Bridge/agentux_mcp_bridge.py"]
}
}
} The agentux bridge auto-detects whether GraphRAG is available and exposes a graphrag_status tool so Claude can check connectivity at runtime.
CLAUDE.md Template
Copy the provided template into your UE project's .claude/CLAUDE.md. This teaches Claude how to control the editor and verify UE API names before writing code:
# From your UE project root:
mkdir -p .claude
cp <path-to>/AgentUX/Docs/CLAUDE_TEMPLATE.md .claude/CLAUDE.md Step 4: GraphRAG Setup (Optional)
This step is optional. Editor control works fully without GraphRAG. Add it when you want your AI to verify UE API names, explore class hierarchies, and access engine documentation: reducing hallucinated property names and silent failures.
Install Neo4j Community Server
- Download Neo4j Community Edition 5.x
- Ensure Java 21+ is installed (
java -version) - Extract and start Neo4j:
Or install as a Windows service for auto-start:neo4j consoleneo4j install-service neo4j start - Verify Neo4j is accessible at
bolt://localhost:7687
Build the Knowledge Base
The installer handles this automatically when Neo4j is detected. If you need to rebuild or installed Neo4j after the initial setup:
python install.py --skip-deps This reconfigures credentials, restores the pre-built knowledge base, and validates the ONNX embedding model.
What GraphRAG Provides
| Feature | Coverage |
|---|---|
| Source nodes | 19.1M+ across 27 UE5 releases |
| MCP tools | 20 tools for search, lookup, versioning |
| Modules indexed | 2,313 modules |
| Plugins indexed | 716 plugins |
| CVars indexed | 9,602 console variables |
| Doc chunks | ~14,857 from C++ API, UDN, Blueprint API, guides |
See the GraphRAG Guide for the full tool reference and usage workflows.
Step 5: Verification
Test Editor Control
With the Unreal Editor open, run this Python script to verify the WebSocket connection:
import asyncio, json, websockets
async def ping():
async with websockets.connect(
"ws://localhost:9877",
additional_headers={"Origin": "http://localhost"}
) as ws:
await ws.send(json.dumps({
"jsonrpc": "2.0", "id": 1, "method": "agentux.ping"
}))
print(json.dumps(json.loads(await ws.recv()), indent=2))
asyncio.run(ping()) Expected response:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "ok",
"plugin_version": "3.0.0",
"ue_version": "5.7",
"uptime_seconds": 42.5
}
} Test Engine Knowledge
If GraphRAG is installed, ask Claude in Claude Code:
"What properties does USpotLightComponent have?"
Instead of guessing from training data, Claude calls get_class_details("USpotLightComponent") and returns the exact property names, types, and metadata from your engine version.
Performance
| Operation | Latency | Notes |
|---|---|---|
| Plugin startup | ~3.4ms | WebSocket server + 38 handlers |
| Neo4j cold start | ~5.5s | JVM + database startup |
| MCP server startup | ~2s | Neo4j connect + verify |
| First semantic query | ~18s | One-time ONNX model load |
| Subsequent queries | <300ms | Embed + vector search |
| Structural queries | 4–45ms | Class lookup, hierarchy: fast from start |
Tip: Start Neo4j as a Windows service so it's always running when the editor launches.
Troubleshooting
WebSocket connection refused
- Is the editor running with the plugin loaded?
- Is port 9877 in use? Check with
netstat -an | findstr 9877 - Are you sending the
Originheader? It's required by the WebSocket server.
"Method not found" error
- Use
agentux.methods.listto see available methods - Method names are case-sensitive
Plugin not loading (retail build)
- Ensure the
Binaries/Win64/folder is present (pre-compiled DLLs) - Ensure
"Installed": trueis set inAgentUX.uplugin - Check the Output Log for
LogAgentUXmessages
Plugin not loading (source build)
- Run the build command with the editor closed
- Verify the plugin folder is under
Engine/Plugins/Experimental/
GraphRAG not responding
- Is Neo4j running? Check
bolt://localhost:7687 - Run
python install.py --skip-depsto reconfigure and test - Verify
GRAPHRAG_CONFIGenv var points to the correctconfig.yaml
Next Steps
- Quick Start: Get running in under 10 minutes
- API Reference: All 558+ methods documented
- GraphRAG Guide: Full knowledge base reference