Before you start
EngineWire is a native C++ editor plugin, EngineWire, that serves MCP itself, plus a small npm package, unreal-engine-mcp-server, for clients that only launch commands. The plugin does the work inside the editor; your AI client reaches it over HTTP, or over stdio through the package. You need:
| Requirement | Detail |
|---|---|
| Unreal Engine | 5.0 to 5.8, on Windows (Win64), macOS or Linux. The plugin is editor-only and never ships in your game. |
| A C++ project | Only to build from source: the project needs a Source/ folder. The Fab build needs neither this nor a compiler. A Blueprint-only project can also add any class through Tools › New C++ Class, or use prebuilt binaries. |
| Compiler | Only to build from source: the toolchain your engine expects, Visual Studio or Rider on Windows, Xcode on macOS, clang on Linux. |
| An MCP client | Claude Code, Claude Desktop, Cursor, VS Code with GitHub Copilot, or any other MCP client. |
| Node.js | 20.19 or later, only for the stdio route. The native HTTP route needs no Node.js. |
On Fab. EngineWire on Fab installs straight into any engine from 5.0 to 5.8 with no compiler. Fab updates follow Epic's review, so the newest release can reach GitHub first.
Which version? These steps describe 0.6: the newest GitHub release, the Fab build and npm unreal-engine-mcp-server. A 0.5.x plugin serves 23 separate tools instead of the single unreal tool, so update an older plugin first.
1. Add the plugin
From Fab. In the Epic Games Launcher, open Fab Library, find EngineWire and click Install to Engine for your engine version. Open your project, enable EngineWire in Edit › Plugins and restart the editor. There is nothing to build, so skip to the checkpoint in step 2.
From a release. Open the Releases page, take the newest release and download EngineWire-plugin-<version>.zip. The archive holds source only. Copy the EngineWire folder it contains into your project's Plugins folder:
MyGame/
├── MyGame.uproject
└── Plugins/
└── EngineWire/
├── EngineWire.uplugin
└── Source/
Upgrading from 0.6.0-beta-e or earlier? Those releases call the plugin McpAutomationBridge: the zip is McpAutomationBridge-plugin-<version>.zip, the folder is Plugins/McpAutomationBridge/, and its settings sit under Plugins › MCP Automation Bridge. Everything else on this page is the same.
Prefer to track the dev branch? Clone the repository and reference its plugins folder from your .uproject, so a git pull updates the plugin without copying:
{
"AdditionalPluginDirectories": [
"C:/Path/To/Unreal_mcp/plugins"
]
}
2. Open the project and build
Open the .uproject. When Unreal asks whether to rebuild the missing modules, answer Yes. The plugin is large, so the first build can take several minutes.
Checkpoint: the status bar at the bottom right of the level editor shows MCP :3000 (0): the port, then the number of connected clients. The Fab build shows MCP off, because it ships with its HTTP server switched off; step 3 turns it on. No indicator at all means the plugin did not load.
If you see “Engine modules cannot be compiled at runtime. Please build through your IDE”, generate project files, build the Editor target once in Visual Studio, Rider or Xcode, then reopen the project. More fixes are in troubleshooting.
3. Choose a route and connect a client
Both routes expose the same single MCP tool, unreal. Give each client one route, not both, or the tool shows up twice.
| Route A · Native HTTP | Route B · stdio | |
|---|---|---|
| How | The plugin serves MCP at http://127.0.0.1:3000/mcp | The client launches unreal-engine-mcp-server, which relays every call to that same /mcp |
| Node.js | Not needed | 20.19 or later |
| Capability token | You send it in the X-MCP-Capability-Token header | Read from the project, given UE_PROJECT_PATH |
| Best for | Claude Code, Cursor, VS Code; several clients on one editor (up to 16 sessions) | Claude Desktop, clients that only launch local commands, and sessions that must survive editor restarts |
Route A: native HTTP
- The server is on by default, on port
3000. On the Fab build, tick Enable Native MCP Server in Edit › Project Settings › Plugins › EngineWire › Native MCP and restart the editor; the status bar then readsMCP :3000 (0). - Read the capability token the plugin generated for your project. It is 64 hexadecimal characters; treat it like a password.
cat /path/to/MyGame/Saved/MCP/capability-token
Get-Content "C:\Path\To\MyGame\Saved\MCP\capability-token"
Then add the server to your client. For Claude Code, one command does it:
claude mcp add --transport http unreal-engine http://127.0.0.1:3000/mcp --header "X-MCP-Capability-Token: <token>"
Cursor and VS Code use a JSON file instead; the exact files are on the Cursor and VS Code pages. When the client connects, the count in the status bar goes up to MCP :3000 (1).
A client connected straight to /mcp loses its session when the editor closes. To keep it, use Route B instead: the package stays up while the editor is down.
Route B: stdio through Node.js
Add this to your client's MCP configuration. For Claude Desktop the file is %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS:
{
"mcpServers": {
"unreal-engine": {
"command": "npx",
"args": ["-y", "unreal-engine-mcp-server"],
"env": {
"UE_PROJECT_PATH": "C:/Path/To/MyGame"
}
}
}
}
UE_PROJECT_PATH is your project folder or its .uproject; the server reads the capability token from it. It relays to http://127.0.0.1:3000/mcp, so the native server must be on (on the Fab build, tick it as in Route A); set UNREAL_MCP_URL only if you changed the port. Restart the client after editing its config. The stdio server starts even when the editor is closed; calls answer NOT_CONNECTED until the editor is running, and the next call after it starts goes through, with no reconnect.
4. Try it
With the editor open, ask your assistant:
- “List the actors in the current level.” A read: nothing changes.
- “Spawn a point light 300 units above the origin.” A write: a new actor appears.
- “Take a screenshot of the viewport.” The image comes back, so a model that reads images can check its own work.
Behind the scenes each step is up to three calls to the unreal tool: search finds a capability from a few plain words, describe returns its exact parameters, and execute runs it and returns a receipt of what changed:
{ "operation": "search", "query": "spawn actor" }
{ "operation": "describe", "tool": "control_actor", "action": "spawn" }
{
"operation": "execute",
"tool": "control_actor",
"action": "spawn",
"params": { "classPath": "/Script/Engine.PointLight", "actorName": "KeyLight", "location": [0, 0, 300] }
}
Deletes, and some other writes, only run with a consent grant that describe hands out, so they take one extra step. That is deliberate; see the security model. A call still running after 27 seconds, such as a lighting build, answers with a taskId whose result you read later, so long jobs don't hit your client's time limit.
Questions
Do I need Node.js?
Why does my client list 23 tools instead of one?
npx still runs a cached 0.5.30, use unreal-engine-mcp-server@latest once.Does it work with Blueprint-only projects?
Can I use it in a shipped game?
How do I update?
Plugins/EngineWire/ with the new version (or git pull), optionally delete the plugin’s Binaries/ and Intermediate/ folders, and reopen. Your settings and token survive updates.