Installation

Detailed setup for the AgentUX plugin, MCP bridge, and optional GraphRAG knowledge base.

Prerequisites

Community edition: You only need Unreal Engine and Python. No Java, no Neo4j. All 45 handlers and 662 methods included.
Pro / Team Studio editions: You'll also need Java and Neo4j for the knowledge base.

Requirement Version Required For Notes
Unreal Engine 5.6+ (5.7 recommended) Editor Control Retail (Epic Games Launcher) or source build. Full features (662 methods) on 5.7+. Core features (577 methods) on 5.6.
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 (API bridge) Optional. For programmatic Anthropic API access when the CLI is not available

Prerequisite Details

Here's what each dependency does and how to check if you have it. Better to sort this out before you start the installer.

Python 3.10+

Runs the MCP bridge (connects Claude Code to the plugin) and the GraphRAG server. The installer creates a virtual environment, so your system Python won't be modified.

  • Check: python --version or python3 --version
  • Install: python.org/downloads or your system package manager

Java 21+

Neo4j is a Java application. It won't start without a JDK installed. You need the full JDK, not just the JRE.

Neo4j Community 5.x

Stores the engine knowledge graph: class hierarchies, function signatures, module relationships, and everything else your AI needs to verify UE APIs. Runs as a local service on your machine.

  • Check: neo4j --version or visit localhost:7474 in a browser
  • Install: neo4j.com/download (choose "Community Edition", free and open source)
  • Resources: ~512MB RAM idle, ~1-2GB under query load. The AgentUX installer handles all Neo4j configuration automatically.
  • Edition: Only needed for Pro and Team Studio (Free doesn't use Neo4j)

Node.js 20+ (optional)

Only needed for Bridge-v2 (the API bridge). Bridge-v2 lets you call the Anthropic API directly to control the editor, for use in CI/CD pipelines or custom automation where the Claude Code CLI is not available. Most users don't need this. The standard Python bridge handles all CLI-based workflows.

Step 1: Plugin Installation

Recommended: Engine-Level Install

Install AgentUX at the engine level so it is available to all projects using that engine version. The knowledge base (Neo4j + LanceDB) is shared engine knowledge, not project-specific data, so a single install serves every project.

Retail / Epic Games Launcher:

<UE Install>/Engine/Plugins/Marketplace/AgentUX/

The pre-compiled binaries in Binaries/Win64/ are loaded automatically. No compilation needed.

Source Build:

<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.

Chat history, auth credentials, and MCP configuration are stored per-project in <Project>/Saved/AgentUX/ regardless of where the plugin is installed.

Alternative: Per-Project Install

If you need different AgentUX versions across projects, install into a single project instead:

<YourProject>/Plugins/AgentUX/

This duplicates the knowledge base files for each project. Use this only when version isolation is required.

Enable the Plugin

Add to your project's .uproject file:

{
  "Plugins": [
    { "Name": "AgentUX", "Enabled": true }
  ]
}

Optional Plugin Dependencies

AgentUX works out of the box with just the core editor. Specialized handlers for VFX, cinematics, procedural generation, and other domains require the corresponding UE plugin to be enabled. If a handler's backing plugin is disabled, it returns a clear error message instead of crashing.

Commonly used optional plugins: Niagara (VFX), PCG (procedural generation), Level Sequence Editor (cinematics), Movie Render Pipeline (offline rendering), MetaSound (procedural audio). See the Troubleshooting page for the full handler-to-plugin mapping.

Step 2: Run the Installer

From the AgentUX root directory:

python install.py

The installer performs the following steps:

  1. Installs Python dependencies (Bridge + GraphRAG)
  2. Detects Neo4j (if running) and configures credentials
  3. Restores the pre-built knowledge base into Neo4j
  4. Validates the ONNX embedding model
  5. Generates MCP configuration for Claude Code
  6. Configures the Home Project directory (interactive prompt or via the --home-project flag for scripted installs)
  7. On Pro or Team Studio tiers with Neo4j reachable and a populated local Asset Inventory catalog, recommends running sync_inventory_to_neo4j.py to mirror the catalog into Neo4j (informational only; never blocks the installer)
  8. Creates an AgentUX workspace under your Home Project (interactive prompt; sets up .uproject, .mcp.json, .claude/, and config.yaml)

For non-interactive installs:

python install.py --home-project "/path/to/your/HomeProject"
AgentUX Setup wizard showing all dependencies detected
The AgentUX Setup wizard checks for all required and optional dependencies. Green plus icons confirm each component is detected and ready.

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

  1. Download Neo4j Community Edition 5.x
  2. Ensure Java 21+ is installed (java -version)
  3. Extract and start Neo4j:
    neo4j console
    Or install as a Windows service for auto-start:
    neo4j install-service
    neo4j start
  4. 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 nodesMore than 16 million across all 27 UE5 versions (Pro and Team Studio)
MCP tools34 tools for search, lookup, versioning, experience system
Modules indexed2,313 modules
Plugins indexed716 plugins
CVars indexed9,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

The Settings panel includes a Connection Status section that tests all three connections at once.

Connection status test results showing Neo4j, Anthropic API, and WebSocket all passing
The Test Connection buttons verify Neo4j, Anthropic API, and WebSocket connections. Green checks confirm everything is working.

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.1.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.4msWebSocket server + 45 handlers
Neo4j cold start~5.5sJVM + database startup
MCP server startup~2sNeo4j connect + verify
First semantic query~18sOne-time ONNX model load
Subsequent queries<300msEmbed + vector search
Structural queries4–45msClass 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 Origin header? It's required by the WebSocket server.

"Method not found" error

  • Use agentux.methods.list to 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": true is set in AgentUX.uplugin
  • Check the Output Log for LogAgentUX messages
  • Verify the plugin is in Engine/Plugins/Marketplace/AgentUX/ (engine-level) or <Project>/Plugins/AgentUX/ (per-project)

Plugin not loading (source build)

  • Run the build command with the editor closed
  • Verify the plugin folder is under Engine/Plugins/Experimental/ or Engine/Plugins/Marketplace/

GraphRAG not responding

  • Is Neo4j running? Check bolt://localhost:7687
  • Run python install.py --skip-deps to reconfigure and test
  • Verify GRAPHRAG_CONFIG env var points to the correct config.yaml

Next Steps