Skip to content

Settings

What UEAgent lets you set, in the editor, on the command line and in the environment, and its console commands.

In the editor

Editor Preferences > Plugins > UEAgent (per user):

Setting Default
Enable HTTP server on the MCP server
HTTP port 55561 -McpHttpPort=N on the command line overrides it
Auth token empty when set, every request needs Authorization: Bearer <token>
HTTP keep-alive on off: each response closes its connection, for a proxy, antivirus or VPN that holds a response until then (see A client connects but times out); -McpHttpNoKeepAlive on the command line turns it off
Show connect hint on at startup, offer to connect Claude Code if the project is not
Check for updates at startup off ask GitHub at most once a day whether a newer release is out (see How do I update it?)
Return images on the capture tools answer with the picture as an MCP image next to their JSON (see Answers and refusals); ?images=off in the URL turns it off for one client
Image max dimension / bytes 1568 / 1048576 a larger picture is sent as a smaller JPEG copy; the file on disk keeps its full resolution
Read-only mode off Permissions: only the tools that read, or that only capture an image under Saved, are listed and run; -McpReadOnly on the command line or UEAGENT_READONLY=1 turns it on. Also in the status bar's MCP menu
Allow code execution on Permissions: off, the seven tools that run code or a process (execute_python, execute_python_file, execute_console_command, call_function, run_external_project_script, launch_dedicated_server, start_cpp_compile) are not listed and are refused
Disabled domains / Disabled tools empty Permissions: these domains' tools, and these tools by name, are not listed and are refused

Project Settings > Plugins > UEAgent (shared, saved to Config/DefaultEditor.ini):

Setting Default
Read Only Content Roots empty vendored-library roots (e.g. /Game/SomeMarketplacePack): tools refuse to save, rename, move or delete anything there, and lineage audits treat their classes as library classes
Project Content Root /Game default scope of audit_class_purity
Fork Origin Tag mcp.forkOrigin metadata tag fork_class_chain writes and audit_class_purity checks

Command line and environment

-McpHttpPort=N On the editor's command line: the server's port, instead of HTTP port
-McpHttpNoKeepAlive On the editor's command line: each response closes its connection, as with HTTP keep-alive off (see A client connects but times out)
UEAGENT_TOOLS=all or UEAGENT_TOOLS=compact In the environment the editor starts in: every client lists every tool, or the three meta-tools, instead of the core tool list; ?tools=core gives one client the core list back
UEAGENT_TOKEN The token the .mcp.json entry written by Connect Claude Code sends, as Authorization: Bearer ${UEAGENT_TOKEN}: give it the value of Auth token

Console commands

In the editor's console, or through the execute_console_command tool:

Command
mcp.http.status / mcp.http.restart server status, with the tool permissions; restart (also reloads the tool catalog)
mcp.readonly [0|1] / mcp.policy [readonly=0|1] [codeexec=0|1] [domains=A,B] [tools=a,b] read-only mode; the tool permissions (saved in the settings; with no argument, print them)
mcp.claude.status [path] / mcp.claude.connect [path] inspect / write the .mcp.json entry
mcp.clients.status / mcp.clients.connect cursor|vscode|antigravity|opencode [path] the same for the other clients' files
mcp.skills.status / mcp.skills.install / mcp.skills.remove [claude|agents|all] UEAgent's skills in the project (see Skills)
mcp.contract.selftest <vectors.json> [quit] run the contract vectors (see Resources/ContractTests)
mcp.ReadOnlyRootEnforcement 0|1 0 = only report saves under a read-only root instead of refusing them
mcp.UndoStepPerCall 0|1 0 = leave the undo buffer to each tool instead of one undo step per call
mcp.activity [N] print the last N tool calls (default 20) to the log, as the Activity panel lists them
mcp.update.check / mcp.update.status / mcp.update.download / mcp.update.cancel look for a newer release; the state of the update; download it (it installs when the editor closes); drop a downloaded one