Docs · Troubleshooting

Fix connection and build problems

Find your symptom and follow the fix. Everything here is a problem the project has documented or users have reported. The logs usually name the cause, so start by knowing where they are.

Updated 27 October 2026EngineWire 0.6.0

Where to look first

WhatWhere
Is the plugin loaded?The status bar at the bottom right of the level editor. MCP off: loaded, native HTTP off. MCP :3000 (N): native HTTP on with N clients. No indicator: the plugin didn’t load.
Plugin logWindow › Output Log, filtered by LogEngineWire and LogMcp. The native HTTP server logs as LogMcpNativeTransport, one line per call naming the internal tool and action it ran. The same lines are in <YourProject>/Saved/Logs/<YourProject>.log.
stdio server logstderr, shown in your client’s MCP log. Claude Desktop: %APPDATA%\Claude\logs\ or ~/Library/Logs/Claude/. Claude Code: claude --debug or /mcp. Set LOG_LEVEL=debug for connection details.
The failing callThe reply’s errorCode, message and nextCall. Send the nextCall, adjusted, instead of guessing.

The plugin doesn't build or load

You seeFix
“Missing Modules … Engine modules cannot be compiled at runtime. Please build through your IDE.”Generate project files, build the Editor target in Visual Studio, Rider or Xcode, then open the project.
“The following modules are missing or built with a different engine version: EngineWire”Answer Yes to rebuild. Binaries built for another engine minor or platform won’t load; rebuild from source for your engine (reported in #195 and #166).
No way to compile at allThe project is Blueprint-only. Install the prebuilt plugin from Fab, add a C++ class (Tools › New C++ Class), or use prebuilt binaries.
“Plugin ’EngineWire’ failed to load” on the first openClose the editor and open the project again; it loads once the build has finished.
Compile errors after an updateDelete Plugins/EngineWire/Binaries and Intermediate, then rebuild. Make sure the plugin folder was replaced, not merged with the old one. Upgrading from 0.6.0-beta-e or earlier, remove the old Plugins/McpAutomationBridge/ folder: its settings still load into EngineWire.
Compile errors on your engine versionOpen an issue with the engine version and the first errors from the build log. Known version issues are on engine versions.
The build runs out of memoryThe plugin has many source files. Close other programs, or lower UnrealBuildTool’s parallel job count.
A capability says its engine plugin is missingEnable that engine plugin. PCG support is compiled in only when the project itself enables PCG: enable it and rebuild.

A native HTTP client can't connect

Work down the list:

  1. Is the editor running with the project open? The native server lives inside the editor, so a client started first simply fails. Reconnect it once the editor is up (in Claude Code, through /mcp), or use the stdio route, which keeps the session so the client never has to reconnect.
  2. Does the status bar read MCP :3000? If it reads MCP off, tick Enable Native MCP Server and restart the editor. The Fab build ships with it off.
  3. Is the port free? Failed to start Native MCP server on port 3000 in the Output Log means another program holds it. Change Native MCP Port (or set MCP_NATIVE_PORT for the editor process) and update the client URL.
  4. Is the URL right? http://127.0.0.1:3000/mcp, including /mcp, using the client’s Streamable HTTP transport (Claude Code calls it http). Clients limited to the old SSE-only transport won’t work.

Then match the HTTP status:

StatusMeaningFix
401 Invalid capability tokenThe X-MCP-Capability-Token header is missing or wrongCopy Saved/MCP/capability-token again, without a trailing newline. Deleting the file or changing Capability Token changes the token.
401 Capability token does not match this sessionThe token changed mid-sessionReconnect the client
400Unsupported MCP protocol versionUpdate the client, or use the stdio route
403 Invalid OriginThe request came from a web pageBrowser origins are accepted only while token auth is on
503More than 32 simultaneous connectionsClose clients you don’t use

The native server keeps at most 16 sessions. When all are taken, one idle for two minutes gives up its slot, and any session expires after an hour without activity. Reconnect after an expiry.

Every call answers NOT_CONNECTED

The stdio server starts without the editor and relays to it on each call, so the tool appears even when nothing is running. Calls then answer NOT_CONNECTED: the Unreal Editor is not running (nothing answers at http://127.0.0.1:3000/mcp).

  • Start the editor with the plugin and check that the status bar reads MCP :3000. MCP off means the native server is off: tick Enable Native MCP Server and restart the editor (the Fab build ships with it off).
  • Check the URL. The server dials UNREAL_MCP_URL, else http://127.0.0.1:3000/mcp. If you changed Native MCP Port, set UNREAL_MCP_URL to match.
  • Was the token refused? A NOT_CONNECTED that ends in initialize answered HTTP 401 means the server sent no token or the wrong one. Point UE_PROJECT_PATH at the project that’s open, or set MCP_AUTOMATION_CAPABILITY_TOKEN.

Running the stdio server in Docker? The editor’s native server listens on 127.0.0.1, so the container needs host networking (practical on Linux) and the token passed as MCP_AUTOMATION_CAPABILITY_TOKEN. Use -i without -t: a TTY corrupts the MCP stream.

The wrong tools show up

  • 23 tools instead of unreal: that’s a 0.5.x plugin or server. Update the plugin to 0.6; if npx still runs a cached 0.5.30, use unreal-engine-mcp-server@latest once.
  • unreal listed twice: the client has both routes configured. Keep one.
  • The stdio server doesn’t start: node --version must be 20.19 or later. On Windows, launch through cmd: "command": "cmd", "args": ["/c", "npx", "-y", "unreal-engine-mcp-server"].

Calls fail or run long

CodeWhyFix
UNKNOWN_CAPABILITY, UNDECLARED_PARAMETER (repeatedly)The model guesses names instead of following the workflowAdd to your prompt or project instructions: “Use the unreal tool: search, then describe, then execute, and copy each nextCall.”
CONSENT_REQUIREDExpected for deletes and some writesThe model sends the consentGrant from describe back as consent
PATH_NOT_PERMITTEDThe path is outside /Game, /Engine, /Script, /Temp, /Niagara and the content mounts the connected editor reportsUse a path under the project’s mounts
COMMAND_BLOCKEDA chained or blocked console commandSend one command per call
RESULT_TOO_LARGEA reply over about 100,000 characters (6,000,000 for images)Narrow it with a filter, a folder or limit
EDITOR_BLOCKEDThe game thread hasn’t ticked for 15+ seconds, almost always a modal dialogDismiss the dialog in the editor and retry

Long operations such as lighting builds, imports, packaging and renders: a call still open after 27 seconds answers anyway, with a taskId and state: "running". The work goes on. Read its result once the editor is done:

{ "operation": "configure", "action": "get_task_result", "params": { "taskId": "num:12" } }

A call sent with an idempotencyKey can also be repeated with the same key once it is done, and answers with the real result instead of running twice.

Slow editor or Play In Editor at a few frames per second? Unreal throttles a background editor. Turn off Editor Preferences › General › Performance › Use Less CPU when in Background, and don’t minimise the editor.

Questions

What should I include when asking for help?
Plugin and server versions, engine version and OS; the route (native HTTP or stdio) and client; the failing request and its full reply; and the relevant LogEngineWire and LogMcp lines. Remove your capability token from anything you paste. Post in Issues or Discussions.
Can I reach the editor from another machine?
Only deliberately: both routes are loopback-only by default. See security for the LAN settings.
My token stopped working.
It changes if the token file is deleted or the Capability Token setting is edited. Copy the current file again and reconnect.

Keep going

Still stuck?

Open an issue with your versions, the route, the failing call and its reply. Leave your token out.