server
v1.19.0MCP server for making Unreal Engine and C++ development easier
A TypeScript MCP server built on the official @modelcontextprotocol/sdk. This project is the MCP-facing side of the monorepo. It uses stdio for MCP transport and is meant to expose MCP tools that call into the Unreal Editor bridge over localhost HTTP. The local registry API currently exposes:
Summary extracted from the README.
mcp-server
A TypeScript MCP server built on the official @modelcontextprotocol/sdk.
Overview
This project is the MCP-facing side of the monorepo. It uses stdio for MCP transport and is meant to expose MCP tools that call into the Unreal Editor bridge over localhost HTTP.
The local registry API currently exposes:
GET /pingPUT /projects/:projectIdDELETE /projects/:projectId
The MCP tool surface currently exposes:
get_project_idadd_modulelist_registered_projectsping_projectwait_for_jobbuild_targetgenerate_project_filesclean_buildcook_contentpackage_projectrun_editor_commandletget_package_statusget_package_size_reportcancel_package_jobgenerate_buildgraph_scriptrun_localizationget_localization_statsanalyze_traceget_config_valueset_config_valuelist_config_sectionrun_clang_tidylist_actorsget_actor_detailsget_current_levelspawn_actordestroy_actorset_actor_transformset_actor_propertyselect_actorsundoredoopen_levelget_open_level_statusget_source_control_statusrefresh_source_control_statuscheckout_assetsget_source_control_job_statuslist_asset_factoriescreate_assetduplicate_assetrename_assetmove_assetdelete_assetsave_assetcreate_folderget_asset_metadatavalidate_assetslist_graph_nodesadd_graph_noderemove_graph_nodeconnect_pinsdisconnect_pinsset_pin_defaultlist_available_nodeslayout_graphadd_graph_commentinsert_reroute_nodecollapse_graph_nodesset_viewport_camerafocus_actorsset_view_modetoggle_show_flagshigh_res_screenshotduplicate_actorattach_actoradd_actor_componentset_actor_tagsmove_to_folderplace_assetreplace_actorsbuild_lightingbuild_navigationbuild_hlodbuild_reflection_capturesbuild_geometrybuild_texture_streamingbuild_virtual_texturesprecompute_visibilityget_build_job_statuscreate_gameplay_taglist_gameplay_tagscreate_landscapesculpt_landscapepaint_landscape_layerrun_geometry_scriptlist_data_layersset_data_layer_stateload_wp_regionget_asset_propertyset_asset_propertyarray_property_opcreate_structcreate_enumcreate_blueprintadd_bp_variableadd_bp_functionadd_bp_eventadd_bp_componentadd_bp_interfaceset_bp_defaultbatch_editimport_assetreimport_assetset_import_settingsget_import_job_statuscreate_blackboardset_blackboard_keyscreate_eqs_querycreate_state_treeadd_state_tree_statebind_state_tree_propertiesdraft_state_tree_from_behavior_treeimport_nne_modelget_nne_runtimescreate_chooser_tableevaluate_chooser_tablecreate_game_feature_pluginadd_game_feature_actionlist_game_feature_actionsremove_game_feature_actionget_game_feature_stateset_game_feature_stateget_game_feature_transition_statuscreate_pose_search_schemacreate_pose_search_databaseget_pose_search_assetbuild_pose_search_indexcreate_control_rigcreate_physics_assetget_physics_assetedit_physics_bodiesedit_physics_constraintsplace_physics_constraint_actorcreate_level_sequenceadd_sequence_bindingadd_sequence_trackadd_sequence_keysadd_foliage_typepaint_foliagecreate_sound_cuecreate_metasoundset_metasound_graphfind_symbolexport_blueprint_cpplint_blueprintdiff_blueprintsset_texture_settingsset_static_mesh_build_settingscreate_string_tableedit_string_tableget_string_tableimport_string_table_csvexport_string_table_csvadd_reflected_memberscaffold_class_templatescaffold_automation_specscaffold_functional_testget_live_compile_detailsrun_editor_pythonset_navmesh_settingsset_nav_agentsset_crowd_settingscreate_nav_areaadd_nav_modifier_volumeadd_nav_linkfind_pathtest_reachabilitycreate_smart_object_definitionget_smart_object_definitionadd_smart_object_componentcreate_mass_entity_configedit_mass_entity_configget_mass_entity_configvalidate_mass_entity_configplace_mass_spawnerget_mass_statsdiagnose_navmeshget_gameplay_debugger_datastart_visual_logger_recordingstop_visual_logger_recordingquery_visual_logger_entriesclear_visual_logger_entriesget_bulk_asset_operation_statusbulk_asset_operationupdate_bt_nodesmove_bt_nodesremove_bt_nodescreate_learning_agents_setupstart_learning_agents_trainingget_learning_agents_training_statusstop_learning_agents_trainingcreate_ml_deformerget_ml_deformerstart_ml_deformer_trainingget_ml_deformer_training_statusadd_zone_shapebuild_zone_graphbind_smart_object_interactionquery_smart_objectscreate_gameplay_behavior_configbind_smart_object_gameplay_behaviorrender_asset_thumbnailadd_material_expressiondelete_material_expressionconnect_material_expressionsconnect_material_propertyset_material_expression_propertiesget_material_graphcompile_material
Project Identity
Engine identity is derived from the Unreal project's Config/DefaultGame.ini file, specifically:
[/Script/EngineSettings.GeneralProjectSettings]
ProjectID=E8AD341D43B90136652AFFA4D93F17B4
PUT /projects/:projectId no longer trusts a caller-provided ID by shape alone. The server resolves Config/DefaultGame.ini from the submitted projectPath, extracts ProjectID, normalizes it to the canonical 32-character lowercase form, and rejects the registration if the route projectId does not match.
If DefaultGame.ini cannot be read, if the section is missing, or if the ProjectID key is missing or invalid, the server logs the resolved file path plus the failure reason and rejects the dependent operation. There is no fallback ID generation.
MCP Tools
doctor
- Runs every setup check in one pass and returns
checkswith apass/warn/failstatus and, for anything that is not passing, thefixthat clears it - Covers engine installs under
UE_INSTALLS_DIRand whether UnrealBuildTool resolves in each, the MCPBridge descriptor beside the project or under an engine, the ProjectID inConfig/DefaultGame.ini, the registry file, a live bridge ping per registered editor, plugin/server version skew — read from what the ping answered, not from what the registration recorded — and whether an MCP client config names this server - Runs with no registered project and no engine installed — a setup that is broken everywhere is exactly when it is called, so no check is allowed to be a precondition for the rest
projectIdnarrows the bridge and version checks to one editor, and fails when nothing is registered under it;projectPathnames the project to resolve, falling back to a registration and then to the server working directory
get_project_id
- Accepts a project path from the MCP caller
- Derives
Config/DefaultGame.ini - Reads
[/Script/EngineSettings.GeneralProjectSettings] - Returns the canonical
projectId - Does not consult the in-memory registry
This is intended to let an MCP client resolve the canonical Unreal project identity from a known path before calling tools that require that ID.
add_module
- Accepts a
descriptorPath(a.uprojector.uplugin) and amoduleName - Scaffolds
Source/<moduleName>/next to the descriptor:<moduleName>.Build.cs,Public/<moduleName>.h, andPrivate/<moduleName>.cppwithIMPLEMENT_MODULE - Registers the module in the descriptor's
Modulesarray (Typedefaults toRuntime,LoadingPhasetoDefault) - Refuses to overwrite an existing module name or
Source/<moduleName>directory - Pure filesystem scaffold; it does not consult the registry or a running editor. Run project-file generation and a build afterward to compile the module.
list_registered_projects
- Returns every Unreal Editor currently registered with this server:
projectId,projectName,projectPath,host(always127.0.0.1),port,pid,registeredAt,lastSeenAt - Discovery entry point — call it before the project-scoped tools instead of guessing a
projectId - Default path performs no network I/O;
verify: truepings each returned entry once, concurrently, and addsreachable(plusreasonwhen unreachable) under an overall time budget - Bounded by
maxResults(default 50) withtotalCountandtruncated; ordering is stable across calls - Never mutates the registry —
ping_projectowns stale-registration eviction
ping_project
- Accepts a canonical
projectId - Looks up the registered Unreal engine bridge in memory
- Pings the bridge over localhost HTTP
- Retries with named constants:
maxRetries = 3initialDelayMs = 500retryMultiplier = 2.0
- Uses retry delays of approximately
500ms,1s, and2s - Removes the stale registration from memory and persists the cleanup if the bridge remains dead after retries
wait_for_job
- Blocks server-side until an async job reaches a terminal state, then returns the payload the matching
get_*_statustool would have returned understatus - Replaces a client-side poll loop for
kindbulk_asset(bulk_asset_operation),compile(trigger_live_compile/trigger_hot_reload),create_class,test_run,pie,package(cook_content/package_project/run_editor_commandlet), andsource_control(checkout_assets/refresh_source_control_status);kindis required because job ids are bare GUIDs outcomeiscompleted,timed_out(last observed status still returned), orunknown_job(unknown/expired/cancelled id, returned on the first poll)- Per-kind default budgets (bulk_asset 120s, compile 120s, create_class 60s, pie 30s, source_control 60s, test_run 300s), clamped to 600s; polls back off from 250ms (1s for test runs) and a transient bridge read timeout or dropped socket is retried rather than failing the wait
packageis a server-side child process, so waiting on one needs no registered editor — every other kind does- Emits
notifications/progresson each poll when the request carried a_meta.progressToken, and nothing when it did not - For
test_run,status.resultsis the first page — page the rest withget_test_run_statusandnextCursor
build_target / generate_project_files / clean_build
- Resolve the engine from the
.uprojectEngineAssociation(or an explicitengineVersion) underUE_INSTALLS_DIR - Spawn
UnrealBuildToolas a child process: on macOS/Linux the engine-bundleddotnetruns the UBT.dll(falling back todotnetonPATHif the bundle is absent); on Windows the.exeruns directly build_targetreturns pass/fail plus parsed error/warning diagnostics;clean_buildadds-Clean;generate_project_filesruns-Mode=GenerateProjectFilesbuild_target/clean_buildrefuse to run when the project's editor is registered and reachable (link conflicts on Windows, ignored output on macOS/Linux) — passforce: trueto override- Do not require a running editor
cook_content / package_project / run_editor_commandlet / get_package_status / cancel_package_job
- Resolve
UnrealEditor-Cmdand AutomationTool from the sameresolveEngineresult the build tools use, and take no new configuration. On macOS/Linux AutomationTool isRunUAT.sh(never theRunUAT.commandFinder wrapper). On Windows it isAutomationTool.dllrun under the engine-bundleddotnet(falling back todotnetonPATHif the bundle is absent), because Node cannot spawn a.batwithout a shell and routing these arguments throughcmd.exewould put project and archive paths through a command interpreter. That path builds the child environmentRunUAT.batwould have: the bundled runtime prepended toPATH,DOTNET_ROOT/DOTNET_MULTILEVEL_LOOKUP/DOTNET_ROLL_FORWARDset, and the Visual Studio variables a developer shell exports cleared so they cannot steer .NET resolution cook_contentruns a full offline cook (-run=Cook -TargetPlatform=<platform>,-CookAllor-Map=A+B);package_projectruns AutomationToolBuildCookRun(build + cook + stage + pak + archive)- Both return a
packageJobIdimmediately and run in the background — expect minutes to tens of minutes (default timeout 90 minutes, ceiling 2 hours). Poll withget_package_status, abort withcancel_package_job - One job at a time per project, and four across the server: a second job for the same project contends for the same
Saved/,Intermediate/and DDC paths, so it is refused rather than queued. Cancel the running one withcancel_package_jobif you need the slot get_package_statusreportsrunning/succeeded/failed/cancelled/unknown_jobplus structured cook/UAT diagnostics, an output tail that fills while the job runs, truncation flags, exit code and timing.kindis absent forunknown_job— a bare job id carries no kind.cancel_package_jobmarks the job cancelled but leaves itrunninguntil the process actually exits, so a caller cannot start a conflicting job while the old one is still writing. Diagnostics are collected by streaming the log as it is produced (cook errors are spread across the whole run, so a retained tail alone would lose them); the retained raw text is a tail and is cappedrun_editor_commandletruns one commandlet by name. Allowed: a name of identifier characters only (ResavePackages,FixupRedirects,DataValidation, …) plus arguments as separate argv entries — no shell is involved. Rejected: names with path separators, whitespace or switch prefixes, and arguments overriding-run=or-Project=. There is no allowlist of commandlets, so note that a commandlet can modify or delete project assetscook_content,package_projectandrun_editor_commandletrefuse to run while the project's editor is registered and reachable (a second editor process contends for the sameSaved/,Intermediate/and DDC paths, and write-capable commandlets race packages the live editor holds in memory) — passforce: trueto override
generate_buildgraph_script
- Writes a BuildGraph XML script for project CI, from the project (
projectPath, or the registeredprojectId), the targets UBT would see inSource/**/*.Target.csand the requestedplatforms(default: the host platform). Nodes: compile each Editor target for$(HostPlatform); per platform, compile each Game/Client/Server target, cook it and stage/pak/archive it (bothBuildCookRun); and run editor automation tests (UnrealEditor-Cmd -ExecCmds="Automation RunTests <filter>;Quit"; the trailingQuitmakes the editor exit non-zero when a test fails, which fails the node). AggregatesCompile All,Cook All,Package AllandBuild All UProject,TargetPlatforms(+-separated, limited to the generated platforms),Configuration,ArchiveDir,RunTests,TestFilterandTestReportDirare BuildGraph Options, so CI overrides them with-set:Name=Valuewithout regenerating. A project with no target files is treated as content-only: no compile nodes, and BuildCookRun packages the engine's prebuilt targets- The script goes inside the project —
Build/BuildGraph/<ProjectName>.xmlby default;outputPathmust end in.xmland resolve inside the project directory, also through symlinks. An existing file is replaced only withoverwrite: true - Values that land in the XML are attribute-escaped; paths are refused if they hold
$or%(BuildGraph or the shell the returned command is pasted into would expand them), a double quote, a backtick or control characters. The test filter is limited to the charactersAutomation RunTestsfilters use, so it cannot chain console commands - Returns
runCommand(RunUAT BuildGraph -Script=… -Target="Build All" -set:…) andlistOnlyCommand(the same plus-ListOnly), each as argv and as a line to paste into a shell.validate: trueruns the-ListOnlycheck through the AutomationTool runner the packaging tools use (synchronously, default timeout 10 minutes) and returns its exit code, error lines and an output tail. Horde deployment is out of scope
create_string_table / edit_string_table / get_string_table / import_string_table_csv / export_string_table_csv
- Authoring for String Table assets: create one (optionally with its text namespace), add or replace entries with their meta-data (e.g.
Comment), remove keys, change the namespace, and read it back sorted by key and paged - CSV goes through the engine's own string table importer and exporter — the format the String Table editor's Import/Export buttons use: a
Key,SourceStringheader with one extra column per meta-data id. Quotes and newlines in source strings survive the round trip import_string_table_csvparses into a scratch table first, so a CSV the engine rejects (noKeyorSourceStringcolumn) leaves the asset untouched.replace(default) clears the table as the editor does;mergekeeps entries the CSV does not name.contentover 16,384 characters is rejected, so the caller splits a larger CSV into row-wise chunks that each repeat the header: the first in the requested mode, the restmerge. The server does not split it. A record that alone exceeds the limit after CSV escaping cannot be imported;edit_string_tablecan set it only when its source string is at most 4,096 characters, so a longer one has no path through these toolsexport_string_table_csvreturns the CSV in chunks of up to 24,576 characters, fewer when non-ASCII text would overflow the frame; follownextCursor, passing back each page'ssnapshot, and concatenatecontent. A table edited between pages is refused withexport_changed; restart from cursor 0- Writes are one undoable transaction each and leave the asset dirty; save with
save_asset. A package that needs a source control checkout is refused, as for DataTables
run_localization / get_localization_stats
run_localizationruns a Localization Dashboard target's steps the way the dashboard does:UnrealEditor-Cmd <project> -run=GatherText -config=<scripts>with the target'sConfig/Localization/<Target>_Gather.ini,_Import.ini,_Export.ini,_Compile.iniand/or_GenerateReports.inijoined by;, always in that pipeline order (defaultgather+compile). It is arun_editor_commandletjob, so poll it withget_package_status(orwait_for_jobkindpackage) and cancel it withcancel_package_job- The scripts must already exist — the dashboard generates them; the tool never edits them, and names the targets that do have a gather script when one is missing. Unlike the other commandlet jobs it runs beside an open editor, as the dashboard does, because GatherText writes only
Content/Localization get_localization_statsreads the target'sGather.ini[CommonSettings](native culture, cultures, destination) and the newest row of the word count report (Content/Localization/<Target>/<Target>.csv) and returns per-culture word counts and percent translated, the conflict status (from<Target>_Conflicts.txt), and the manifest, archive, PO and LocRes paths with whether each exists
get_package_size_report
- Explains where a build's bytes go once a
cook_contentorpackage_projectjob has finished (or for anyprojectPath+platform). Returns the top-N assets by size, totals per asset type, and totals per chunk - Chunks are read from the archived build (
archiveDirectory, the job's-archivedirectory, orSaved/StagedBuilds/<Platform>): eachpakchunkN/globalcontainer set on disk, plus aloosechunk for everything outside a container, so the chunk totals always sum topackageSizeBytes. A cook job has no archive, so its size is theSaved/Cooked/<Platform>output (minus the cook'sMetadatafolder) - Asset sizes come from
UnrealPak -Listover every.pakand.utoc(compressed, per chunk; the cook'sCrypto.jsonis passed for encrypted containers). If UnrealPak is missing or any container fails to list, it falls back to the uncompressedSaved/Cookedfile sizes and says so inwarnings - Without an editor, asset types are only
World(a.umap) orUnknown. PassprojectIdof a running editor to type them from the Asset Registry (find_assets, the 40 heaviest content directories).explain: truealso walksget_asset_dependenciesreferencers from each top asset, counting only referencers that were themselves cooked, and returns the shortest chain to aroot— a cooked package nothing else in the cook refers to (a listed map, a primary asset, an always-cook entry)
analyze_trace
- Turns the
.utracethatstop_insights_tracehands back into a readable summary; the binary container is otherwise a dead end for an assistant - Runs the engine's
UnrealInsightsheadlessly (-OpenTraceFile=… -ExecOnAnalysisCompleteCmd=… -AutoQuit), exports CSVs into a temp directory, parses them, and deletes the directory on every exit path including timeout and analyzer failure - The analyzer is located through the same
resolveEnginediscovery as the build tools (engineVersionorprojectPath) — no new path configuration - Returns frame-time p50/p90/p99, the worst N hitches with timestamps, a CPU vs GPU split, and top-N scopes by inclusive and exclusive time. Every list is top-N, the response is byte-capped, and
truncatednames what was shortened - Memory and LLM-tag totals are not reported: they do not fall out of this analysis pass
- Distinct failures: a missing/unreadable
.utraceand an analyzer timeout or non-zero exit each raise their own error; an engine install with no Insights binary returnsstate: 'unsupported'with a reason instead of failing
get_config_value / set_config_value / list_config_section
- Read and write project ini settings through the running editor's config system rather than by touching files: the engine resolves the
Base*→Default*→Saved/Confighierarchy and the+/-/./!array operators, and a live editor rewrites its config on save, so a raw file write behind it is clobbered fileis a closed enum (Engine,Game,Input,Editor,EditorPerProjectUserSettings) — the tools cannot be pointed at an arbitrary pathget_config_valuereturns the resolved value, the ini it came from, andresolvedFrom(engine_base/project_default/saved_user), and reportspresent: falsefor an unset key so absent is distinguishable from present-but-emptyset_config_valuewritesConfig/Default<File>.iniby default (or theSaved/Configoverride withscope: 'saved_user'), flushes, mirrors the write into the merged runtime config so the live editor sees it without a restart, and returns the previous value. That previous value is the one the editor resolved across the whole hierarchy, not the contents of the layer being written: if it came from an engine or default layer, writing it back leaves the key materialised in the target layer rather than restoring the original state- Values longer than the protocol bound (4096 characters — reachable with asset path lists and accumulated
+Array=entries) come back shortened withvalueTruncated/previousValueTruncatedset, rather than failing the whole call list_config_sectiondumps one section as key/value pairs, sorted for a stable cursor and paged withnextCursor/totalCount/truncated- All three require a registered editor; without one,
set_config_valueexplains why instead of writing the file behind the editor's back
run_clang_tidy
- Reads the synced
compile_commands.jsonfrom the providedcompileCommandsDir - Spawns
clang-tidy(server-configured viaCLANG_TIDY_PATH, elsePATH) over the translation units and returns structured findings (file, line, column, check, severity, message) - Report only — does not apply fixes
list_actors / get_actor_details / get_current_level
- The read half of the level surface. All three answer about actors instantiated in the editor world — not the PIE world, and not assets on disk (
find_assetsremains the tool for those) - Every actor is identified by
actorPath—AActor::GetPathName(), e.g./Game/Maps/Test.Test:PersistentLevel.StaticMeshActor_3— carried alongside the displaylabel. The path is the only stable, unique, resolvable identifier; labels are neither unique nor resolvable, so never address an actor by one. The sameactorPathround-trips throughget_editor_state,list_actors, andselect_actors list_actorsfilters by class and by name substring, and pages withnextCursor/totalCount/truncated. Pages are trimmed by encoded bytes as well as by entry count, because actor paths vary wildly in length —totalCountstays authoritative when a page truncatesget_actor_detailsreports the actor's class, transform, folder, tags, components, and reflected properties, paging components and properties independently. Property values areExportText, the same formatget_cdo_defaultsemits andset_actor_propertyacceptsget_current_levelreports the loaded map's package name plus its streaming levels and World Partition state
spawn_actor / destroy_actor / set_actor_transform / set_actor_property / select_actors
- The mutating half. Every one of these runs inside a single
FScopedTransactionon the game thread, so one Ctrl+Z in the editor reverses the whole call — a batch of 64 spawns undoes as one step, not 64. The response reports thetransactionTitlethe batch collapsed into - All five take arrays and return per-item results (
{ index, ok, actorPath?, error? }) withsuccessCount/failureCount. One bad entry fails its own item and neither aborts the batch nor rolls back the transaction. The batch bound is 64 (BRIDGE_LEVEL_EDIT_MAX_BATCH), sized so the request also stays under the 64 KiB payload cap dryRun: truevalidates everything the real call validates — class resolves, actor exists, property path resolves and the value coerces — and reports what would change withstate: 'validated', opening no transaction and touching no world state- Mutations
Modify()the objects they touch and dirty their packages, sosave_dirty_packagessubsequently reports and persists them set_actor_transformtreats each oflocation/rotation/scaleas optional: an omitted component keeps its current value, so a move need not restate the rest. An entry naming none of the three is rejected rather than silently doing nothingset_actor_propertyaddresses a property on the actor (bHidden) or on one of its components (StaticMeshComponent.RelativeScale3D), and writes viaImportText_InContainer— the exact inverse of the reader, so a value read fromget_actor_detailsorget_cdo_defaultscan be edited and written back with no format translation.EditConstand non-editable properties are rejected with an explicit error rather than silently no-op'ingselect_actorssets the editor selection; an emptyactorPathsclears it, andaddToSelectionadds rather than replaces. It reports the resultingselectedActorCount- In a non-editor plugin build every one of these returns
state: 'unsupported'rather than failing
undo / redo
- Act on the editor's own transaction buffer — the same buffer Ctrl+Z and Ctrl+Y drive — and report the
transactionTitlethey acted on, orstate: 'nothing_to_undo'/'nothing_to_redo' - The head of that buffer may be a human's edit rather than the agent's, so check the returned
transactionTitlebefore assuming what was reversed
open_level / get_open_level_status
- Loading a map tears down and rebuilds the world, which runs far past the plugin's 5 s game-thread budget, so
open_leveldoes not load inline: it validates the request, schedules the load onto the next editor tick, and returnsstate: 'opening'with anopenLevelJobId. Poll it withget_open_level_status(orwait_for_job) until the state leavesopening dryRun: truechecks that the level package exists and reportsstate: 'validated'with no job — nothing was scheduled, so nothing is pollable- Unsaved changes in the current world are discarded unless
saveDirtyPackages: true, which saves before the teardown. There is no user in front of a bridge request to answer the editor's usual "save these?" prompt - Not undoable. Loading a map clears the transaction buffer, so
undocannot bring the previous level back - Actor paths do not survive a load: re-run
list_actorsagainst the new world rather than reusing paths from the old one - One load at a time per editor; a second request while one is running is refused with
open_level_in_progressrather than queued
get_source_control_status / refresh_source_control_status / checkout_assets / get_source_control_job_status
- The prerequisite for every asset write on a team project. Under Perforce or Git-LFS file locking a
.uassetstays read-only until it is checked out, so a write that skips this fails later at save time — several tool calls away from its cause get_source_control_statusanswers inline: it reads the provider's own state cache, which is a memory lookup rather than a server round trip. It reports theprovidername,enabled(is source control configured at all),available(is it currently connected), and one entry per requested path with astateofchecked_out_by_me,checked_out_by_other(pluscheckedOutBynaming the holder),marked_for_add,not_checked_out,not_in_depot, orunknownenabledis what separates "no source control configured" from "configured, and this file is simply not checked out". Those are never collapsed into one answer- A file the editor has never asked the server about reports
unknown, not a guess.refresh_source_control_statusis how it becomes a real answer. A path that resolves to no package on disk also reportsunknown, but carries anerrorsaying so — an unresolvable path never passes as a depot answer refresh_source_control_statusandcheckout_assetstalk to the source control server over the network, which runs far past the plugin's 5 s game-thread budget, so neither runs inline: each returnsstate: 'accepted'with asourceControlJobId. Poll it withget_source_control_job_status, or wait withwait_for_jobusingkind: 'source_control'- The poll reports
successCount/failureCountand one result per file with its post-operationstate, so a checkout is confirmed without a second query. One asset the provider refuses does not abort the rest — it reportsok: falsewith its ownerror - Checkout only. Submitting is never done for you, and a checked-out asset stays checked out until a human submits or reverts it
- A request against an editor with no provider configured is refused with
source_control_disabled, and one against a configured-but-offline provider withsource_control_unavailable. Neither degrades into a filesystem check - In a non-editor plugin build all four report
state: 'unsupported'and schedule nothing
read_data_table / write_data_table_row
- A DataTable is where a project keeps its tuning data, and it is a binary
.uasset—find_assetscan locate one but nothing can read it off disk, so these are the only way in.read_data_tableloads the asset and reports the row struct it is typed on, an ordered column list ({ name, type }, using the same type renderingget_class_reflectionemits), and each row as a column-name-to-value map - Values are
ExportText, the same formatget_actor_detailsandget_cdo_defaultsemit andset_actor_propertyaccepts, so a value read here writes straight back with no translation. Column names are the authored names, so a Blueprint (user-defined) row struct reports the names the editor shows rather than its mangled internal ones - Rows page in name order —
RowMapiteration follows hashing, which shifts as rows are added, so a cursor over it would skip or repeat rows between pages. Pages are trimmed by encoded bytes as well as bymaxRows, because one row of a wide tuning struct can cost more than a whole page of asset entries;totalRowCountstays authoritative when a page truncates loadIfNeeded: falserefuses to load an unloaded table and reportsasset_not_loaded. Unlikeget_blueprint_summarythere is no metadata-only fallback: a DataTable carries no Asset Registry tags describing its rowswrite_data_table_rowupserts or deletes one row. Every column name and value is validated against the row struct before anything is written, into scratch memory that is only copied in once the whole row imports, so a rejected write leaves the table byte-identical — there is no partial application. An unknown column reportsunknown_columnand lists the valid ones; a value that will not parse reportsinvalid_row_valueand names the field and its type- Numeric and boolean values are range-checked before
ImportTextrather than after: the engine's importer takesnot-a-numberas0and reports success, and silent coercion is exactly the failure a tuning-data write cannot afford - The write runs inside a single
FScopedTransaction(Ctrl+Z reverses it) and marks the package dirty without saving — compose withsave_dirty_packages.dryRun: truevalidates everything and reportsstate: 'validated', opening no transaction - Deleting a row that does not exist is not a failure: it reports
rowExisted: falsewith an explanatory message, because the table is already in the requested state - A
.uassetsits read-only on disk until it is checked out under Perforce or Git-LFS file locking. That case is detected before anything is mutated rather than surfacing later as an unexplained save error. Where a provider is configured the answer comes from the provider itself —source_control_checkout_requiredfor a file that is simply not checked out,source_control_checked_out_by_othernaming the holder when someone else has it — and only where none is does it fall back to the on-disk read-only check. Fix either withcheckout_assets - In a non-editor plugin build
read_data_tablefails withunsupportedandwrite_data_table_rowreturnsstate: 'unsupported'
export_data_table / import_data_table
- The bulk half, built on the engine's own JSON and CSV serializers rather than the per-row walk above
export_data_tablereturns the serialized table in chunks by character offset, because the engine produces one string rather than anything row-addressable. Concatenate chunks innextCursororder to reassemble; a single chunk is not valid JSON or CSV on its own. Chunks are cut by encoded byte cost and never inside a surrogate pairimport_data_tablereplaces every row — that is what the engine's importer does, so a row absent from the content is a row deleted. Usewrite_data_table_rowto change one value. It runs in one transaction and dirties the package without saving, exactly like the per-row write- Rows the importer rejects come back in
problemswhile the rest still apply, so checkproblemCounteven on success.dryRun: trueruns the import against a transient duplicate and reports the resulting row count and problems without touching the real table - The whole payload travels in one 64 KiB bridge frame, so
contentis capped atBRIDGE_DATA_TABLE_MAX_IMPORT_CHARS(16 K characters, sized so worst-case UTF-8 expansion still fits). A table larger than that cannot be imported this way
create_data_table / rename_data_table / delete_data_table / rename_data_table_row
- The lifecycle half: the tools above all require a table that already exists, and until these landed nothing could make one over the bridge
create_data_tablebinds a row struct at creation and never after —UDataTable::RowStructcan be reassigned, but that reinterprets existing row memory through the new layout, so the bridge does not expose it. Native structs are addressed as/Script/<Module>.<Struct>, a Blueprint struct by its object path; anything that is neither anFTableRowBasechild nor a user-defined struct reportsinvalid_row_structrather than producing a table that accepts no rows. The new table is dirty and unsaved, like every other DataTable writerename_data_tablerenames, moves, or both — one operation to the asset tools. References from other assets are fixed up and a redirector is left at the old path, so existing hard references keep resolving.newNamemust be a bare asset name: one carrying a path separator is refused rather than silently relocating the asset somewhere the caller never nameddelete_data_tableis the one DataTable tool with no transaction behind it — asset deletion is not undoable, and there is no dirty-package step to reconsider at. A table other assets reference is refused withasset_referencedand its referencers reported;forcedeletes anyway and breaks themrename_data_table_rowkeeps the row's position and values, which an upsert-under-the-new-name plus a delete-of-the-old does not: that pair costs two transactions and moves the row to the end. It refuses a missing row (row_not_found) and a name already taken (row_already_exists), since renaming onto an existing row would discard that row's values. Row names are how other assets address rows, so a rename breaks anyFDataTableRowHandlepointing at the old name — nothing fixes those up- Rename and delete both need referencer data, which is only trustworthy once the Asset Registry's initial gather has finished — mid-scan
GetReferencersreturns a short list that reads as "nothing depends on this". Both drive the scan to completion first (starting it when a headless editor never did), and reportasset_registry_scanningonly if it is still incomplete afterwards. On a large project that wait can be long enough to hit the bridge read timeout
list_asset_factories / create_asset
- Everything in the Content Browser's Add menu is backed by a
UFactory, so one discovery tool plus one creation tool cover the whole menu rather than a tool per asset type list_asset_factoriesenumerates every factory that can create new assets (CanCreateNew()andShouldShowInNewMenu()), reporting the factory class, the asset class it produces, its menu category, and the required options — the object or class properties a factory would otherwise pop a modal picker for. Filter withnameFilter; results page bynextCursorcreate_assetgoes throughIAssetTools::CreateAsset, never the Content Browser'sCreateAssetWithDialog, and never callsUFactory::ConfigureProperties. A modal window opened from a bridge request would block the editor with nobody to answer it- A factory that needs configuring is configured from
optionsinstead: each key is a reflected property on the factory (ParentClassfor a Blueprint, for example) set on a fresh factory instance, never on the CDO. A factory whose required options were not supplied is refused with their names rather than producing something the caller did not ask for - The new asset is dirty and unsaved — compose with
save_asset
duplicate_asset / rename_asset / move_asset / delete_asset / save_asset / create_folder / get_asset_metadata
- File-level content management.
find_assetslocates assets andget_asset_dependenciesdescribes them; these are what reorganize them - Rename and move both go through
IAssetTools::RenameAssetsrather than moving packages by hand: that is what fixes up referencers and leaves the redirector the engine expects, so existing hard references keep resolving - Writes are refused outside
/Game. Engine and plugin content is not the project's to reorganize, and a rename there silently breaks every project sharing the engine install delete_assetqueries referencers first and refuses with their names rather than leaving them pointing at nothing;forcedeletes anyway. There is no transaction behind it — asset deletion is not undoablesave_assetsaves without prompting (the prompting variants can open a modal). A package that was already clean reportssaved: falseas a success, not a no-op errorcreate_folderreportsstate: 'exists'rather than failing when the folder is already there, since that is the state the caller wanted. A content folder is an Asset Registry entry until something is saved into it, so an empty one does not survive an editor restart — the response says soget_asset_metadataanswers from the Asset Registry'sFAssetDataand never loads the package: class, package name and path, on-disk size, and the registry tag map — which carries a Blueprint's parent class, a texture's dimensions, a DataTable's row struct.loadedreports whether it happens to be in memory already;falseis normal
validate_assets
- Runs
UEditorValidatorSubsystem— the Content Browser's Validate Assets — onassetPathsand/or every asset underfolderPaths(recursiveby default), so the project's own validators run alongside each asset'sIsDataValid - Each entry is
valid,invalid,not_validated(no validator applies),skipped(cooked, or under a directory the project's Data Validation settings exclude) ornot_found, with that asset'serrorsandwarnings. At most 10 of each are kept per asset, each cut to 512 characters;messagesTruncatedsays when that happened - Validation loads every asset it checks, so only the requested page is validated: results are sorted by object path and paged by
cursor/maxResults(default 20, max 50) withtotalCountandnextCursor. A page can also end early to stay inside the frame budget — follownextCursoruntil it is absent - Fails with
unsupportedwhen the Data Validation subsystem is not available (the plugin is disabled, or no editor is running)
list_graph_nodes / add_graph_node / remove_graph_node / connect_pins / disconnect_pins / set_pin_default / list_available_nodes / layout_graph / add_graph_comment / insert_reroute_node / collapse_graph_nodes
- Blueprint graph authoring.
get_blueprint_graphreads a graph; these write to one, and they work on anyUEdGraph— an event graph or function, an Animation Blueprint AnimGraph, a Material graph - Nodes are addressed by GUID, never by index. A graph's node array reorders on every edit and recompile, so an index read a moment ago can name a different node by the time it is written back.
nodeIdfromlist_graph_nodesis what every other tool here takes.list_graph_nodesis the only read here, so it is the only one that takesloadIfNeeded; the write tools need the asset in memory regardless add_graph_nodebuilds the node throughFGraphNodeCreator, so it allocates its own pins and gets the schema's default wiring.kindpicks how it is addressed:classby node class,functionby member name and parent class,variable_get/variable_setby variable. It returns the placed node with its pins, so the caller can wire it without a follow-up readconnect_pinsasks the schema'sCanCreateConnectionbefore connecting, so an illegal wire comes back with the schema's own refusal text rather than a generic failure after the factset_pin_defaultrefuses an output pin and a pin that is already connected — a connected pin takes its value from the wire, so a literal there would be stored and then ignored. The stored value is validated after the write and the previous literal restored if the schema rejects itlist_available_nodesanswers fromFBlueprintActionDatabasefiltered by this graph's context, so what it lists is what the graph would actually accept rather than every node class the editor knows aboutlayout_grapharranges a Blueprint graph so no two nodes overlap: exec flow is layered left to right from each event, a branch fans its successors out downward, and pure nodes sit in the column left of the node that consumes them. Comment boxes are left where they are. It is one undo step. Node sizes are estimated from the title and pin labels, because the rendered size belongs to a Slate widget that exists only while the graph is open in an editor tabadd_graph_nodewithautoLayoutmoves only the new node: frompositionit slides down until it overlaps nothing, and with nopositionit starts just right of the existing nodes. The response reports where it landed. Relaying out the whole graph on every add would move nodes the caller already reasoned aboutadd_graph_commentframes a node set in a comment box with the editor's 50-unit margin, sized from the same estimated node sizeslayout_graphuses.insert_reroute_nodeputs a knot on an existing wire the way double-clicking it does, and the knot takes the wire's type. Both are one undo stepcollapse_graph_nodesis the editor's Collapse Nodes (mode: 'graph') or Collapse to Function (mode: 'function'), reimplemented without the Blueprint editor toolkit, which those commands need open. Every wire crossing the set's boundary is threaded through the new node's pins.functionrefuses events, latent nodes and a set with more than one exec wire in or out — the same checks the editor runs. Anameis used exactly or refused withname_unavailable. The whole collapse, function graph included, is one undo step- Every edit marks the Blueprint structurally modified and leaves it dirty and uncompiled — compose with
compile_blueprintandsave_asset
set_viewport_camera / focus_actors / set_view_mode / toggle_show_flags / high_res_screenshot
- Level viewport control, all targeting the active level editing viewport — the one a human would be looking at
set_viewport_cameratakes every field optionally, so a caller can change the rotation without restating a location it does not want moved.orthoWidthis only meaningful for an orthographic projection, and a perspective viewport reports it absent rather than as a zero that reads like a widthfocus_actorsframes the given actors in the active viewport only, so focusing does not yank every open viewport to the same placetoggle_show_flagsreads each flag back after setting it rather than echoing the request: a flag the renderer forces cannot be turned off, and the caller should see that. A name that does not resolve comes back with near matches — the engine's flag names are CamelCase and easy to guess wronghigh_res_screenshotqueues the capture for the next rendered frame, so the reportedfilePathis where the file will be, not proof that it is there.includeUicannot be combined with a multiplier above 1: the high-resolution path renders the scene alone.fileNameis a name and not a path — the capture always lands under the project’sSaved/Screenshots, and a separator or..in the name is refused rather than followed
duplicate_actor / attach_actor / add_actor_component / set_actor_tags / move_to_folder / place_asset / replace_actors
- The level authoring surface beyond spawn and destroy. Each opens a single
FScopedTransactionaround the whole batch, so Ctrl+Z reverses the call as one Undo History step, and a per-item failure is reported in the result without aborting the rest attach_actorwith an emptyparentActorPathdetaches; the location, rotation and scale rules map ontoEAttachmentRuleso a caller gets the same choice the editor offers rather than one hard-coded behaviourplace_assetgoes through the actor factory the engine picks for the asset, which is what turns a Static Mesh into anAStaticMeshActorand a Blueprint into an instance of its generated classreplace_actorspreserves each actor's transform, label and attachment, which spawn-then-destroy does notdryRun: truevalidates every entry and reportsstate: 'validated'without opening a transaction- Every one of these dirties the level without saving — compose with
save_dirty_packages
build_lighting / build_navigation / build_hlod / build_reflection_captures / build_geometry / build_texture_streaming / build_virtual_textures / precompute_visibility / get_build_job_status
- The editor's Build menu. A build runs for minutes to hours and blocks the game thread while it does, so none of these run inline: each returns
state: 'accepted'with abuildJobId. Poll it withget_build_job_status, or wait withwait_for_jobusingkind: 'build' - One build at a time. A second request while one is running reports
state: 'busy'with the running job's id rather than racing two builders over the same level's build data - Failures are reported faithfully. Lightmass and Swarm log the reason nothing was built and still return success, so the job captures the editor log for the duration and reports those errors verbatim — a failed build ends as
failedwith its own error text, never as succeeded-with-warnings - A build interrupted by the bridge shutting down reports
cancelled, not arunningstate that never resolves build_hlodtakes anhlodActionbecause clusters and proxy meshes are separate passes in the editor and a caller usually wants one of them
create_gameplay_tag / list_gameplay_tags
- Gameplay tags live in
.inifiles rather than in an asset, so declaring one is a config write create_gameplay_taggoes through the GameplayTags editor module rather than writing the ini directly, which is what registers the tag with the running manager as well as persisting it — a hand-written ini would need an editor restart to take effect. It reports which config file the declaration landed in, so it can be put under source control- A tag that already exists reports
state: 'exists'and writes nothing list_gameplay_tagsreports declared tags rather than every parent a declaration implies, soAbility.Fire.Boltdoes not also listAbilityandAbility.Fire. Filter withprefix; results page bynextCursor
create_landscape / sculpt_landscape / paint_landscape_layer
- Height and weight data never travels over the wire. A 505×505 landscape is a quarter of a million samples, which no 64 KiB bridge frame can carry, so sculpting is either described procedurally (
flatten,ramp,noise) or pointed at a heightmap file the editor host can already read create_landscapereports the vertex resolution, which is the coordinate space the sculpt and paint regions are expressed in- Heights are world-space centimetres, so a caller can ask for a 20 m ramp without knowing about the landscape's raw
uint16encoding or its 32768 midpoint heightmap_filemode reads raw 16-bit little-endian data — what the landscape import dialog reads and what every terrain tool exports. A file whose size does not match the region is refused with both sizes rather than producing garbage terrainnoisetakes a seed, so the same request twice produces the same terrain and a caller can raise the amplitude without the shape moving underneath thempaint_landscape_layernames the layers the landscape actually has when the requested one is missing, since a layer is only paintable once its material assigns it
run_geometry_script
- Procedural mesh authoring: a box minus a cylinder in one call. Each operation carries its own primitive rather than referring to a mesh stack, so a boolean does not need three calls to set up
- Built on the engine's own GeometryCore and DynamicMesh modules rather than on the Geometry Script plugin's Blueprint library — the same operations that plugin wraps — so it works whether or not that plugin is enabled
output: 'static_mesh'creates aUStaticMeshasset (dirty and unsaved, like every other asset write here);output: 'dynamic_mesh_actor'spawns anADynamicMeshActorthat lives in the level and in no asset. Supplylabelwith a static mesh output to also place it- A boolean that produces a non-manifold result is reported as a geometric failure with the operation index, not swallowed: overlapping or open input geometry is the usual cause
list_data_layers / set_data_layer_state / load_wp_region
- World Partition. On a partitioned map most actors are unloaded most of the time, which is why
list_actorsthere answers about what is in memory rather than about what the level contains list_data_layersreportsisWorldPartition, so an empty list on an ordinary map reads as "there are none" rather than "none are loaded"set_data_layer_statechanges runtime state, editor loading and editor visibility independently, since they are three separate things in the editor. An editor-only data layer asked for a runtime state is refused rather than silently ignoredload_wp_regionpins a bounding box into the editor through a loader adapter — the same mechanism the World Partition window uses when a human drags a loading region — and reports how many actors that brought into memory. The load is synchronous, so a box covering a large part of a big partitioned map blocks the editor while it runs: pin the area being worked on, not the whole world- Pins are held by the bridge and released on
unpin_all, and every pin is released when the bridge shuts down, so a session cannot silently accumulate loaded actors nobody can name any more
get_asset_property / set_asset_property / array_property_op
- The asset-side counterpart to
get_actor_details/set_actor_property: reflected reads and writes against an asset on disk rather than an actor in a level - Values cross the wire as ExportText, the exact spelling the reader reports and the writer takes back, so a value read from one asset can be written straight into another without translation
propertyPathwalks structs, array elements and object references (Modifiers[1].Magnitude), and anFPostProcessSettings-style field also sets itsbOverride_sibling — a write that skipped it would report success and change nothing anyone can see- A Blueprint asset resolves to its class defaults, which is what the Class Defaults panel edits, rather than to the
UBlueprintbookkeeping object that carries none of the user's properties array_property_opexists because an array cannot be written as one exported string without knowing the whole array. It reportselementCountafter the operation, and an out-of-range index is refused before the transaction opens so a rejected request leaves no undo entry behind- Every write leaves the package dirty rather than saving it, so a run of edits is one
save_asset
create_struct / create_enum
- User-defined types, authored through the engine's own
FStructureEditorUtils/FEnumEditorUtilsrather than by writing the asset — those utilities are what recompile every Blueprint that already referenced the type - Field and variable types share one type grammar with the Blueprint tools: a
kind, an optionalcontainer(array,set,map) and asubtypenaming what the kind points at. A kind that names something in the project without a subtype is refused, because UE would otherwise produce a wildcard pin - A fresh struct or enum arrives with one placeholder member so the asset is valid on disk; the requested members are added first and the placeholder removed afterwards, since neither utility will remove the last one
rebuiltAssetsreports what the editor recompiled because the type changed underneath it — empty for a brand-new type, which has no dependents yet
create_blueprint / add_bp_variable / add_bp_function / add_bp_event / add_bp_component / add_bp_interface / set_bp_default
- Blueprint authoring, the write side of
get_blueprint_summary/get_blueprint_graph. Every call leaves the Blueprint compiled and its package dirty: an uncompiled Blueprint reports the old member list to every reader, which makes the next tool call wrong create_blueprintreports the generated class path (/Game/BP/BP_Foo.BP_Foo_C), which is whatspawn_actorand every class reference take — not the asset pathadd_bp_variablecarries replication:rep_notifyalso authors theOnRep_handler graph, because aCPF_RepNotifyvariable whose handler does not exist fails to compileadd_bp_eventdistinguishesoverridefromcustom. An override takes its signature from the parent, so declaringinputson one is refused rather than silently discarded- Batched calls report per entry: one variable that fails to resolve its type does not abort the other thirty-one
set_bp_defaultwrites the same reflected valuesset_asset_propertydoes, against the generated class's CDO
batch_edit
- The one level tool that is all-or-nothing. Every other batch reports per-item failures and keeps going; this one cancels its transaction on the first failure and leaves the level exactly as it was
- That is the point: ops address actors earlier ops created. A
spawnbinds a caller-suppliedhandle, and a later op addresses it ashandle:<name>— a half-applied batch would leave the level in a state nobody described - Ordered and heterogeneous: spawn, place, transform, set a property, attach, tag and destroy in one call, inside one
FScopedTransaction, so a human presses Ctrl+Z once handlesreports what each handle bound to, so the new actors are addressable afterwards. A rollback reportsfailedIndexandfailedErrorand no handles, because none of them exist any moredryRunvalidates the shape of the batch only. An op addressing a handle can only be checked once the spawn that binds it has run, so anything further is a promise this call cannot keep
import_asset / reimport_asset / set_import_settings / get_import_job_status
- Source asset import. An FBX of any real size runs far past the game thread budget, so both mutating requests return
state: 'accepted'with animportJobId. Poll it withget_import_job_status, or wait withwait_for_jobusingkind: 'import' pipeline: 'auto'lets the editor route the file — Interchange first, legacy factory where there is no translator, which is the engine's own behaviour.'interchange'is refused up front for a file no translator claims, rather than quietly running the legacy factory instead;'legacy_factory'names the factory explicitly so Interchange cannot take over behind the caller's back- Job results are per source file, and each one lists every asset it produced: a skeletal mesh import yields a mesh, a skeleton and a physics asset, and a caller that only heard about the mesh would leave the rest unreferenced
set_import_settingsstores a named preset. It is applied to the import factory that claims each source file, so a key that factory does not have is a request error rather than something dropped on the floorget_import_job_statusis exposed as its own tool because the accept-then-poll shape needs somewhere to poll; it is not one of the tools the issues named, and it exists only to serve them
create_blackboard / set_blackboard_keys
- Blackboard assets, the data half of a Behavior Tree
- An
object,classorenumkey must name its base type. Without it the key still appears in the editor and never matches anything at runtime, which is the failure these tools exist to prevent - Inherited keys are counted and reported separately from local ones: a key that comes from the parent blackboard is not one this asset owns, and adding a local copy of it is exactly the mistake the split prevents
set_blackboard_keyswithmode: 'replace'drops the local keys only — an inherited key belongs to the parent asset and is not this request's to remove
create_eqs_query
- Environment queries: one generator plus its tests, each with its own
purpose(filter,score, or both), since a failing test either removes an item or merely scores it down - Generator and test classes are resolved and their parameters written by reflection before the asset exists, so a typo leaves nothing behind in the content browser
eqsEnabledreports whether the Environment Query editor is switched on. With it off the asset is still valid and still runs, but nothing in the editor will open it — reported rather than failed, and the response names where to turn it on (Editor Preferences → Experimental → AI → Environment Query Editor)
create_state_tree / add_state_tree_state
- StateTree assets and their states.
supportedVersionsis reported on every answer, so an editor this plugin build cannot author StateTrees for says so instead of failing somewhere inside the compiler - The schema decides which tasks and conditions the tree may hold at all, so an unresolvable one is refused before the asset exists
- Tasks and enter conditions are script structs, not classes, and are addressed as such; their parameters are written into the instanced struct's own memory by reflection
add_state_tree_statecompiles by default and reportscompiledseparately from the per-state results: a tree that was authored but not compiled reportsfalsewith no messages, which is a different thing from one that failed to compile
bind_state_tree_properties
- Binds a task, condition, evaluator or global task input (addressed by the node id
get_state_treereports and a dotted property path) to a schema context object, a tree parameter, or an evaluator, global task or earlier task property. A context source with no path binds the object itself, which is how MoveTo'sTargetActortakes the contextActor - A source is only accepted from what the engine says the target can see, and the two property types are checked with the compiler's own compatibility rules before the tree is touched, so a mismatch is a per-item error rather than a broken compile. Indexed paths (
Points[2]) are refused unbind: truein place of a source removes a binding. The tree recompiles by default and the compiler's messages come back verbatim
draft_state_tree_from_behavior_tree
- Reads a Behavior Tree with
get_behavior_treeand authors a new StateTree from it throughcreate_state_tree,add_state_tree_state,get_state_treeandupdate_state_tree_elements; the Behavior Tree is never edited - Selector and Sequence composites become states selecting their children in order; a child hands off to its next sibling on failure (Selector) or success (Sequence), and a last child's completion bubbles to its parent. The top-level state loops back onto itself, because a StateTree stops where a Behavior Tree restarts
- Tasks become empty states and services are not converted. Blackboard decorators with a StateTree condition equivalent need bindings, so they are only authored with
includeConditionsNeedingBindings; otherwise they are reported with the condition to add, keeping the draft compilable - Everything that did not carry over is listed in
unmappedwith a reason and a suggested replacement
import_nne_model / get_nne_runtimes
import_nne_modelimports an.onnxfile as an NNE Model Data asset through the engine's own ONNX importer, optionally restrictingtargetRuntimes, and leaves it dirty forsave_asset- Both report the registered NNE runtimes with the interfaces each implements (
cpu,gpu,npu,rdg). Given a model, every interface is asked whether it can load it, and the runtimes that can are listed incompatibleRuntimes - Runtimes come from optional plugins such as NNERuntimeORT. With none enabled the answer is
available: falseand anunsupportedReason, not an error; the import itself still works - A runtime the model's
targetRuntimesleaves out is reportedtargeted: falseand is not asked, since it builds no data for the model - Inference is out of scope
create_chooser_table / evaluate_chooser_table
- Backed by the
Chooserengine plugin through theMCPBridgeChooseradd-on (see Add-ons). Until that add-on is enabled, these tools are hidden create_chooser_tablebuilds a table with one context parameter (contextClass),bool,float_rangeandenumfilter columns bound to its properties (dotted to reach into a struct), rows that each return an asset, and an optionalfallback- Every binding is resolved against the class and every enum cell against the property's enum before anything is created, so a typo fails the call instead of leaving a column that never matches. Rows are in priority order: the first whose cells all pass wins
evaluate_chooser_tableruns the table against a context object the way a Blueprint's Evaluate Chooser node does and returns the selected asset, ornullwhen nothing matches and there is no fallback- Proxy tables are out of scope
create_game_feature_plugin / add_game_feature_action / list_game_feature_actions / remove_game_feature_action / get_game_feature_state / set_game_feature_state / get_game_feature_transition_status
- Backed by the
GameFeaturesandModularGameplayengine plugins through theMCPBridgeGameFeaturesadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden create_game_feature_plugindoes what the editor's content-only Game Feature template does:Plugins/GameFeatures/<pluginName>/<pluginName>.upluginwithExplicitlyLoadedandBuiltInInitialFeatureState(initialState, defaultactive), mounted without a restart, and a saved GameFeatureData asset at/<pluginName>/<pluginName>. It then starts taking the feature to its initial state and returns that transition'stransitionId- Only the project's own game features are touched. Engine and Marketplace plugins are refused with
not_a_project_plugin, and plugins outside a GameFeatures folder withnot_a_game_feature add_game_feature_actionwithadd_componentsappends a GameFeatureAction_AddComponents.actorClassmay be abstract but notAActoritself (the component manager refuses it),componentClassmust be concrete, and every class is resolved before the asset changes. The engine applies it only in game and PIE worlds, only to actors registered as GameFrameworkComponentManager receivers, and only while the feature is active; an action added to an active feature applies from the next activationadd_input_mappinganswersstate: 'unsupported': no supported engine version ships a Game Feature action for input mapping contexts- Each action has an
actionId, its object name inside the GameFeatureData, returned byadd_game_feature_actionandlist_game_feature_actions. It survives save, reload and edits to other actions, soremove_game_feature_actiontakes it rather than a position; an unknown id fails withaction_not_found. An action whose class is no longer in the project loads as an empty slot, listed withactionId: null;removeBrokenActions: true, given instead ofactionId, removes all of them and reportsremovedCount(0 when none are broken) - Action edits are saved immediately, since plugin content is outside
/Game, wheresave_assetdoes not write set_game_feature_statestarts driving the feature through the GameFeatures subsystem and returns at once with atransitionId. A transition takes several editor frames and a bridge request runs inside one, sooutcomeis normallypending; it iscompletedstraight away when the feature is already at the targetget_game_feature_transition_statusreports a transition'soutcome(pending,completed, orfailedwith the engine'serror), itstargetStateandreachedState, andstartedAt/finishedAt. The editor keeps the last 64 transitions until it restarts; an id it no longer has fails withunknown_transition- Custom action classes are out of scope
create_pose_search_schema / create_pose_search_database / get_pose_search_asset / build_pose_search_index
- Backed by the
PoseSearchengine plugin through theMCPBridgePoseSearchadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden create_pose_search_schemasets the skeleton, an optional mirror data table, the sample rate andtrajectory/posechannels with per-sample and per-bone flags and weights; omittingchannelstakes the engine's default pair. Bone names are checked against the skeleton first, and the result reports the finalizedcardinalitycreate_pose_search_databaseadds animation sequences, blend spaces, anim composites and montages with optionalsamplingRange,mirrorandenabled. Type, skeleton compatibility, range and the mirror table are checked for every entry before the asset is createdget_pose_search_assetpages a schema's channels or a database's animation entries withcursor/maxResults(default 100, at most 256); a page may hold fewer to fit one response,nextCursoris set while entries remain andtotalCountis the full countbuild_pose_search_indexblocks until the index is built and returnsstatebuiltwithposeCount,segmentCountandcardinality, orfailed; either wayerrorsandwarningscarry whatLogPoseSearchreported during the build- AnimGraph Motion Matching node setup is out of scope
create_control_rig
- Creates a Control Rig for a skeletal mesh the way the editor's Create Control Rig action does (bones and curves imported, the mesh set as preview), then adds controls through the rig hierarchy controller and wires them into the Forwards Solve graph
- FK: each
fkControlsentry gets a transform control at its bone's rest pose, parented under the nearest listed ancestor's control, whose global transform is copied onto the bone - Two-bone IK: each
twoBoneIkentry adds<name>_effector_ctrlat the effector bone and<name>_pole_ctrlatboneB+poleOffset, feeding a Basic IK node.boneAmust beboneB's parent andboneBthe effector's, or the call fails withinvalid_ik_chain - The rig is compiled before the call returns. A rig that fails to compile, or a request naming a missing bone, leaves no asset behind
- Physics and deformer rigs are out of scope
create_physics_asset / get_physics_asset / edit_physics_bodies / edit_physics_constraints / place_physics_constraint_actor
create_physics_assetgenerates a ragdoll for a skeletal mesh through the same generator as the editor's Create Physics Asset action:geomType(capsule by default),minBoneSize,bodyForAll,createConstraintsandangularConstraintMode.bodyPhysicsTypesets every body tosimulatedorkinematicinstead of following the component.assignToMeshalso makes it the mesh's physics asset, refused for a mesh outside/Gameget_physics_assetreads each body (bone, physics type, mass, collision, shapes with their kind and index) and each constraint (child and parent bone, linear and angular limits, drives). Bodies and constraints page together on one cursor, and a page is cut short rather than overflowing the frameedit_physics_bodiesadds, resizes and removes sphere, box, capsule and tapered-capsule shapes, overrides or clears mass, and sets physics type and collision.edit_physics_constraintstakes the same limit and drive shapeget_physics_assetreturns, with every field optional. Both check every entry before writing, run as one undoable transaction, and leave the asset dirty forsave_asset. Engine content and packages needing a checkout are refusedplace_physics_constraint_actorjoins two actors (or one actor to the world) in the current level, optionally by component and bone, at the midpoint unlesslocationis given. It takes the same limit and drive settings, and reports whether each body simulates, since a joint between non-simulating bodies holds nothing- Chaos destruction is out of scope
create_level_sequence / add_sequence_binding / add_sequence_track / add_sequence_keys
- Sequencer authoring. Every time on this surface is explicit, because a sequence authored at the wrong rate is silently wrong rather than broken
- Frame rates cross the wire as the exact rationals Sequencer stores — 30000/1001 is not 29.97 — and
create_level_sequencereports back bothdisplayRateandtickResolution, since every frame number inadd_sequence_keysresolves through them add_sequence_keysrequirestimeUnit:'frames'resolves through the display rate and'seconds'through the tick resolution. It reportsresolvedFrames, which is the number that proves a seconds-based request converted correctly on a non-default rate- A
possessablebinding names an actor in the level; aspawnableone needs a template, so it takes an actor to copy or a class to instance - A
camera_cuttrack belongs to the sequence itself; every other kind belongs to a binding, sobindingIdis required for them. Apropertytrack is typed by the property it drives — bool, float and double properties are animatable, and anything else is refused rather than animated as the wrong type
add_foliage_type / paint_foliage
- Foliage types and instance placement
mode: 'explicit'places the transforms the caller supplies.mode: 'region'is a rule the editor evaluates against the ground — density over an area, traced downward, filtered by slope — which is the only shape that scales to the tens of thousands of instances a real pass produces- A region takes a
randomSeed, so the same call twice produces the same scatter and a painted region is reviewable rather than a one-off attemptedCount,placedCountandskippedCountare reported separately: a placement whose downward trace hit nothing, or hit ground outside the slope limits, is skipped rather than placed floating.instanceCountis the foliage actor's total for that type afterwards, so density can be checked against something absolute
create_sound_cue / create_metasound / set_metasound_graph
- Audio authoring. Sound Cue nodes are addressed by caller-supplied ids, so connections can name nodes before the editor has created them
rootNodeIdmust name one of the nodes in the same request, and awave_playermust name the wave it plays — both are refused up front rather than producing a cue that plays silence- MetaSound documents are never written directly. The document format is versioned and migrated by the engine, so everything goes through
UMetaSoundBuilderSubsystem, which is the only supported way to author one from code set_metasound_graphdeclares interface members, adds nodes by their registered class name and connects them. A connection whose data types do not match is reported with the builder's own refusal rather than left as a silently dead edge
generate_lods / generate_collision / convert_to_nanite
- Static mesh optimization, all three through
UStaticMeshEditorSubsystemso the mesh's render data is rebuilt and every component already placed in a level refreshes with it - A mesh that is still compiling is refused rather than queued, because reduction settings written mid-build are overwritten by the build that was already running
- Triangle counts live in a mesh's render data, and reading that from the game thread finishes an in-flight build synchronously — which would spend the whole rebuild inside the request the editor is blocked on.
generate_lodsandconvert_to_nanitetherefore ask whether the mesh is still compiling first and reportrebuildPendinginstead of counts: LOD triangle counts come back empty and the Nanite counts zero while it is true generate_lodstakes one entry per LOD to build below the source mesh. LOD 0 is the mesh as authored and is never one of them, because the engine's own LOD array starts at the source mesh and reducing entry 0 would halve the full-detail mesh rather than add a level.screenSizegoes on every entry or on none: the engine computes the whole ramp or takes all of it from the requestgenerate_collisiontakes one of the engine's own simple shapes, orconvexfor a decomposition.primitiveCountreports the shapes the body setup actually holds afterwards, which for a convex decomposition is the hulls it produced —hullCountis what was asked for, not what came back.convexwithreplaceExisting: falseis refused, because the engine's decomposition clears the existing simple collision whatever it is asked to doconvert_to_nanitewritesfallbackPercentTrianglesandkeepPercentTrianglesseparately, because they are different knobs: one is the non-Nanite fallback mesh, the other is what Nanite itself keeps. Supplying the fallback percentage also switches the mesh's fallback target to Percent Triangles, without which the builder resets it — so it is written only when the request carries it, and a call that only toggles Nanite leaves a hand-tuned fallback alone.rebuildPendingis true where the mesh went back to compiling, so a caller knows the triangle counts it just read are provisional
set_texture_settings / set_static_mesh_build_settings
- Typed, bulk writes for the settings that otherwise sit behind generic property paths: up to 32 assets per call, and only the settings the request names change, so one field can be flipped across a folder without flattening the rest
set_texture_settingscovers compression (normalmap,masks,user_interface,hdr,bc7, …), LOD group (WorldNormalMap, or the fullTEXTUREGROUP_WorldNormalMap), sRGB,neverStream,maxTextureSizeandlodBias.set_static_mesh_build_settingscovers the per-LODFMeshBuildSettings: normal/tangent recompute, MikkTSpace, lightmap UV generation and channels, UV and tangent-basis precision, distance field resolution and build scale, for onelodIndexor every LOD- Each asset goes through
PreEditChange/PostEditChange, which is what makes the engine rebuild the texture's platform data or the mesh's render data — the same as editing the field in its asset editor — inside one undoable transaction savedefaults to true and saves each changed asset; a package that needs a source control checkout is refused as a failed item before anything is changed. Saving a mesh waits for its rebuild; withsave: falsethe rebuild finishes in the background andrebuildPendingsays so- The settings come back read from the asset after the write, because the engine can override a request: it drops sRGB for compressions that cannot store it
- Nanite, LOD reduction and collision stay with
convert_to_nanite,generate_lodsandgenerate_collision
create_material_instance / list_material_params / set_material_params / assign_material
- Material instance authoring. Parameter writes go through
UMaterialEditingLibrary, which also recompiles the instance's shader map — writing the override arrays by hand leaves the instance rendering with its old values list_material_paramsreportsoverriddenper parameter, which is the difference between a value the instance sets and one it inherits from its parent. A caller that cannot see that difference cannot tell a deliberate override from a defaultset_material_paramsrefuses a base material and says to make an instance first. Parameters on a base material belong to its graph, and writing them there changes every instance at once- A parameter name is checked against the ones the material declares, and a wrong one is answered with the names it does expose. The engine's own
Set*ParameterValuehelpers always report failure, so their answer cannot be the test assign_materialwith nocomponentNamewrites to the actor's root mesh component, and refuses rather than guessing where the root is not a mesh and several mesh components are below itassign_materialtargets either an actor component or a mesh asset. A slot name that does not exist is answered with the slot names that do, rather than with a silent no-op on an out-of-range index
add_material_expression / delete_material_expression / connect_material_expressions / connect_material_property / set_material_expression_properties / get_material_graph / compile_material
- Base material graph authoring. Create the material with
create_asset(factoryClass: 'MaterialFactoryNew'); a material instance has no graph and is refused withnot_a_base_material. Material functions and layers are not covered - An expression is addressed by its object name (
MaterialExpressionScalarParameter_0), which is unique in the material and survives save and reload.add_material_expressiontakes the palette's class name (TextureSample,ScalarParameter, …) and refuses function inputs/outputs and comments, which are not graph nodes of a material - Properties are reflected writes in ExportText (
Texture,ParameterName,DefaultValue,R,Constant, …). An add whose properties are refused is rolled back rather than leaving a half-configured node; writingTexturealso picks the matching sampler type, as dropping a texture on the node in the editor does - Pins are named as
get_material_graphreports them (or indexed); an unknown pin is answered with the pins the expression has. Connecting replaces whatever fed the input before and reports it asreplacedExpression - Every edit is one undoable transaction. Edits are refused with
material_editor_openwhile the Material Editor has the asset open, because it works on its own copy and would overwrite them on its next apply or save - Edits do not recompile;
compile_materialdoes, and returns the engine's error strings verbatim for every shader platform and quality level the editor compiled, with the expressions they point at.waitForShaders(default true) waits for shader compilation so shader compiler errors are included, not only graph translation errors
create_post_process_volume / set_post_process_settings / add_post_process_material
- Post process authoring. Every setting in
FPostProcessSettingsis ignored unless its siblingbOverride_<Name>bool is true, so each write sets both and reports the override flags it turned on inoverridesSet - The same tool writes a volume's settings or a camera component's, because the settings struct is the same one; only the property prefix differs
add_post_process_materialverifies the material's domain is Post Process and refuses a blendable-location mismatch rather than changing the material: the blendable location lives on the material asset, so silently rewriting it would change every volume already using it. The location it compares against is read through the material interface, so a material instance that overrides its parent's location is judged on the one it actually renders at- A bounded volume is given a cube brush sized by
extent, becauseAddActoralone spawns the actor and no geometry: without a brush the volume encompasses nothing and affects no view. Every axis has to be positive and defaults to 200: the engine's cube builder refuses a non-positive dimension and returns nothing a caller can see, so the volume would come back shapeless under a response claiming it was applied
create_input_action / create_input_mapping_context / add_input_mapping
- Enhanced Input authoring. An action's value type decides what triggers and modifiers make sense on it, so it is required rather than defaulted
- A key name is validated against the engine's registered key list, and an unknown one is answered with the closest matches rather than with a mapping that never fires
- Triggers and modifiers are instanced objects configured by class path plus params, which is the same shape the Enhanced Input details panel writes. A stack the engine refuses removes the mapping again rather than leaving a half-configured one
create_gameplay_effect / set_effect_modifiers / create_gameplay_cue
- Gameplay Ability System effects, authored as Blueprint classes the way the content browser creates them, so they are editable afterwards by a person
- Effect tags go on the engine's tag components (
UAssetTagsGameplayEffectComponent,UTargetTagsGameplayEffectComponent) rather than on the deprecated inline containers, which are ignored at runtime on every engine this plugin supports - A tag that is not registered is refused with the tool that registers it (
create_gameplay_tag) named, because an unregistered tag on an effect is silently inert set_effect_modifiersnames attributes asSet.Attribute, and a modifier op maps onto the engine's ownEGameplayModOp—multiplyisMultiplyAdditive, which is what the effect editor means by it
create_attribute_set / create_gameplay_ability
create_attribute_setwrites C++, because an attribute set has to be a native class: the accessor macros and the replication callbacks have no Blueprint equivalent. It writes a header and a source file, refuses to overwrite either, and reportstrigger_live_compileas the tool that makes them real- The generated class carries the target module's
_APImacro, without which another module that references the attribute accessors links against nothing. Its header includesAbilitySystemComponent.h, so a module whoseBuild.csdoes not already depend onGameplayAbilitiesis told to add it — the compile fails on the first include otherwise, and a retry is refused because the generated files are already on disk - A
classNamethat already names a loaded class is refused up front, for the same reason: the build would fail on a duplicate and leave the files behind create_gameplay_abilitywrites a Blueprint class underUGameplayAbilityand configures its policies, tags and cost/cooldown effects through reflection. Those members are protected on the engine class, and reflection reaches them without this plugin splitting on engine version
create_behavior_tree / add_bt_node / add_bt_decorator / add_bt_service
- Behaviour tree authoring. A behaviour tree's runtime is generated from its editor graph, so authoring one means authoring the graph — writing the runtime nodes directly produces a tree the editor immediately overwrites
- Child order is positional in the graph, so
childIndexbecomes a node position and the graph's own child ordering is rebuilt from it. That is the same thing dragging a node left or right in the editor does - Decorators and services are subnodes of the node they guard, not siblings.
inverseon a decorator setsbInverseCondition, which is the editor's "Not" checkbox - Every successful batch ends with the graph regenerating the runtime tree, reported as
runtimeTreeRebuilt, because a tree whose graph and runtime disagree runs the old behaviour
update_bt_nodes / move_bt_nodes / remove_bt_nodes
- Edit, move and remove what is already in a behaviour tree, addressed by the GUIDs
get_behavior_treereports. Like the add tools they edit the editor graph and then regenerate the runtime tree from it, and each request is one undo step update_bt_nodeswrites property values onto any node, decorator or service. Every param of an item is first written onto a copy of the node, so a rejected value leaves the node untouched rather than half-edited.inverseis a decorator-only field and fails the item on anything elsemove_bt_nodesreconnects a composite or task under the root or a composite and shifts its whole subtree with it, so the moved branch keeps its own child order, decorators and services. A move under the node's own subtree, or onto a parent that takes one child and already has it, is refused with the original link restoredremove_bt_nodestakes a composite or task with its whole subtree, or a single decorator or service, and lists every GUID that went inremovedNodeGuids. The root and nodes a subtree task injected from the tree it runs are refused, since the editor itself does not let either be deleted
create_montage / set_montage_sections / add_anim_notify
- Montage and notify authoring. A montage slot the skeleton does not declare is refused up front: the montage would be created, look correct in the editor and play nothing
set_montage_sectionsrefuses a section past the end of the montage, and reportssectionCountafterwards, because a section that never plays is indistinguishable from one that does until something tries to trigger it. A name the montage already has is refused too, because a jump to a name resolves to the first match and a second one would be unreachable- Sections are sorted by time and given a section at 0 once written, the way Persona does after any section edit: the engine's own position lookups walk the array assuming ascending time
add_anim_notifycreates the notify track if it is missing and reports which tracks it created. A notify object, a notify state with a duration, and a bare named notify are all supported, because the three reach a graph in different ways- Each notify is stamped with the trigger-time offset and a GUID the same way the engine's own notify paths are, because the offset decides which side of a frame boundary a notify at 0 or at play length fires on and the notify panel matches events by GUID
create_contextual_anim_scene / get_contextual_anim_scene
- Contextual Animation Scene authoring: a roles asset (created next to the scene, or an existing one through
rolesAssetPath), sections, anim sets holding one track per role, and warp point definitions.get_contextual_anim_scenereads any scene back, including ones built in the scene editor - The scene's sections and anim sets sit behind protected members only its asset editor writes, so they are written through reflection. The warp point transforms that editor caches when a scene is opened (
primaryActorandcustommodes) are computed the same way here, because the runtime aligns every actor against them;socketwarp points are resolved from the live actor at run time and reported inwarnings - The scene actor component plays tracks as montages, so a track holding a plain sequence is accepted but reported in
warningsandanimationIsMontage: false; wrap it withcreate_montage. The warp target names must match the Motion Warping windows in those montages - The assets are saved unless
save: false.validis the engine's own check that the scene can be selected at runtime - Backed by the
ContextualAnimationengine plugin through theMCPBridgeContextualAnimadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden
create_blend_space / set_blend_space_samples
- Blend space authoring, one or two dimensional. The axis ranges are written through the asset's reflected
BlendParameters, which is the only route the engine leaves open - A sample outside an axis range, or one whose coordinates do not match the asset's dimensionality, is refused before the asset sees it:
UBlendSpace::AddSamplewidens the axis to fit a sample before it validates one, which would quietly undo the rangescreate_blend_spaceset - A sample the asset refuses — a duplicate position, a skeleton or additive mismatch — is reported in
validationIssueswith its coordinates, because the coordinate is what has to change for the sample to land - Every accepted batch re-runs the asset's triangulation, which is what the runtime samples: without it the samples are saved and
GetSamplesFromBlendInputfinds nothing until someone opens the asset
create_anim_blueprint / add_anim_state_machine / add_anim_state / add_anim_transition
- Animation Blueprint authoring. A state machine is an editor graph like any other, so these tools place graph nodes and let the Blueprint compiler turn them into something that runs
add_anim_state_machinerenames the nested graph to the caller's machine name and reports it, because that name is whatadd_anim_stateandadd_anim_transitionaddress- A state with an
animationPathgets a sequence player, or a blend space player where the path names a blend space, wired to its result pose; a state without one is left empty for the graph tools to fill - The machine node is wired into the AnimGraph's output pose and the first state added becomes the machine's entry state, because a state machine that reaches neither compiles to the reference pose
- A transition with rule fields gets the comparison generated into its rule graph — a variable get, the matching Kismet comparison and the constant on its other pin, driving
bCanEnterTransition. The comparison is chosen for the variable's own type, so an integer is not compared through the float overload. A transition with no rule has an empty rule graph, which never fires, and the response says so
create_ik_rig / create_ik_retargeter
- IK rig and retargeter authoring, both through the engine's controllers so the assets are the same ones the IK editors produce
- A retarget chain whose bones are not on the mesh, or whose start bone is not an ancestor of its end bone, is refused with that rule stated rather than accepted and then ignored — the rig itself only checks that the two bones exist
- A chain name the rig already has is refused rather than silently renamed, because retargeting pairs chains by name and a renamed chain never pairs
- A chain's
goalNamecreates a real IK goal on its end bone and connects it to the solver, since the chain field only records a name and nothing would otherwise exist for a solver to reach for create_ik_retargeterseeds the retargeter's op stack the way the engine's own factory does — both rigs first, then the default ops, because an op reads the rigs when it is added and assigning one afterwards does not revisit it. On 5.6+ the chain mappings live on those ops, and without them every mapping is refused. The mapping report is read back from the retargeter, so chains it auto-mapped are listed as mapped- A mapping's
sourceChainis checked against the source rig's own chains. The retargeter validates only the target side, so a misspelled source name is stored, echoed back as mapped, and leaves that limb in its reference pose create_ik_retargeterreportsunmappedSourceChainsandunmappedTargetChains. A chain with nothing mapped to it leaves that limb in its reference pose, which reads as a broken animation rather than an incomplete setup
create_widget_blueprint / add_widget / set_widget_slot / bind_widget_event
- UMG authoring. A widget's slot type is decided by whichever panel took it, so
add_widgetandset_widget_slotreport the slot class rather than taking it from the caller - A name collision is refused rather than renamed: a caller who asked for
HealthBarand silently gotHealthBar_1would bind its events to the wrong widget. Anything under the widget tree counts, not just the widgets the designer lists: a discarded widget's move out of the tree is undoable, and an undone one back under the old name would otherwise be hit by the next construction — fatally where the classes differ - A widget whose properties were refused is taken back out of the tree and renamed into the transient package, the way the designer's own delete path does: taking it out of its parent alone leaves the name taken under the widget tree, and the next attempt at the same name collides with the orphan
create_widget_blueprintreplaces a root panel the factory built from the project's Default Root Widget setting when it is not therootPanelClassthat was asked for- Every widget is registered in the Blueprint's widget-GUID map, variable or not, because the 5.6+ widget compiler walks all of them and ensures on any that is missing
bind_widget_eventpromotes the widget to a variable if it is not one, since a bound event node has nothing to point at otherwise, and reports that asmarkedAsVariable- It spawns the event node itself rather than through the engine's bind helper, whose last act is to bring the Blueprint editor to focus: that would open the widget editor and build its designer preview inside the request, and steal the person's focus while it did it
render_sequence / get_render_job_status
- Movie Render Queue rendering. A render takes minutes, so
render_sequenceaccepts the job and returns an id rather than holding the bridge connection open, andget_render_job_statusis where the outcome shows up - A second render is refused while an executor exists, not merely while one reports rendering: the PIE executor only raises that flag once PIE has finished starting, and a second accept inside that window would delete the queue the first one has not read yet
- The editor's own Movie Render Queue is the one the MRQ window shows, so whatever a person left in it is copied aside before this job replaces it and put back when the render ends. "When it ends" means when the executor actually goes idle, not when it first reports finished: a failed pipeline raises that same event mid-render and the render keeps reading the queue afterwards
headless: truerenders in a separate process so the editor stays usable; otherwise the render runs through PIE in this editor, which is what the Movie Render Queue window does. A headless render with unsaved packages is refused up front, because the new-process executor asks to save first and that prompt would block the requestendFrameis exclusive, which is how the Movie Render Queue builds its playback range: 0 to 100 renders frames 0 through 99- EXR and ProRes output are resolved at runtime and their absence is reported, because ProRes ships in its own optional plugin
- Status reports the files actually written under the output directory since the job started, which is the only per-frame progress the pipeline exposes without owning the render. The list is capped at 50 paths while
writtenFileCountstays the real total, because an image sequence writes one file per frame
spawn_niagara_system / set_niagara_params
- Niagara placement and its user-exposed parameters. Placing into the level spawns a Niagara actor; attaching adds an instanced component to an existing actor, which is what survives a level save
- A socket the actor's root component does not have is refused before the component exists, because attaching to a missing socket silently places the effect at the component origin
set_niagara_paramsreports every user parameter the system has. Niagara stores an override for a name the system does not declare and nothing ever reads it, so a misspelled parameter has to be refused here to be visible at all — and so does aparamKindthat does not match the parameter's declared type, because Niagara resolves a user parameter by name and type togetherobjectwrites go through the setter for the parameter's declared type — texture, render target, material, static mesh or plain object — since each setter builds its own typed variable and the wrong one lands an override the system never looks up. A data interface parameter is refused: it is configured on the system rather than assigned an asset
create_pcg_graph / run_pcg_generate
- PCG graph authoring and generation. Nodes are addressed by caller-supplied ids so connections can name them before the graph exists, and
input/outputname the graph's own nodes - An omitted pin name takes the default of the node it is on, not a fixed 'Out'/'In'. The graph's own Input and Output nodes carry the labels of the side they face inwards from — the Input node's only output pin is
Inand the Output node's only input pin isOut— so a fixed default would make the documented sampler wiring unreachable - A connection the graph refuses is answered with the pins each node actually has, rather than with a graph that is missing an edge
- A graph whose nodes or edges were refused is taken back out, because a partially connected PCG graph runs as something other than what was asked for
run_pcg_generatedrives the PCG subsystem for up towaitMs, since a PCG graph executes across editor frames. That wait happens inside the blocking game-thread task the bridge abandons after 5 s, sowaitMsis bounded at 3000: a longer wait would lose the response and leave the editor frozen for the remainder.timedOutsays the counts are a snapshot; the generation keeps running in the editor either waygeneratedActorCountandgeneratedInstanceCountare reported because a caller that saw onlyappliedwith an empty-looking level would read a working graph as a failure
set_project_settings / set_default_gamemode
- Project settings writes. Settings live on settings objects rather than in the config files, so every write goes through the settings object and is saved to whichever file that object declares — which is the part a raw ini edit gets wrong
- Which file that is comes from the settings class's own config flags, the way the editor's Settings panel picks it, and
configFilePathreports the one actually used. A section that declares itself local to the project user, such as Rendering Overrides (Local), belongs inConfig/UserEngine.ini: written intoDefaultEngine.iniinstead, the user layer loads after it and the change is silently gone on the next start - The sections come from the engine's own settings registry rather than from a scan of
UDeveloperSettingssubclasses, because the core pages — Maps & Modes, Description, Input — are plain config objects that a class scan cannot see - Only the Project container is writable. The Editor container holds a person's own preferences, which a tool has no business changing on their behalf
- Omitting
sectionNamelists the writable sections; omittingpropertiesreports one section's current values. That is how a caller finds a property name instead of guessing an ini key restartPropertiesnames the settings the engine reads once at startup. They are written correctly and still inert until the editor restarts, which is worth saying rather than leaving the caller to wonderset_default_gamemodewrites the project default throughGameMapsSettings, or a level override through that level's world settings. The pawn, controller, state and HUD classes are not settings — they live on the game mode class — so they are written onto its defaults and the Blueprint is recompiled. A C++ game mode refuses them: its class defaults are rebuilt from its constructor on every start, so the write would live only until the editor closed
find_symbol
- Answers "where is this type declared" across the engine and the project without a running editor: it scans headers for
UCLASS/UINTERFACE/USTRUCT/UENUM/UFUNCTION/UPROPERTYand reports the header path, the owning module, and the#includepath to write - The include path is derived from the nearest
Public/orClasses/directory, which is what UBT puts on the include path — a header underPrivate/is reported without one, because there is no include that reaches it from another module - The module name comes from the nearest
*.Build.cswalking up from the header, so it is the module a caller has to add toPrivateDependencyModuleNames, not a guess from the directory name - Matching is exact first, then prefix, then substring, so a full type name never loses to a longer one that happens to contain it.
kindnarrows to one symbol kind, and results page withmaxResults/totalCount/truncated - The index is cached on disk per root set (hashed engine + project roots) beside the registry file, and rebuilt incrementally: a file whose size and mtime are unchanged reuses its cached records, so a rescan after a build touches only what the build touched
Binaries,Intermediate,Saved,DerivedDataCache,ThirdPartyand VCS directories are skipped, and the walk stops atmaxFiles(default 80,000) rather than running unbounded over an engine source tree- Cost is real and worth planning around: a cold UE 5.8 engine scan reads about 45,000 headers and takes a couple of minutes, after which a warm call re-stats them and answers in seconds. Call it once per engine rather than per question
export_blueprint_cpp
- Turns a
get_blueprint_graphpayload into something readable: pseudo-code for each graph, and a C++ header skeleton for the class - Pure server-side transform — no plugin change of its own. The editor still owns the graph; this only renders what it hands back
- The walk follows exec pins from each entry node, so
K2Node_IfThenElsebecomesif/else,K2Node_ExecutionSequencebecomes sequential statements, and the For / While / For Each macro instances become the matching loop. A node reached twice emits agotoand setstruncatedrather than looping forever - Roots are sorted by graph title then node id, so the same graph renders byte-identical on every call — the output is diffable
- The skeleton maps Blueprint variables to
UPROPERTY(includingReplicatedUsingfor a variable with a RepNotify) and Blueprint functions toUFUNCTION, with out parameters as references. It is a starting point for a hand port, not a compilable nativization
lint_blueprint
- Static checks over every graph of one Blueprint (event, function, macro and collapsed graphs). Each finding carries
ruleId,graphName, the node'snodeGuid+nodeTitle(the same id the graph tools take) and amessage; an unused variable carriesvariableNameinstead of a node - Rules, filterable with
rules:unused_variable(a member variable no graph reads or writes; event dispatchers are skipped),heavy_tick(Event Tick reaching a loop macro, a cast, a world-scanning call such asGetAllActorsOfClass/GetComponentsByClass/SpawnActor, or more than 24 impure nodes — one finding per Tick naming every reason),cast_in_loop(a cast run from a loop body, exec-wired or pulled in by a pure input),unconnected_exec(an impure node with no incoming exec wire, so it never runs),repeated_pure_call(a pure call feeding two or more impure nodes, so it re-evaluates for each; variable reads,selfand literals are exempt) - Disabled nodes — including the ghost BeginPlay / Tick an Actor Blueprint starts with — are ignored, and reroute knots are followed through
- Read-only: it loads the asset if needed but never compiles, fixes or dirties it. Findings past 200 (or past the frame budget) are counted in
totalFindingsand flaggedtruncated
diff_blueprints
- Structured diff of a Blueprint (
assetPath, the after side) against a baseline: another Blueprint (baseAssetPath) or a source control revision of the same asset (baseRevision:head, a git hash of 7+ characters, or a Perforce#3) - Built on the comparisons the editor's Blueprint Diff window uses —
FGraphDiffControlfor graphs andDiffUtils::CompareUnrelatedObjectsfor class defaults — so an agent and a reviewer see the same changes. Graphs are paired by name, and nodes within them are matched the way the diff window matches them, so two separately authored Blueprints compare cleanly - One entry per change:
category(parent_class,interface,variable,component,graph,node,pin,default),change(added,removed,changed,moved) andtarget, plusgraph,nodeGuid,pinandbaseValue/compareValuewhere they apply.defaultentries are CDO values, which is where a variable's default actually lives - Node moves are left out unless
includeMinoris set. PastmaxDifferences(or the frame budget) entries are counted intotalDifferencesand flaggedtruncated - A revision is fetched and loaded into a temporary diff package synchronously, as the editor's Diff Against Depot does, so the editor is busy for as long as the provider takes; the server waits up to an extra minute for such a diff. Without a connected provider the call fails with
source_control_unavailable. Read-only either way
add_reflected_member / scaffold_class_template
- The authoring half of the C++ surface:
add_reflected_memberinserts aUPROPERTYorUFUNCTIONinto an existing class,scaffold_class_templatewrites a new pair of files for one of the shapes UE has no simple template for - Members are inserted directly after the class's own
GENERATED_BODY()under a freshpublic:. That is this tool's policy, not a UHT rule — UHT reflectsprivate:andprotected:members too, andmeta = (AllowPrivateAccess = "true")only governs whether Blueprints can reach a privateUPROPERTY. Opening a section makes the insertion point deterministic instead of inheriting whatever section the cursor happened to land in, at the cost of every generated member being public; move it afterwards if it belongs elsewhere. A member that is already declared is reported rather than duplicated - Specifiers are validated before anything is written. Rejected combinations include more than one Edit or Visible specifier,
BlueprintReadOnlywithBlueprintReadWrite,ReplicatedwithReplicatedUsing, a bareReplicatedUsingwith no handler,BlueprintPurewithBlueprintCallable,BlueprintImplementableEventwithBlueprintNativeEvent, more than one RPC target, an RPC with no reliability specifier, and an RPC with a non-void return. An unknown specifier is rejected too — a typo UHT would catch minutes later at build time fails here in milliseconds - A function also gets a
.cppstub (headerPublic/X.h→ sourcePrivate/X.cpp), except forBlueprintImplementableEvent, which has no native body by definition. ABlueprintNativeEventgets its stub namedName_Implementation, which is the symbol UHT's dispatcher calls and the one that fails to link if it is missing scaffold_class_templatecoversinterface(theUInterface+IInterfacepair, the shape that is got wrong most often) and thegame_instance_subsystem/world_subsystem/editor_subsystemtrio. It refuses to overwrite existing files and returns the module dependencies the new files need- Both are filesystem-only and need no editor. Run project-file generation and a build — or
trigger_live_compilefor a body-only change — afterwards
scaffold_automation_spec / scaffold_functional_test
scaffold_automation_specwritesSource/<module>/Private/Tests/<name>Spec.cpp: aBEGIN_DEFINE_SPECwith the requestedDescribe/Itblocks under a dottedtestPath, the context flags (editorby default) and one filter flag (productby default)- Guarded by
WITH_DEV_AUTOMATION_TESTS, so Shipping builds skip it. EveryItfails withNot implemented.until its body is written, so an unfinished skeleton never reports green - Returns the full test names (
<testPath>.<describe>.<it>), which is whatlist_automation_testsandrun_automation_testsfilter on requiresEditorcompiles the spec into editor builds only (WITH_EDITOR) and hands eachItthe editor world. It needsUnrealEd: added to the Build.cs for an editor-only module; for a runtime module the result carries a hint to add it underif (Target.bBuildEditor), because an unconditionalUnrealEdbreaks packaging- Filesystem-only, refuses to overwrite. Build afterwards, then list it
scaffold_functional_testcreates a functional test actor Blueprint (parentAFunctionalTest) throughcreate_blueprintandadd_bp_event, with the requested test events stubbed (Prepare TestandStart Testby default). A functional test only runs once placed in a level; the Start Test graph must end withFinish Test
get_live_compile_details
- Reports what Live Coding actually did with the last patch: the modules it patched, and, when it refused, why
- The restart case is the one worth naming. A change to a reflected type's layout — a new
UPROPERTY, a reordered member — patches into the running editor, but the editor is then running against types its loaded assets no longer match, and the engine says so only as a warning on the completion line. That warning comes back asrestartRequiredwith the engine's own wording, instead of leaving a caller to wonder why their change behaved oddly - The two halves come from two places, because neither alone is enough:
ILiveCodingModulereports counts only, the editor'sLogLiveCodingcarries just the completion line, and which modules were patched is printed by the separateLiveCodingConsoleprocess into its own log. That log is read on demand, filtered to the compile's own time window, and to modules this editor has actually loaded — one console serves every editor in its process group - Bounded: at most 64 entries per kind and 512 characters per entry, with
truncatedset when either cap is hit - Windows-only in practice — Live Coding ships only where the engine supports it. Elsewhere the compile job carries no details rather than failing
run_editor_python
- Executes Python inside the running editor through
IPythonScriptPluginand returns the log output, the error lines, and the evaluated result. Thepyconsole command exec path cannot return any of that - A failed run reports its traceback in
errorsand leavesresultunset, soresultalways means "the value the script produced" rather than sometimes meaning "why it did not" - Off by default. It hands a caller the editor's entire Python API with no sandbox around it, so it stays disabled until a human enables
Allow run_editor_pythonunder Project Settings → Plugins → MCP Bridge (MCPBridgeSettings.bAllowEditorPython). With the setting off the tool returnsstate: 'disabled'naming that setting rather than failing opaquely - An editor whose Python Script Plugin is absent or disabled returns
state: 'unsupported'with the reason, which is a different answer from a script that ran and failed - The whole script runs inside one
FScopedTransaction, so a successful run is a single editor undo; a failed run cancels the transaction rather than leaving half its effects behind executionModeisscript(default: a whole block of Python, or a.pypath with arguments),statement(exactly one statement) orevaluate(one expression, whose value comes back inresult).scriptis the default because the engine reports a traceback line by line only in that mode; the two statement modes put it inresultinstead. Commands are capped at 16,384 characters, and output and error lines at 200 lines each, withtruncatedset
set_navmesh_settings / set_nav_agents / set_crowd_settings
- Navmesh generation settings are written onto the level's
RecastNavMeshactor and only reach the navmesh on the next build, so the response reportsrebuildRequiredand the caller follows withbuild_navigation. Rebuilding here instead would be a minutes-long job on a socket with a seconds-long read budget cellSize,cellHeightandagentMaxStepHeightlive per resolution since UE 5.4 — the same-named members on the actor are deprecated and no longer read by the generator — soresolutionnames which of the three sets is being written, andappliedSettingsreports exactly which fields the write touched- The response reports every setting as it stands after the write, read back off the actor, so a value the navmesh clamped is visible rather than echoed back as requested
set_nav_agentsreplaces the project's wholeSupportedAgentslist, which is what gives a level one navmesh per agent size. It is read once when the navigation system starts, so the response reportsrestartRequiredrather than pretending a running editor picked it upset_crowd_settingswrites the Detour crowd manager and the RVO avoidance manager, both config defaults rather than per-level state. Only the manager a request actually names is saved, so a crowd-only call leaves the avoidance section alone
create_nav_area / add_nav_modifier_volume / add_nav_link
create_nav_areamakes a nav area Blueprint underNavArea(or one of the stock parents) and reportsgeneratedClassPath— the class, not the asset, is what a modifier volume or a link referencesadd_nav_modifier_volumeplaces anANavModifierVolumeand builds its cube brush through the same actor factory the place-actor panel uses. Without that brush the volume covers nothing, so a non-positive extent is refused rather than placedadd_nav_linkreplaces the proxy's default link with the ones the request carries.leftandrightare offsets from the actor, the space the level editor's own link handles move in, and the response reports them in world space so a link and thefind_paththat crosses it can be compared directly- Detour joins a link only when its two ends lie in the same navmesh tile or neighboring ones. A longer link still builds, connected at one end, so nothing can cross it and the build reports no error;
add_nav_linksays so inmessagewhen a link spans more than one tile (TileSizeUU, 1000 units by default) - All three leave the navmesh untouched until the next
build_navigation, and say so throughrebuildRequired
find_path / test_reachability
- Synchronous navmesh queries against the editor world, which is what makes "is this level traversable" answerable without entering PIE
- A destination nothing can reach comes back as
reachable: falsewith a partial path, not as an error: that is the answer, and a tool that threw would make the check unusable in a sweep.queryResultcarries the engine's ownENavigationQueryResultso an off-navmesh endpoint stays distinguishable from a walled-off one reachablemeans a path that actually arrives. A partial path proves the goal is not reachable however far along it got, so it never counts as reachable infind_pathtest_reachabilityanswers a batch of pairs without returning path geometry, and fails one pair rather than the request when an actor path no longer resolves — a sweep of spawn points against objectives is worth answering for the pairs that did resolve
get_gameplay_debugger_data
- Captures what the Gameplay Debugger overlay (the apostrophe key) shows for one actor during Play-in-Editor, as JSON instead of pixels.
actoris the outliner label, object name or path in the PIE world; a controller is swapped for the pawn it possesses, andcontrollerPath/pawnPathreport both categoriesdefaults toAIandBehaviorTree;EQS,Perception,PerceptionSystem,Navmeshand any other registered category can be named.listCategories: truereturnsavailableCategorieswithout capturing and works with no session running. An unregistered name is refused withunsupportedand the registered list- Each category reports
fields(AI and BehaviorTree keep their state in a data pack rather than text, so its values are read out: controller, movement, current task, tree state and assets; brain component, active tree and blackboard), itslinesandshapeDescriptionswith{color}markup stripped, andwasEnabled. Output past roughly 48 KB is dropped and flagged withtruncated - Collection runs through the PIE player's own debugger replicator, so categories see the same owner and debug actor as on screen; the overlay's selected actor and enabled categories are put back afterwards. Without a session the call fails with
pie_not_running, and a network client world (pieInstanceIndex) withpie_world_not_authoritative, since only the server collects. Custom project categories return their text lines only
start_visual_logger_recording / stop_visual_logger_recording / query_visual_logger_entries / clear_visual_logger_entries
- Captures Visual Logger (VisLog) entries as data. Start attaches a bridge-owned output device to
FVisualLoggerthat keeps up tomaxEntries(default 5,000, at most 50,000) in memory, dropping the oldest once full and counting them indroppedEntries; it turns VisLog recording on if it was off and stop restores that - Entries from every world are captured, the editor world's and each PIE instance's, so a capture can start before or during Play-in-Editor.
recordToFile: truealso has the engine write a.bvlogthe Visual Logger window opens; stop saves it and reportsfileDirectory query_visual_logger_entriesfilters byowner(substring of the VisLog name, object name, actor label or path),categories, averbositythreshold, astartTime/endTimewindow in world seconds andworld(editororpie). Each entry hastimestamp,worldTime, owner,location, loglines,status,eventsandshapesdecoded to coordinates — segments, paths, boxes (min/max plus transform), spheres, cones, cylinders, capsules, arrows, circles, points, polygons and meshes — withcolor(#RRGGBBAA, quantized to 2 bits per channel before UE 5.6) andlabel- Queries flush entries still open this frame first. Pages follow entry
sequence: passnextCursorback ascursor. A page stops early to fit the frame, and an entry too large on its own comes back with shapes trimmed andtruncated: true - A build with the Visual Logger compiled out (
ENABLE_VISUAL_LOG0) answersunsupported; an engine started with-DisableAILoggingrefuses to start withvisual_logging_disabled
create_smart_object_definition / get_smart_object_definition / add_smart_object_component
- Backed by the SmartObjects engine plugin through the
MCPBridgeSmartObjectsadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden - A definition is created with its slots in one call: offset and rotation relative to the owning actor, activity tags, an enabled flag and behavior definitions (instanced
USmartObjectBehaviorDefinitionsubclasses configured throughparams). Activity tags must already be registered; a definition missing one is refused and nothing is left behind - Both the create and the read report
validand the engine'svalidationMessages. The Smart Object subsystem refuses to register a component whose definition fails validation, most often a slot with no behavior definition and no default, sovalid: falsemeans nothing can ever claim it add_smart_object_componenttakes exactly one ofblueprintPath(the Blueprint is recompiled) oractorPath(a placed actor in the editor level). An existing Smart Object component is pointed at the new definition rather than joined by a second, because an actor carrying two registers as two objects;createdsays which happened. A Blueprint that inherits one from its parent class is refused withinherited_smart_object_component, since that component belongs to the parent. The component registers with the subsystem when play begins
create_mass_entity_config / edit_mass_entity_config / get_mass_entity_config / validate_mass_entity_config
- Author a
UMassEntityConfigAsset, the trait list a Mass agent is spawned from.create_mass_entity_configtakes an optionalparentConfigPath; a trait the child owns overrides the parent's trait of the same class edit_mass_entity_configappliesadd,removeandsetedits in order and reports each one. Traits are named by class (MassMovementTrait,MassLODCollectorTrait,MassVisualizationTrait,MassStateTreeTrait, or a/Script/Module.Classpath), and properties are{ propertyPath, value }pairs in exported-text form, the same shapeset_asset_propertytakes. Only the config's own traits are edited, never a parent's. A new trait whose properties are rejected is taken back outget_mass_entity_configreads the parent and each own trait with its editable properties as exported text, trimmed by encoded size withtruncatedsetvalidate_mass_entity_configbuilds the entity template in the editor world, the way the asset editor's Validate button does, and returns the engine's own error and warning lines verbatim inmessages- Backed by the
MassGameplayengine plugin through theMCPBridgeMassadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden.MassAIis optional: without it, its traits (MassStateTreeTraitand the navigation ones) do not resolve and the tools say so. Validation returnsstate: 'unsupported'with a reason when the editor world has no Mass entity subsystem (mass.RuntimeSubsystemsEnabledoff)
place_mass_spawner
- Places an
AMassSpawnerin the editor's current level with acount,entityTypes({ entityConfig, proportion }pairs naming MassEntityConfig assets) andgenerators, the spawn data generators that decide where entities appear. Proportions are normalised against their siblings, and both lists must have a positive total { type: 'eqs', query }instances an EQS spawn points generator running that Environment Query asset with the spawner as querier; the query's named parameters are collected the way the details panel collects them and come back inqueryParams.{ type: 'zone_graph', minGap?, maxGap? }instances a ZoneGraph generator that spawns along the level's lanes. Either takes optionalproperties({ propertyPath, value }) written on the generator, such as the ZoneGraphTagFilter- The spawner spawns when play begins (
autoSpawnOnBeginPlay, default true), not when it is placed.warningsnames setups that place but would spawn nothing: a ZoneGraph generator in a level with noZoneGraphData, a query with no generator options, an entity type with proportion 0. A rejected generator property takes the spawner back out of the level - Backed by the
MassGameplayengine plugin through theMCPBridgeMassadd-on (see Add-ons). Until that add-on is enabled, this tool is hidden. Returnsstate: 'unsupported'with a reason when the Mass runtime or the ZoneGraph plugin is not loaded
get_mass_stats
- Reads the Mass entity manager of a running PIE world (
pieInstanceIndex, default the first instance):totalEntityCount,archetypeCount, and the populatedarchetypeslargest first, each with its entity count, debug names and fragment, tag, chunk-fragment and shared-fragment composition. The list is trimmed by encoded size and flagsarchetypesTruncated lod.simulationandlod.representationcount entities perEMassLODbucket (high,medium,low,off, plusunsetfor entities the LOD processor has not reached yet) fromFMassSimulationLODFragmentandFMassRepresentationLODFragment; each is present only when some entity carries that fragmentprocessorslists the world's Mass processors by phase with their class and whether they are composite groups. The Mass runtime keeps no per-processor execution times on any supported engine, soprocessorTimingsAvailableis false andnotespoints at Unreal Insights. An engine built withoutWITH_MASSENTITY_DEBUGreportsentityCountsAvailable: falseand keeps only the LOD counts- Fails with
pie_not_runningwhen no play session is running; start one withstart_pie - Backed by the
MassGameplayengine plugin through theMCPBridgeMassadd-on (see Add-ons). Until that add-on is enabled, this tool is hidden, and a call names the missing request type
diagnose_navmesh
- A read-only audit of the editor level's navmesh: missing
NavMeshBoundsVolumes, no navigation data or an empty navmesh, disconnected islands, and spawn points that are off the navmesh or cannot path to the first one. Each finding lands inissueswith acode, andhealthyis true when there are none. Nothing is rebuilt or fixed - Islands are the connected components of the Recast polygon graph, nav links included, listed largest walkable area first with poly count, area and bounds. One-way links still join two areas, so a drop-down ledge is not reported as a stray island.
islandCountstays the full count whenmaxIslandscuts the list - Every
PlayerStartis checked by default; AI spawners have no common base class, so a level's own spawn actors are named inspawnActorPaths. Player starts come first, and the first spawn on the navmesh is the anchor every other spawn is path-tested against with the same queryfind_pathruns. Spawns on different islands are reported unreachable from the island map without a search. A spawn the anchor reaches is also path-tested back to it, and one with no way back (past a one-way link) is reported asspawn_cannot_return. Every spawn is checked; only the returnedspawnPointslist is capped - An island no spawn point stands on is reported as
island_without_spawn: the isolated platform an AI can be placed on but never walk off. A level with no navmesh at all reports that once rather than blaming every spawn point for it
bulk_asset_operation / get_bulk_asset_operation_status
- Renames, moves or retargets every asset an Asset Registry query matches. The query is
find_assets' filter (classNamesand/orpackagePaths, plusnameFilterand the recursion flags), so the same arguments preview the selection withfind_assets renamebuilds each new name asprefix+ the name with every case-sensitivefindreplaced byreplace+suffix, keeping the folder.movesends every match intodestinationPath, optionally renaming the same way. Both go through the sameIAssetTools::RenameAssetspath asrename_asset, one asset at a time, so referencers are fixed up and redirectors left behindretargetconsolidates each match intoreplacementAssetPaththroughObjectTools::ConsolidateObjects, the Content Browser's Replace References: every reference moves to the replacement and the match is deleted, leaving a redirector. The replacement must be interchangeable with each match, levels are refused, and an asset the replacement itself references is refused because the engine cannot rewrite that referencedryRun: truereturns the whole plan from the Asset Registry alone — no package is loaded or modified. Each entry carries its new path, its referencer count and a status; a collision, an invalid name, two matches heading for the same path or an incompatible class shows up as afailedentry witherrorCode, so it can be fixed before anything moves- One
RenameAssetsor consolidation per asset runs far past the plugin's 5 s game-thread budget, so an apply plans inline and only accepts the job: it returnsstate: 'applying'with the plan and abulkAssetJobId. Poll it withget_bulk_asset_operation_status, or wait on it withwait_for_jobandkind: 'bulk_asset', until the state isapplied(orunknown_jobfor an id the editor no longer holds) - An apply reports per asset: one asset failing leaves the rest applied, with
appliedCount,skippedCountandfailureCountalongside. A query that matches more thanmaxAssets(default 50, at most 100) is refused on apply rather than done in pages, since moving the first page changes what the query matches next; a dry run plans the firstmaxAssetsand reportstotalCount - An apply is refused before anything changes while the Asset Registry is still scanning (
asset_registry_scanning), since a partial index would match only part of the query; a dry run still answers and reportsscanning. It is also refused (response_too_large) when the per-asset outcomes, with their paths and errors, might not all fit one response, because the entry list is not paged - Writes are refused outside
/Game.RenameAssetssaves renamed assets and their redirectors itself, as it does forrename_asset; a retarget saves nothing, so the redirectors and the packages whose references moved stay dirty untilsave_dirty_packages
create_learning_agents_setup / start_learning_agents_training / get_learning_agents_training_status / stop_learning_agents_training
- Backed by the experimental
LearningAgentsengine plugin through theMCPBridgeLearningAgentsadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden. Enabling it also enablesLearningAgents, whose Python trainer dependencies the editor installs with pip on its next startup create_learning_agents_setupscaffoldsBP_<prefix>Manager(an actor component),BP_<prefix>Interactor,BP_<prefix>Policy,BP_<prefix>Critic,BP_<prefix>TrainingEnvandBP_<prefix>Trainer(PPO, or imitation withtrainerKind: 'imitation'), or only therolesnamed. The interactor gets stubs forSpecifyAgentObservation,SpecifyAgentAction,GatherAgentObservationandPerformAgentAction, the training environment forGatherAgentReward,GatherAgentCompletionandResetAgentEpisode;stubslists what each Blueprint received. Nothing is created if any name is taken. Defining observations for a particular game is left to the project- Training runs inside a Play-in-Editor session that the project's own manager Blueprint drives (Make PPO Trainer, then Run Training every tick), so start PIE with
start_piefirst.start_learning_agents_trainingthen tracks that run as a job and returns atrainingJobId; one job is tracked at a time get_learning_agents_training_statusreportsstarting,training,completed,failed,cancelledorstopped(the play session ended), every trainer in the play world, and the iterations, average reward, return and episode length (PPO) or loss (imitation) read from the trainer process'sLogLearningoutput. A job with no trainer training withinstartTimeoutSecondsfails with the reasonstop_learning_agents_trainingends training on every trainer and, unlessendPie: false, ends the play session: a manager that calls Run Training every tick would otherwise start a new run on the next frame
create_ml_deformer / get_ml_deformer / start_ml_deformer_training / get_ml_deformer_training_status
- Backed by the
MLDeformerFrameworkengine plugin through theMCPBridgeMLDeformeradd-on (see Add-ons). Until that add-on is enabled, these tools are hidden. Each model type also needs its own engine plugin (NeuralMorphModel,NearestNeighborModel,VertexDeltaModel, orDetailPoseModelfrom UE 5.6); without itcreate_ml_deformerandstart_ml_deformer_traininganswerstate: 'unsupported'with the plugin to enable create_ml_deformerbuilds the asset the way the editor's New ML Deformer action does, with the chosen model, an optionalskeletalMeshandtrainingInputsthat each pair an animation sequence with the geometry cache of the same motion. Every input is checked for asset type and, whenskeletalMeshis given, for a skeleton compatible with the mesh before anything is created. The asset is left dirty forsave_asset. Custom models are not supportedget_ml_deformerreads back the model type and class, mesh (nullwhen unset), inputs with their frame ranges, the training frame limit, and whether the model is trainedstart_ml_deformer_trainingrefuses an asset with no mesh or no enabled input (not_ready), a session that cannot open asset editors (training_unavailable) and an editor without the Python plugin (python_unavailable); otherwise it queues a job and returns atrainingJobId. One job runs at a time. A model with no input bones or curves first gets the bones its training animations animate, as the editor's Add Animated Bones does, which leaves the asset dirty- Training runs the ML Deformer editor's own Train: the job opens the asset in that editor (which stays open) and runs the Python trainer, which blocks the editor until it finishes. Any bridge call sent meanwhile,
get_ml_deformer_training_statusincluded, times out; poll again once training returns get_ml_deformer_training_statusreportsqueued,training,completedorfailed, with timestamps,trained, and up to 16 lines logged during the run: every error, plus warnings underLogMLDeformerandLogPython. A job the asset editor reports as not ready (for example a geometry cache whose vertex count does not match the mesh) fails with that reason instead of training. A completed run leaves the asset dirty forsave_asset
add_zone_shape / build_zone_graph
- Backed by the
ZoneGraphengine plugin through theMCPBridgeZoneGraphadd-on (see Add-ons). Until that add-on is enabled, these tools are hidden. Both tools answerstate: 'unsupported'with the reason when the editor world has no ZoneGraph subsystem add_zone_shapeplaces anAZoneShapein the editor level: aspline(2+ points, lanes run along it) or apolygon(3+ points, lanes are routed between itslaneProfilepoints). Point positions are relative tolocation. A lane profile point with norotationis turned to follow the polygon edge, which is what decides the way its entry faceslaneProfileandtagsname presets from Project Settings > Zone Graph; an unknown name is refused with the defined ones listed. A fresh project defines no lane profiles, and a shape without one builds no lanes, so the call is refused withno_lane_profilesuntil one exists. Add one withset_project_settings,sectionName: 'ZoneGraphSettings'and the propertyLaneProfilesset to, for a two-way road,((Name="Road",Lanes=((Width=150,Direction=Forward),(Width=150,Direction=Backward))))build_zone_graphruns the same forced rebuild as Build > Build ZoneGraph, spawning theZoneGraphDataactor a level with shapes is missing, then returns each shape's zone and lanes (width, length, start and end, tags, link count).actorPathsnarrows the report, not the build
bind_smart_object_interaction
- Binds a Gameplay Interactions StateTree to one slot of a Smart Object definition (
slotIndex, asget_smart_object_definitionreports it) or, withslotIndexomitted, to the definition's defaults. Claiming the slot only reserves it and does not start the tree: the claimant runs it by starting a Gameplay Interaction with the claimed slot - Adds a
GameplayInteractionSmartObjectBehaviorDefinitionto the target, or repoints the one already there (replaced: true): a slot resolves its behavior by class and takes the first match, so a second one would never run - The tree must use the Gameplay Interactions schema (
create_state_treewith schemacustomand schemaClass/Script/GameplayInteractionsModule.GameplayInteractionStateTreeSchema); any other schema is refused withstate_tree_schema_mismatch, since the interaction context would refuse it on every claim.stateTreeCompiledreports whether the tree can start at all, and the definition'svalidandvalidationMessagescome back with the result - Backed by the
MCPBridgeSmartObjectsadd-on (see Add-ons), and hidden until it is enabled. The add-on reaches theGameplayInteractionsengine plugin at run time rather than requiring it, so enable that plugin yourself: while its module is not loaded the tool answersstate: 'unsupported'with the reason
query_smart_objects
- Lists the Smart Objects registered in a running PIE world (
pieInstanceIndex, default the lowest instance), each with its handle, owning actor, definition path and location, and every slot's index, handle, state (free,claimed,occupied,disabled) and location - A claimed or occupied slot carries a
claimant: the claiming actor's label and path, or only the claim's user data type (dataType) when something other than an actor claimed it, such as a Mass entity - Unlike a claim search, it reports slots someone already holds and disabled ones.
activityTags(activityTagMatchanyorall) anduserTagsnarrow the slots,areaMin/areaMaxthe objects;maxResultscaps the list andtotalMatched/truncatedreport the rest. It never claims - Fails with
pie_not_runningwhen no PIE session is running. Backed by theMCPBridgeSmartObjectsadd-on (see Add-ons), and hidden until it is enabled
create_gameplay_behavior_config / bind_smart_object_gameplay_behavior
create_gameplay_behavior_configcreates a Gameplay Behavior config asset.configClassdefaults toGameplayBehaviorConfig_Animation, which playsAnimMontage(withPlayRate,StartSectionName,bLoop) throughGameplayBehavior_AnimationBased.propertiessets fields by name as editor import text, and an asset reference that does not load is refused withreferenced_asset_not_found, leaving no asset behindbind_smart_object_gameplay_behavioradds aGameplayBehaviorSmartObjectBehaviorDefinitionto a slot (slotIndex) or, withslotIndexomitted, to the definition's defaults, or repoints the one already there (replaced: true). The slot references the config asset rather than copying it, so editing the config changes every slot bound to it. A claimant runs it withUseGameplayBehaviorSmartObject- The engine's animation config holds its montage as a soft reference and plays it only if it is already loaded: it never loads it itself, so after an editor restart a claim succeeds and plays nothing until something loads the montage (a hard reference from the character or its Anim Blueprint, or an Asset Manager preload)
- Backed by the
MCPBridgeSmartObjectsadd-on, which reaches theGameplayBehaviorsandGameplayBehaviorSmartObjectsengine plugins at run time rather than requiring them. Enable them yourself: while their modules are not loaded both tools answerstate: 'unsupported'with the reason. Custom behavior classes are out of scope
render_asset_thumbnail
- Draws an asset with the Content Browser's own thumbnail renderer and returns it as MCP image content (
image/png), plusassetPath,assetClass,widthandheight.sizeis the longest edge, 16-1024 (default 256); a texture keeps its aspect ratio and is never drawn past its own resolution - Every pending shader and asset compile in the editor, and texture streaming, are flushed first, so a fresh material renders as it looks rather than as the default checker. On a project still compiling that can take minutes, so the server waits up to 3 minutes for the answer
- The editor writes the PNG under
Saved/MCPBridge/Thumbnailsand the server reads it, returns it in-band and deletes it: base64 of a 256 px thumbnail can exceed the 64 KiB bridge frame - Fails with
asset_not_found, withno_thumbnail_rendererfor a type the Content Browser shows only as an icon (a physical material, a string table), and withrendering_unavailableon an editor started with-NullRHI
MCP Resources
Resources carry context a client can attach without spending a tool call and a model turn. The registry, engines and workspace resources are served from in-memory state or the local filesystem: those reads never open a bridge socket and never wait on the editor, so an unreachable or absent editor produces a structured payload rather than a timeout. The project resources are the exception — they are the editor-backed reads, and they report found: false with a reason instead of throwing when the editor is gone.
All resources use the uemcp:// URI scheme, are application/json, and are capped at 64 KB (MAX_RESOURCE_PAYLOAD_BYTES). A read that hits the cap drops entries from the end of the list and sets truncated: true while totalCount stays authoritative — the same convention the paged tools use. The authority segment (registry, engines, workspace, project) is the type discriminator.
| URI | Contents |
|---|---|
uemcp://registry |
Every registered Unreal Editor: projectId, projectName, projectPath, port, pid, registeredAt, lastSeenAt, plus totalCount and truncated |
uemcp://registry/{projectId} |
One registration, addressed by canonical ProjectID. Enumerable — the template's list callback returns the current registry, and projectId offers completions from it |
uemcp://engines |
Unreal installs found under UE_INSTALLS_DIR, ascending by version, each with engineVersion, engineRoot, and unrealBuildToolResolved. Source builds and GUID engine associations are excluded, matching resolveEngine |
uemcp://workspace/project |
The Unreal project identity of the server's working directory, plus a context block: modules with their Build.cs dependencies, enabled plugins, target platforms, engine association, and the default game mode, game instance and startup map |
uemcp://project/{projectId}/asset/{+assetPath} |
Asset metadata for one content path — the payload get_asset_metadata returns |
uemcp://project/{projectId}/class/{className} |
UClass reflection for one class — the payload get_class_reflection returns |
uemcp://project/{projectId}/blueprint/{+assetPath}/graph |
A Blueprint's EventGraph nodes and connections — the payload get_blueprint_graph returns. Use the tool for any other graph or to page past the node cap |
The asset and blueprint templates use reserved expansion ({+var}) so an Unreal content path keeps its slashes. Both forms of the path resolve: uemcp://project/<id>/asset/Game/Meshes/SM_Rock and uemcp://project/<id>/asset//Game/Meshes/SM_Rock reach the same asset, because the template segment already follows a /.
uemcp://registry/{projectId} reports found: false with a reason for an unknown or malformed ProjectID, and uemcp://engines / uemcp://workspace/project report a reason when UE_INSTALLS_DIR is unset or the directory is not an Unreal project — none of them fail the read.
Registering or deregistering an editor over the HTTP API emits notifications/resources/list_changed. There is no resources/subscribe: the MCP SDK's McpServer does not implement it, so the list-changed notification is the only change signal.
MCP Prompts
Prompts ship the workflows this server knows about as discoverable entry points for any MCP client, not just ones that can read the repo's .agents/skills/ runbooks. They are compiled into the bundle, reference only tools this server registers, and assume no shell, no checkout, and no particular client.
| Prompt | Arguments | What it drives |
|---|---|---|
diagnose_crash |
projectId |
Registration check, get_crash_callstack, get_editor_state, then the output log around the crash |
diagnose_bridge_disconnect |
projectPath (optional) |
Which leg of the bridge is broken: registry state, get_project_id cross-check, ping_project, plugin-side log evidence |
smoke_test_bridge |
projectId |
Green-path proof: registration, ping_project, get_editor_state, and a full log subscribe-emit-drain cycle |
add_gameplay_feature |
projectId, className, parentClass, moduleName (optional) |
create_cpp_class → wait_for_job → implement → trigger_live_compile → run_automation_tests → save_dirty_packages |
fix_blueprint_compile_errors |
projectId, blueprintPath (optional) |
Read the graph before editing it: get_blueprint_compile_errors → get_blueprint_summary/get_blueprint_graph → targeted authoring edits → compile_blueprint until it settles |
profile_hitch |
projectId, tracePath (optional) |
start_insights_trace → reproduce → stop_insights_trace → analyze_trace, then confirm the suspect scope against get_stat_snapshot and the project |
setup_gas_character |
projectId, characterName, packagePath (optional) |
Bottom-up GAS stack: tags → attribute set → cost/cooldown effects → ability → cue → character Blueprint |
port_blueprint_to_cpp |
projectId, blueprintPath, moduleName (optional) |
get_blueprint_summary/find_blueprint_references → create_cpp_class → implement with matching member names → build → reparent → tests |
diagnose_bridge_disconnect and smoke_test_bridge are distilled from the same-named skills in .agents/skills/. Those files stay separate on purpose: they are maintainer runbooks that reference just recipes, registry.json paths, and pino module loggers, and the published package ships dist only, so they cannot be read at runtime. Each skill carries a pointer to its prompt counterpart so the two do not silently diverge.
Tool annotations, toolsets and search mode
Every tool declares all four MCP annotation hints — readOnlyHint, destructiveHint, idempotentHint, openWorldHint — so a client can auto-approve a query and prompt on a delete. openWorldHint is true only where the tool reaches past the project directory and the running editor: a target device, or a source file the caller names.
The gateway groups the tools into toolsets: core, build, test, level, asset, blueprint, anim, ai, gas, ui, sequence, fx, audio, input. Two environment variables shape what a client sees:
UEMCP_TOOLSETS— a comma-separated selection, orall. Unset means every toolset, which is what a client that has never heard of this setting keeps getting.coreis always included, becauseenable_toolsetlives there and it is the way back to the rest of the list.UEMCP_TOOLSETS=corefits inside the ~40-tool ceiling clients like Cursor impose;enable_toolsetloads a further group at runtime and emitsnotifications/tools/list_changed.UEMCP_TOOL_MODE—direct(the default) advertises the tool list.searchadvertises exactly three meta-tools —search_tools,get_tool_schema,call_tool— for a client that cannot hold a large tool list at all.search_toolsranks the catalog with BM25 over names, titles, descriptions and toolset keywords;call_toolvalidates against the same schema a direct call uses, so an invalid payload fails identically. The prompts name tools directly; in search mode each one opens with a line saying to run those names throughcall_tool.
A plugin that reports its supported request types (see the plugin's capability list) also shapes the tool list: a tool whose bridge request no registered plugin serves is hidden, and calling one against a plugin that cannot serve it returns a clear unsupported error before a socket is opened. A plugin build that predates capability reporting leaves every tool visible.
Progress notifications
wait_for_job sends notifications/progress as a job advances whenever the request carried a _meta.progressToken, and sends nothing when it did not. progress is the milliseconds waited against a total of the wait budget, so it rises monotonically and a client can render a bar. kind covers build, compile, create_class, import, package (cook, package and commandlet jobs), pie, render, source_control and test_run; package is server-side and needs no registered editor.
Configuration
- Engine toolchain (
build_target,generate_project_files,clean_build):UE_INSTALLS_DIR— base directory holding installed engines (UE_<version>)
run_clang_tidy:CLANG_TIDY_PATH— optional clang-tidy binary override
- Tool surface:
UEMCP_TOOLSETSUEMCP_TOOL_MODE
- Local HTTP registry API:
MCP_SERVER_HTTP_HOSTMCP_SERVER_HTTP_PORT
- Logging:
MCP_SERVER_LOG_LEVELMCP_SERVER_LOG_FORMAT
Install
npm install
Run
npm run dev
npm run lint:fix
npm run typecheck
npm run build
npm start