This is the intended workflow for UE 5.9. It connects the built-in Unreal Assistant panel to the Claude Code CLI agent via a local MCP (Model Context Protocol) server.
Step 1: Enable the Required Plugins
In Unreal Editor, go to Edit > Plugins.
Search for and enable the following two plugins:
Unreal MCP (this creates the local server).
All Toolsets (this gives the AI agent the tools to interact with the editor).
Restart the editor when prompted.
Step 2: Configure the MCP Server
Go to Edit > Editor Preferences.
Navigate to General > Model Context Protocol.
Check the box for Auto Start Server. This ensures the MCP server runs whenever the editor is open, binding to http://127.0.0.1:8000/mcp by default.
Step 3: Generate the Client Config
Open the Unreal Editor console (usually the ~ key).
Type the following command and press Enter:
text
ModelContextProtocol.GenerateClientConfig ClaudeCode
This command creates a .mcp.json file in your project's root directory (C:\ Unreal\MyGame), which tells the Claude CLI how to connect to the Unreal MCP server.
Step 4: Connect Claude and Launch
Start the Claude CLI from your project's root folder. The command you were using is perfect for this. In your Terminal panel, run:
claude
Once the Claude CLI is running, you can use the Unreal Assistant panel in the editor to send it commands. The CLI will automatically find the .mcp.json file and connect to the Unreal MCP server.
Note: this assumes that you are using claude as your AI agent in Unreal Engine. You will have to login to claude, and you will have to use a paid subscription. A similar approach can be used if Deepseek Harness is being used to connect to Unreal Engine. However, in the case where Deepseek Harness is used, you will have to download the Unreal Engine plugin in Deepseek Harness, and you will have to ensure that your API key is in Deepseek Harness in order to connect the AI to Unreal Engine 5.9.
Partner with Impulse Response Enterprises Ltd
Impulse Response Enterprises Ltd, is a technology-oriented economic research organization. We are up to the times; technology has a strong place with policy. We do economic research, econometric and mathematical analysis, strategic plans, action plans, and economic evaluations. We build machine learning models for economic analysis, develop websites and React Native apps, and create games in Unreal Engine 5 and Godot.
👉 Contact us today at impulseresponseenterprisesltd@gmail.com or visit www.impulseresponseenterprises.cc to schedule your consultation and start your journey toward digital excellence!