# Installation Set up gengine for an Unreal Engine 5.8 project. The current engine hotfix is **5.8.4**. Obtain the plugin source, install its dependencies, build for your editor and verify the integration. ## Prerequisites Before you begin, make sure you have the following installed and working: ### Unreal Engine 5.8 / 5.8.4 hotfix This guide uses UE 5.8, with the 5.8.4 hotfix as the current upgrade target. Check **Help > About Unreal Editor**, then confirm that the plugin release you obtained supports that editor. Native plugin compatibility must be established by a successful build and editor checks; the website does not ship a verified 5.8 binary. Follow the [version and upgrade guide](/docs/unreal-engine-version) before migrating an existing project. ### Node.js 18 or later The MCP Bridge and Web Chat Panel are Node.js applications. Node 18 LTS or any newer version works. Download it from **nodejs.org** or use a version manager like **nvm** (Mac/Linux) or **fnm** (Windows). ```bash node --version # Should print v18.0.0 or higher npm --version # Should print 9.0.0 or higher ``` ### Git gengine uses git submodules for the MCP bridge. Git 2.30 or later is recommended. Verify with **git --version**. ### A C++ project gengine is a C++ plugin and requires a project that can compile C++. If your project is Blueprint-only, right-click the **.uproject** file and choose **Generate Visual Studio project files**, then open the solution in Visual Studio or Rider to build once before installing gengine. > **Warning:** gengine does not currently support Shipping builds. Always use Development Editor or DebugGame Editor configurations when working with gengine. ## Clone the plugin Studio Team includes Unreal plugin source. Open [Source access](/studio/source-access) after activating your subscription and download the Unreal Engine Plugin edition. The packaged source declares Unreal 5.7; verify compatibility and rebuild for another engine version. No precompiled engine binaries are included. See [plans and subscriptions](/docs/subscriptions). gengine lives in your project's **Plugins/** folder. Navigate to your project root and clone the repository including its submodules: ```bash # Navigate to your project root cd /path/to/YourProject # Clone with submodules (mcp-bridge and claude-panel are submodules) git clone --recurse-submodules Plugins/gengine ``` If you already cloned without **--recurse-submodules**, initialize the submodules manually: ```bash cd Plugins/gengine git submodule update --init --recursive ``` After cloning, your Plugins directory should look like this: ``` Plugins/ └── gengine/ ├── gengine.uplugin ├── Source/ │ ├── Gengine/ │ ├── GengineChatGateway/ │ ├── GengineMCPStreamable/ │ └── GengineAutonomy/ ├── Resources/ │ ├── mcp-bridge/ ← git submodule │ └── claude-panel/ ← git submodule └── Docs/ ``` ## Install Node.js dependencies Both the MCP Bridge and the Web Chat Panel have their own Node.js dependencies. Install them separately: ```bash cd Plugins/gengine/Resources/mcp-bridge npm install ``` ```bash cd Plugins/gengine/Resources/claude-panel npm install ``` > **Tip:** You can run both installs in parallel in separate terminals to save time. Each takes 30–60 seconds depending on your internet connection. After installing, build the MCP bridge bundle. This compiles the TypeScript source into a single JavaScript file that the plugin launches automatically: ```bash cd Plugins/gengine/Resources/mcp-bridge npm run build ``` ## Build the Unreal project With the plugin files in place, regenerate your project files and build: ### Windows (Visual Studio) ```bash # Right-click your .uproject file → "Generate Visual Studio project files" # Then open the .sln file and build the Development Editor configuration # Or from the command line: "C:\Program Files\Epic Games\UE_5.8\Engine\Build\BatchFiles\Build.bat" ^ YourProjectEditor Win64 Development ^ "C:\path\to\YourProject\YourProject.uproject" ``` ### Mac / Linux (Rider or shell) ```bash /path/to/UE_5.8/Engine/Build/BatchFiles/Mac/Build.sh \ YourProjectEditor Mac Development \ /path/to/YourProject/YourProject.uproject ``` The first build after adding gengine will compile all four plugin modules (**Gengine**, **GengineChatGateway**, **GengineMCPStreamable**, **GengineAutonomy**). Subsequent builds are incremental and much faster. > **Note:** Build time on a modern machine is typically 2–4 minutes for the first full compile. If you see errors about missing headers, ensure your engine version is exactly 5.8.x. ## Verify the plugin loaded Launch your project in the Unreal Editor (Development Editor configuration). Once the editor finishes loading, verify gengine is active: - Open **Window > gengine** from the main menu bar. The Command Center panel should appear. - The **Diagnostics** tab inside the Command Center should show green status indicators for "Plugin", "MCP Bridge", and "REST API". - Open the **Output Log** (Window > Output Log) and filter for "gengine". You should see **LogGengine: MCP server listening on port 8080**. ``` LogGengine: Display: Gengine plugin loaded LogGengine: Display: MCP server listening on port 8080 LogGengine: Display: MCP bridge started (PID 12345) LogGengine: Display: 97 tools registered ``` > **Warning:** If the MCP bridge fails to start, the most common cause is Node.js not being on the system PATH that the editor uses. On Windows, restart the editor after installing Node.js to pick up the updated PATH. On Mac, add Node.js to /etc/paths or use the full path in your shell profile. ## Updating to new versions gengine follows semantic versioning. To update to the latest release: ```bash cd Plugins/gengine # Pull the latest changes git pull origin main # Update submodules to the versions pinned by the new release git submodule update --recursive # Reinstall Node.js dependencies in case they changed cd Resources/mcp-bridge && npm install && npm run build && cd ../.. cd Resources/claude-panel && npm install && cd ../.. ``` After updating, rebuild the Unreal project. If a minor or patch release only changed the Node.js side, a full C++ rebuild may not be necessary — the Diagnostics tab will indicate if the plugin version matches the bridge version. > **Tip:** Subscribe to the gengine GitHub releases page to get notified of new versions. Breaking changes are always listed in the release notes under a "Migration" heading.