Connect to a project and read assets
Preview routing with ueagent connect MyGame.uproject --dry-run. Select --capability blueprint or --capability animgraph for graph work. Connect can install compatible catalog packages after checking their hash and Build ID. Use --build-source to authorize a supported source build or --no-install to use existing plugins. Close the target editor before authorizing --auto-enable. Obtain commercial plugins from the vendor. Installation and compatibility
If the startup log reports an invalid Zen data path, use --local-ddc <existing writable directory> to select a filesystem cache for that launch.
For UMG stdio, run ueagent setup --umg-plugin "PluginDir\UmgMcp.uplugin" once. Setup uses the installed plugin's lock file and registers its Python frontend in Codex. If the alias is occupied, specify the same new --umg-alias at setup and connection. Run ueagent connect MyGame.uproject --capability umg --widget /Game/UI/WBP_Menu with an existing widget path. Verify the returned root and a known child.
For Epic's official Unreal Engine Skills for Claude Code, enable ModelContextProtocol and AllToolsets in the project ("TargetAllowList": ["Editor"] keeps them out of Shipping), then run ueagent connect MyGame.uproject --provider epic-mcp. Epic MCP is registered in the project's .mcp.json as unreal-mcp, the name the official unreal-mcp skill looks for; other clients keep per-project aliases.
If the listener owner differs from the project PID, check the exact project path and run the connection from the editor's Windows session. After registration, reload the client and read a graph edge, the Output Pose or a widget tree. A transport-only result still needs that asset check.
If startup times out, consult startup.editor_log and startup.launch_log. A nonzero turnkey_sdk_exit_code points to the AutomationTool log and the launching user's access to the shared Build.bat lock. If startup fails from a checkout-local virtual environment, retry with a separate installation using uv tool install ueagentdevkit.
Edit a Niagara system with Epic's toolset
Enable the bundled ModelContextProtocol and NiagaraToolsets for the Editor target in UE 5.8.4. Without --asset, the read-only probe uses the engine's DirectionalBurst template.
ueagent connect $project --capability niagara --dry-run
ueagent connect $project --capability niagara --no-install --asset /Game/FX/NS_ExampleUse the attached MCP client for this exercise in a blank project.
- Call
list_toolsetsanddescribe_toolsetforNiagaraToolsets.NiagaraToolset_System. Use the live schemas withcall_tooland itstoolset_name,tool_name, andargumentsfields. An asset reference uses{"refPath":"/Game/FX/NS_Example.NS_Example"}. - Call
CreateNiagaraSystemwithtemplateSystempointing to/Niagara/DefaultAssets/Templates/Systems/DirectionalBurst.DirectionalBurst. UseGetSystemSummaryandGetEmitterTopologyto inspect the stacks.AddEmitteraccepts an emitter template. - Use
GetStackInputDatafor DirectionalBurst →EmitterUpdateScript→SpawnBurst_Instantaneous→Spawn Count. Keep the returned/Script/Niagara.NiagaraInt32type, change 20 to 47 withSetStackInputData, and read it again. Renderer edits useGetRendererDatawithrendererRefandSetRendererDatawithrenderer. - Check for
UpToDatefromGetSystemCompileStateand save in Niagara Editor. Reopen the editor and verify 47 at the same path. Validate appearance or motion changes in the actual level.
transport-only means the endpoint matched but the asset probe did not pass. See niagara.stage for toolset discovery, tool schema, asset reads and response decoding. The CLI connects and verifies access. Epic supplies the editing calls, and asset saving uses the stock editor.
Probe a known HTTP endpoint
On UE 5.4.4 PinWright issues a project-specific bearer token. Start the editor with --auto-enable --no-register. From the project root in PowerShell, set $env:PINWRIGHT_TOKEN = (Get-Content .\Saved\PinWright\gateway-token -Raw).Trim(), rerun ueagent connect .\MyGame.uproject --capability blueprint, and start Codex in that shell. Only the variable name is registered. Set UEAGENT_PINWRIGHT_TOKEN_ENV to use a separate variable per concurrent project. Reload the variable and restart the client when the editor rotates the token.
Start an HTTP MCP provider in Unreal and use its current port in the example.
uv tool install 'ueagentdevkit[mcp]'
$endpoint = 'http://127.0.0.1:8765/mcp'
ueagent doctor --project .\MyGame.uproject --mcp-url $endpointmcp_endpoint reports the server name, first page of tool names and more_tools. It accepts HTTP loopback URLs with explicit ports. Use connect for project attribution and registration.