server

v1.19.0
@uemcp/server Checked 1 day ago Published 4 days ago

MCP 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 /ping
  • PUT /projects/:projectId
  • DELETE /projects/:projectId

The MCP tool surface currently exposes:

  • get_project_id
  • add_module
  • list_registered_projects
  • ping_project
  • wait_for_job
  • build_target
  • generate_project_files
  • clean_build
  • cook_content
  • package_project
  • run_editor_commandlet
  • get_package_status
  • get_package_size_report
  • cancel_package_job
  • generate_buildgraph_script
  • run_localization
  • get_localization_stats
  • analyze_trace
  • get_config_value
  • set_config_value
  • list_config_section
  • run_clang_tidy
  • list_actors
  • get_actor_details
  • get_current_level
  • spawn_actor
  • destroy_actor
  • set_actor_transform
  • set_actor_property
  • select_actors
  • undo
  • redo
  • open_level
  • get_open_level_status
  • get_source_control_status
  • refresh_source_control_status
  • checkout_assets
  • get_source_control_job_status
  • list_asset_factories
  • create_asset
  • duplicate_asset
  • rename_asset
  • move_asset
  • delete_asset
  • save_asset
  • create_folder
  • get_asset_metadata
  • validate_assets
  • 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
  • set_viewport_camera
  • focus_actors
  • set_view_mode
  • toggle_show_flags
  • high_res_screenshot
  • duplicate_actor
  • attach_actor
  • add_actor_component
  • set_actor_tags
  • move_to_folder
  • place_asset
  • replace_actors
  • build_lighting
  • build_navigation
  • build_hlod
  • build_reflection_captures
  • build_geometry
  • build_texture_streaming
  • build_virtual_textures
  • precompute_visibility
  • get_build_job_status
  • create_gameplay_tag
  • list_gameplay_tags
  • create_landscape
  • sculpt_landscape
  • paint_landscape_layer
  • run_geometry_script
  • list_data_layers
  • set_data_layer_state
  • load_wp_region
  • get_asset_property
  • set_asset_property
  • array_property_op
  • create_struct
  • create_enum
  • create_blueprint
  • add_bp_variable
  • add_bp_function
  • add_bp_event
  • add_bp_component
  • add_bp_interface
  • set_bp_default
  • batch_edit
  • import_asset
  • reimport_asset
  • set_import_settings
  • get_import_job_status
  • create_blackboard
  • set_blackboard_keys
  • create_eqs_query
  • create_state_tree
  • add_state_tree_state
  • bind_state_tree_properties
  • draft_state_tree_from_behavior_tree
  • import_nne_model
  • get_nne_runtimes
  • create_chooser_table
  • evaluate_chooser_table
  • 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
  • create_pose_search_schema
  • create_pose_search_database
  • get_pose_search_asset
  • build_pose_search_index
  • create_control_rig
  • create_physics_asset
  • get_physics_asset
  • edit_physics_bodies
  • edit_physics_constraints
  • place_physics_constraint_actor
  • create_level_sequence
  • add_sequence_binding
  • add_sequence_track
  • add_sequence_keys
  • add_foliage_type
  • paint_foliage
  • create_sound_cue
  • create_metasound
  • set_metasound_graph
  • find_symbol
  • export_blueprint_cpp
  • lint_blueprint
  • diff_blueprints
  • set_texture_settings
  • set_static_mesh_build_settings
  • create_string_table
  • edit_string_table
  • get_string_table
  • import_string_table_csv
  • export_string_table_csv
  • add_reflected_member
  • scaffold_class_template
  • scaffold_automation_spec
  • scaffold_functional_test
  • get_live_compile_details
  • run_editor_python
  • set_navmesh_settings
  • set_nav_agents
  • set_crowd_settings
  • create_nav_area
  • add_nav_modifier_volume
  • add_nav_link
  • find_path
  • test_reachability
  • create_smart_object_definition
  • get_smart_object_definition
  • add_smart_object_component
  • create_mass_entity_config
  • edit_mass_entity_config
  • get_mass_entity_config
  • validate_mass_entity_config
  • place_mass_spawner
  • get_mass_stats
  • diagnose_navmesh
  • get_gameplay_debugger_data
  • start_visual_logger_recording
  • stop_visual_logger_recording
  • query_visual_logger_entries
  • clear_visual_logger_entries
  • get_bulk_asset_operation_status
  • bulk_asset_operation
  • update_bt_nodes
  • move_bt_nodes
  • remove_bt_nodes
  • create_learning_agents_setup
  • start_learning_agents_training
  • get_learning_agents_training_status
  • stop_learning_agents_training
  • create_ml_deformer
  • get_ml_deformer
  • start_ml_deformer_training
  • get_ml_deformer_training_status
  • add_zone_shape
  • build_zone_graph
  • bind_smart_object_interaction
  • query_smart_objects
  • create_gameplay_behavior_config
  • bind_smart_object_gameplay_behavior
  • render_asset_thumbnail
  • add_material_expression
  • delete_material_expression
  • connect_material_expressions
  • connect_material_property
  • set_material_expression_properties
  • get_material_graph
  • compile_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 checks with a pass / warn / fail status and, for anything that is not passing, the fix that clears it
  • Covers engine installs under UE_INSTALLS_DIR and whether UnrealBuildTool resolves in each, the MCPBridge descriptor beside the project or under an engine, the ProjectID in Config/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
  • projectId narrows the bridge and version checks to one editor, and fails when nothing is registered under it; projectPath names 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 .uproject or .uplugin) and a moduleName
  • Scaffolds Source/<moduleName>/ next to the descriptor: <moduleName>.Build.cs, Public/<moduleName>.h, and Private/<moduleName>.cpp with IMPLEMENT_MODULE
  • Registers the module in the descriptor's Modules array (Type defaults to Runtime, LoadingPhase to Default)
  • 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 (always 127.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: true pings each returned entry once, concurrently, and adds reachable (plus reason when unreachable) under an overall time budget
  • Bounded by maxResults (default 50) with totalCount and truncated; ordering is stable across calls
  • Never mutates the registry — ping_project owns 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 = 3
    • initialDelayMs = 500
    • retryMultiplier = 2.0
  • Uses retry delays of approximately 500ms, 1s, and 2s
  • 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_*_status tool would have returned under status
  • Replaces a client-side poll loop for kind bulk_asset (bulk_asset_operation), compile (trigger_live_compile / trigger_hot_reload), create_class, test_run, pie, package (cook_content / package_project / run_editor_commandlet), and source_control (checkout_assets / refresh_source_control_status); kind is required because job ids are bare GUIDs
  • outcome is completed, timed_out (last observed status still returned), or unknown_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
  • package is a server-side child process, so waiting on one needs no registered editor — every other kind does
  • Emits notifications/progress on each poll when the request carried a _meta.progressToken, and nothing when it did not
  • For test_run, status.results is the first page — page the rest with get_test_run_status and nextCursor

build_target / generate_project_files / clean_build

  • Resolve the engine from the .uproject EngineAssociation (or an explicit engineVersion) under UE_INSTALLS_DIR
  • Spawn UnrealBuildTool as a child process: on macOS/Linux the engine-bundled dotnet runs the UBT .dll (falling back to dotnet on PATH if the bundle is absent); on Windows the .exe runs directly
  • build_target returns pass/fail plus parsed error/warning diagnostics; clean_build adds -Clean; generate_project_files runs -Mode=GenerateProjectFiles
  • build_target/clean_build refuse to run when the project's editor is registered and reachable (link conflicts on Windows, ignored output on macOS/Linux) — pass force: true to override
  • Do not require a running editor

cook_content / package_project / run_editor_commandlet / get_package_status / cancel_package_job

  • Resolve UnrealEditor-Cmd and AutomationTool from the same resolveEngine result the build tools use, and take no new configuration. On macOS/Linux AutomationTool is RunUAT.sh (never the RunUAT.command Finder wrapper). On Windows it is AutomationTool.dll run under the engine-bundled dotnet (falling back to dotnet on PATH if the bundle is absent), because Node cannot spawn a .bat without a shell and routing these arguments through cmd.exe would put project and archive paths through a command interpreter. That path builds the child environment RunUAT.bat would have: the bundled runtime prepended to PATH, DOTNET_ROOT / DOTNET_MULTILEVEL_LOOKUP / DOTNET_ROLL_FORWARD set, and the Visual Studio variables a developer shell exports cleared so they cannot steer .NET resolution
  • cook_content runs a full offline cook (-run=Cook -TargetPlatform=<platform>, -CookAll or -Map=A+B); package_project runs AutomationTool BuildCookRun (build + cook + stage + pak + archive)
  • Both return a packageJobId immediately and run in the background — expect minutes to tens of minutes (default timeout 90 minutes, ceiling 2 hours). Poll with get_package_status, abort with cancel_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 with cancel_package_job if you need the slot
  • get_package_status reports running / succeeded / failed / cancelled / unknown_job plus structured cook/UAT diagnostics, an output tail that fills while the job runs, truncation flags, exit code and timing. kind is absent for unknown_job — a bare job id carries no kind. cancel_package_job marks the job cancelled but leaves it running until 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 capped
  • run_editor_commandlet runs 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 assets
  • cook_content, package_project and run_editor_commandlet refuse to run while the project's editor is registered and reachable (a second editor process contends for the same Saved/, Intermediate/ and DDC paths, and write-capable commandlets race packages the live editor holds in memory) — pass force: true to override

generate_buildgraph_script

  • Writes a BuildGraph XML script for project CI, from the project (projectPath, or the registered projectId), the targets UBT would see in Source/**/*.Target.cs and the requested platforms (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 (both BuildCookRun); and run editor automation tests (UnrealEditor-Cmd -ExecCmds="Automation RunTests <filter>;Quit"; the trailing Quit makes the editor exit non-zero when a test fails, which fails the node). Aggregates Compile All, Cook All, Package All and Build All
  • UProject, TargetPlatforms (+-separated, limited to the generated platforms), Configuration, ArchiveDir, RunTests, TestFilter and TestReportDir are BuildGraph Options, so CI overrides them with -set:Name=Value without 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>.xml by default; outputPath must end in .xml and resolve inside the project directory, also through symlinks. An existing file is replaced only with overwrite: 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 characters Automation RunTests filters use, so it cannot chain console commands
  • Returns runCommand (RunUAT BuildGraph -Script=… -Target="Build All" -set:…) and listOnlyCommand (the same plus -ListOnly), each as argv and as a line to paste into a shell. validate: true runs the -ListOnly check 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,SourceString header with one extra column per meta-data id. Quotes and newlines in source strings survive the round trip
  • import_string_table_csv parses into a scratch table first, so a CSV the engine rejects (no Key or SourceString column) leaves the asset untouched. replace (default) clears the table as the editor does; merge keeps entries the CSV does not name. content over 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 rest merge. The server does not split it. A record that alone exceeds the limit after CSV escaping cannot be imported; edit_string_table can set it only when its source string is at most 4,096 characters, so a longer one has no path through these tools
  • export_string_table_csv returns the CSV in chunks of up to 24,576 characters, fewer when non-ASCII text would overflow the frame; follow nextCursor, passing back each page's snapshot, and concatenate content. A table edited between pages is refused with export_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_localization runs a Localization Dashboard target's steps the way the dashboard does: UnrealEditor-Cmd <project> -run=GatherText -config=<scripts> with the target's Config/Localization/<Target>_Gather.ini, _Import.ini, _Export.ini, _Compile.ini and/or _GenerateReports.ini joined by ;, always in that pipeline order (default gather + compile). It is a run_editor_commandlet job, so poll it with get_package_status (or wait_for_job kind package) and cancel it with cancel_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_stats reads the target's Gather.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_content or package_project job has finished (or for any projectPath + 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, or Saved/StagedBuilds/<Platform>): each pakchunkN / global container set on disk, plus a loose chunk for everything outside a container, so the chunk totals always sum to packageSizeBytes. A cook job has no archive, so its size is the Saved/Cooked/<Platform> output (minus the cook's Metadata folder)
  • Asset sizes come from UnrealPak -List over every .pak and .utoc (compressed, per chunk; the cook's Crypto.json is passed for encrypted containers). If UnrealPak is missing or any container fails to list, it falls back to the uncompressed Saved/Cooked file sizes and says so in warnings
  • Without an editor, asset types are only World (a .umap) or Unknown. Pass projectId of a running editor to type them from the Asset Registry (find_assets, the 40 heaviest content directories). explain: true also walks get_asset_dependencies referencers from each top asset, counting only referencers that were themselves cooked, and returns the shortest chain to a root — a cooked package nothing else in the cook refers to (a listed map, a primary asset, an always-cook entry)

analyze_trace

  • Turns the .utrace that stop_insights_trace hands back into a readable summary; the binary container is otherwise a dead end for an assistant
  • Runs the engine's UnrealInsights headlessly (-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 resolveEngine discovery as the build tools (engineVersion or projectPath) — 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 truncated names 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 .utrace and an analyzer timeout or non-zero exit each raise their own error; an engine install with no Insights binary returns state: '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/Config hierarchy and the +/-/./! array operators, and a live editor rewrites its config on save, so a raw file write behind it is clobbered
  • file is a closed enum (Engine, Game, Input, Editor, EditorPerProjectUserSettings) — the tools cannot be pointed at an arbitrary path
  • get_config_value returns the resolved value, the ini it came from, and resolvedFrom (engine_base / project_default / saved_user), and reports present: false for an unset key so absent is distinguishable from present-but-empty
  • set_config_value writes Config/Default<File>.ini by default (or the Saved/Config override with scope: '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 with valueTruncated / previousValueTruncated set, rather than failing the whole call
  • list_config_section dumps one section as key/value pairs, sorted for a stable cursor and paged with nextCursor / totalCount / truncated
  • All three require a registered editor; without one, set_config_value explains why instead of writing the file behind the editor's back

run_clang_tidy

  • Reads the synced compile_commands.json from the provided compileCommandsDir
  • Spawns clang-tidy (server-configured via CLANG_TIDY_PATH, else PATH) 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_assets remains the tool for those)
  • Every actor is identified by actorPath — AActor::GetPathName(), e.g. /Game/Maps/Test.Test:PersistentLevel.StaticMeshActor_3 — carried alongside the display label. The path is the only stable, unique, resolvable identifier; labels are neither unique nor resolvable, so never address an actor by one. The same actorPath round-trips through get_editor_state, list_actors, and select_actors
  • list_actors filters by class and by name substring, and pages with nextCursor / totalCount / truncated. Pages are trimmed by encoded bytes as well as by entry count, because actor paths vary wildly in length — totalCount stays authoritative when a page truncates
  • get_actor_details reports the actor's class, transform, folder, tags, components, and reflected properties, paging components and properties independently. Property values are ExportText, the same format get_cdo_defaults emits and set_actor_property accepts
  • get_current_level reports 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 FScopedTransaction on 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 the transactionTitle the batch collapsed into
  • All five take arrays and return per-item results ({ index, ok, actorPath?, error? }) with successCount / 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: true validates everything the real call validates — class resolves, actor exists, property path resolves and the value coerces — and reports what would change with state: 'validated', opening no transaction and touching no world state
  • Mutations Modify() the objects they touch and dirty their packages, so save_dirty_packages subsequently reports and persists them
  • set_actor_transform treats each of location / rotation / scale as 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 nothing
  • set_actor_property addresses a property on the actor (bHidden) or on one of its components (StaticMeshComponent.RelativeScale3D), and writes via ImportText_InContainer — the exact inverse of the reader, so a value read from get_actor_details or get_cdo_defaults can be edited and written back with no format translation. EditConst and non-editable properties are rejected with an explicit error rather than silently no-op'ing
  • select_actors sets the editor selection; an empty actorPaths clears it, and addToSelection adds rather than replaces. It reports the resulting selectedActorCount
  • 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 transactionTitle they acted on, or state: '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 transactionTitle before 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_level does not load inline: it validates the request, schedules the load onto the next editor tick, and returns state: 'opening' with an openLevelJobId. Poll it with get_open_level_status (or wait_for_job) until the state leaves opening
  • dryRun: true checks that the level package exists and reports state: '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 undo cannot bring the previous level back
  • Actor paths do not survive a load: re-run list_actors against 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_progress rather 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 .uasset stays 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_status answers inline: it reads the provider's own state cache, which is a memory lookup rather than a server round trip. It reports the provider name, enabled (is source control configured at all), available (is it currently connected), and one entry per requested path with a state of checked_out_by_me, checked_out_by_other (plus checkedOutBy naming the holder), marked_for_add, not_checked_out, not_in_depot, or unknown
  • enabled is 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_status is how it becomes a real answer. A path that resolves to no package on disk also reports unknown, but carries an error saying so — an unresolvable path never passes as a depot answer
  • refresh_source_control_status and checkout_assets talk 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 returns state: 'accepted' with a sourceControlJobId. Poll it with get_source_control_job_status, or wait with wait_for_job using kind: 'source_control'
  • The poll reports successCount / failureCount and one result per file with its post-operation state, so a checkout is confirmed without a second query. One asset the provider refuses does not abort the rest — it reports ok: false with its own error
  • 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 with source_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_assets can locate one but nothing can read it off disk, so these are the only way in. read_data_table loads the asset and reports the row struct it is typed on, an ordered column list ({ name, type }, using the same type rendering get_class_reflection emits), and each row as a column-name-to-value map
  • Values are ExportText, the same format get_actor_details and get_cdo_defaults emit and set_actor_property accepts, 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 — RowMap iteration 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 by maxRows, because one row of a wide tuning struct can cost more than a whole page of asset entries; totalRowCount stays authoritative when a page truncates
  • loadIfNeeded: false refuses to load an unloaded table and reports asset_not_loaded. Unlike get_blueprint_summary there is no metadata-only fallback: a DataTable carries no Asset Registry tags describing its rows
  • write_data_table_row upserts 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 reports unknown_column and lists the valid ones; a value that will not parse reports invalid_row_value and names the field and its type
  • Numeric and boolean values are range-checked before ImportText rather than after: the engine's importer takes not-a-number as 0 and 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 with save_dirty_packages. dryRun: true validates everything and reports state: 'validated', opening no transaction
  • Deleting a row that does not exist is not a failure: it reports rowExisted: false with an explanatory message, because the table is already in the requested state
  • A .uasset sits 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_required for a file that is simply not checked out, source_control_checked_out_by_other naming 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 with checkout_assets
  • In a non-editor plugin build read_data_table fails with unsupported and write_data_table_row returns state: '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_table returns the serialized table in chunks by character offset, because the engine produces one string rather than anything row-addressable. Concatenate chunks in nextCursor order 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 pair
  • import_data_table replaces every row — that is what the engine's importer does, so a row absent from the content is a row deleted. Use write_data_table_row to 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 problems while the rest still apply, so check problemCount even on success. dryRun: true runs 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 content is capped at BRIDGE_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_table binds a row struct at creation and never after — UDataTable::RowStruct can 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 an FTableRowBase child nor a user-defined struct reports invalid_row_struct rather than producing a table that accepts no rows. The new table is dirty and unsaved, like every other DataTable write
  • rename_data_table renames, 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. newName must be a bare asset name: one carrying a path separator is refused rather than silently relocating the asset somewhere the caller never named
  • delete_data_table is 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 with asset_referenced and its referencers reported; force deletes anyway and breaks them
  • rename_data_table_row keeps 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 any FDataTableRowHandle pointing 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 GetReferencers returns 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 report asset_registry_scanning only 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_factories enumerates every factory that can create new assets (CanCreateNew() and ShouldShowInNewMenu()), 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 with nameFilter; results page by nextCursor
  • create_asset goes through IAssetTools::CreateAsset, never the Content Browser's CreateAssetWithDialog, and never calls UFactory::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 options instead: each key is a reflected property on the factory (ParentClass for 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_assets locates assets and get_asset_dependencies describes them; these are what reorganize them
  • Rename and move both go through IAssetTools::RenameAssets rather 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_asset queries referencers first and refuses with their names rather than leaving them pointing at nothing; force deletes anyway. There is no transaction behind it — asset deletion is not undoable
  • save_asset saves without prompting (the prompting variants can open a modal). A package that was already clean reports saved: false as a success, not a no-op error
  • create_folder reports state: '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 so
  • get_asset_metadata answers from the Asset Registry's FAssetData and 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. loaded reports whether it happens to be in memory already; false is normal

validate_assets

  • Runs UEditorValidatorSubsystem — the Content Browser's Validate Assets — on assetPaths and/or every asset under folderPaths (recursive by default), so the project's own validators run alongside each asset's IsDataValid
  • Each entry is valid, invalid, not_validated (no validator applies), skipped (cooked, or under a directory the project's Data Validation settings exclude) or not_found, with that asset's errors and warnings. At most 10 of each are kept per asset, each cut to 512 characters; messagesTruncated says 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) with totalCount and nextCursor. A page can also end early to stay inside the frame budget — follow nextCursor until it is absent
  • Fails with unsupported when 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_graph reads a graph; these write to one, and they work on any UEdGraph — 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. nodeId from list_graph_nodes is what every other tool here takes. list_graph_nodes is the only read here, so it is the only one that takes loadIfNeeded; the write tools need the asset in memory regardless
  • add_graph_node builds the node through FGraphNodeCreator, so it allocates its own pins and gets the schema's default wiring. kind picks how it is addressed: class by node class, function by member name and parent class, variable_get / variable_set by variable. It returns the placed node with its pins, so the caller can wire it without a follow-up read
  • connect_pins asks the schema's CanCreateConnection before connecting, so an illegal wire comes back with the schema's own refusal text rather than a generic failure after the fact
  • set_pin_default refuses 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 it
  • list_available_nodes answers from FBlueprintActionDatabase filtered by this graph's context, so what it lists is what the graph would actually accept rather than every node class the editor knows about
  • layout_graph arranges 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 tab
  • add_graph_node with autoLayout moves only the new node: from position it slides down until it overlaps nothing, and with no position it 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 about
  • add_graph_comment frames a node set in a comment box with the editor's 50-unit margin, sized from the same estimated node sizes layout_graph uses. insert_reroute_node puts a knot on an existing wire the way double-clicking it does, and the knot takes the wire's type. Both are one undo step
  • collapse_graph_nodes is 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. function refuses events, latent nodes and a set with more than one exec wire in or out — the same checks the editor runs. A name is used exactly or refused with name_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_blueprint and save_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_camera takes every field optionally, so a caller can change the rotation without restating a location it does not want moved. orthoWidth is only meaningful for an orthographic projection, and a perspective viewport reports it absent rather than as a zero that reads like a width
  • focus_actors frames the given actors in the active viewport only, so focusing does not yank every open viewport to the same place
  • toggle_show_flags reads 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 wrong
  • high_res_screenshot queues the capture for the next rendered frame, so the reported filePath is where the file will be, not proof that it is there. includeUi cannot be combined with a multiplier above 1: the high-resolution path renders the scene alone. fileName is a name and not a path — the capture always lands under the project’s Saved/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 FScopedTransaction around 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_actor with an empty parentActorPath detaches; the location, rotation and scale rules map onto EAttachmentRule so a caller gets the same choice the editor offers rather than one hard-coded behaviour
  • place_asset goes through the actor factory the engine picks for the asset, which is what turns a Static Mesh into an AStaticMeshActor and a Blueprint into an instance of its generated class
  • replace_actors preserves each actor's transform, label and attachment, which spawn-then-destroy does not
  • dryRun: true validates every entry and reports state: '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 a buildJobId. Poll it with get_build_job_status, or wait with wait_for_job using kind: '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 failed with its own error text, never as succeeded-with-warnings
  • A build interrupted by the bridge shutting down reports cancelled, not a running state that never resolves
  • build_hlod takes an hlodAction because 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 .ini files rather than in an asset, so declaring one is a config write
  • create_gameplay_tag goes 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_tags reports declared tags rather than every parent a declaration implies, so Ability.Fire.Bolt does not also list Ability and Ability.Fire. Filter with prefix; results page by nextCursor

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_landscape reports 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 uint16 encoding or its 32768 midpoint
  • heightmap_file mode 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 terrain
  • noise takes a seed, so the same request twice produces the same terrain and a caller can raise the amplitude without the shape moving underneath them
  • paint_landscape_layer names 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 a UStaticMesh asset (dirty and unsaved, like every other asset write here); output: 'dynamic_mesh_actor' spawns an ADynamicMeshActor that lives in the level and in no asset. Supply label with 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_actors there answers about what is in memory rather than about what the level contains
  • list_data_layers reports isWorldPartition, so an empty list on an ordinary map reads as "there are none" rather than "none are loaded"
  • set_data_layer_state changes 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 ignored
  • load_wp_region pins 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
  • propertyPath walks structs, array elements and object references (Modifiers[1].Magnitude), and an FPostProcessSettings-style field also sets its bOverride_ 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 UBlueprint bookkeeping object that carries none of the user's properties
  • array_property_op exists because an array cannot be written as one exported string without knowing the whole array. It reports elementCount after 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 / FEnumEditorUtils rather 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 optional container (array, set, map) and a subtype naming 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
  • rebuiltAssets reports 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_blueprint reports the generated class path (/Game/BP/BP_Foo.BP_Foo_C), which is what spawn_actor and every class reference take — not the asset path
  • add_bp_variable carries replication: rep_notify also authors the OnRep_ handler graph, because a CPF_RepNotify variable whose handler does not exist fails to compile
  • add_bp_event distinguishes override from custom. An override takes its signature from the parent, so declaring inputs on 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_default writes the same reflected values set_asset_property does, 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 spawn binds a caller-supplied handle, and a later op addresses it as handle:<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
  • handles reports what each handle bound to, so the new actors are addressable afterwards. A rollback reports failedIndex and failedError and no handles, because none of them exist any more
  • dryRun validates 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 an importJobId. Poll it with get_import_job_status, or wait with wait_for_job using kind: '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_settings stores 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 floor
  • get_import_job_status is 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, class or enum key 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_keys with mode: '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
  • eqsEnabled reports 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. supportedVersions is 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_state compiles by default and reports compiled separately from the per-state results: a tree that was authored but not compiled reports false with 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_tree reports 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's TargetActor takes the context Actor
  • 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: true in 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_tree and authors a new StateTree from it through create_state_tree, add_state_tree_state, get_state_tree and update_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 unmapped with a reason and a suggested replacement

import_nne_model / get_nne_runtimes

  • import_nne_model imports an .onnx file as an NNE Model Data asset through the engine's own ONNX importer, optionally restricting targetRuntimes, and leaves it dirty for save_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 in compatibleRuntimes
  • Runtimes come from optional plugins such as NNERuntimeORT. With none enabled the answer is available: false and an unsupportedReason, not an error; the import itself still works
  • A runtime the model's targetRuntimes leaves out is reported targeted: false and 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 Chooser engine plugin through the MCPBridgeChooser add-on (see Add-ons). Until that add-on is enabled, these tools are hidden
  • create_chooser_table builds a table with one context parameter (contextClass), bool, float_range and enum filter columns bound to its properties (dotted to reach into a struct), rows that each return an asset, and an optional fallback
  • 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_table runs the table against a context object the way a Blueprint's Evaluate Chooser node does and returns the selected asset, or null when 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 GameFeatures and ModularGameplay engine plugins through the MCPBridgeGameFeatures add-on (see Add-ons). Until that add-on is enabled, these tools are hidden
  • create_game_feature_plugin does what the editor's content-only Game Feature template does: Plugins/GameFeatures/<pluginName>/<pluginName>.uplugin with ExplicitlyLoaded and BuiltInInitialFeatureState (initialState, default active), 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's transitionId
  • 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 with not_a_game_feature
  • add_game_feature_action with add_components appends a GameFeatureAction_AddComponents. actorClass may be abstract but not AActor itself (the component manager refuses it), componentClass must 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 activation
  • add_input_mapping answers state: '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 by add_game_feature_action and list_game_feature_actions. It survives save, reload and edits to other actions, so remove_game_feature_action takes it rather than a position; an unknown id fails with action_not_found. An action whose class is no longer in the project loads as an empty slot, listed with actionId: null; removeBrokenActions: true, given instead of actionId, removes all of them and reports removedCount (0 when none are broken)
  • Action edits are saved immediately, since plugin content is outside /Game, where save_asset does not write
  • set_game_feature_state starts driving the feature through the GameFeatures subsystem and returns at once with a transitionId. A transition takes several editor frames and a bridge request runs inside one, so outcome is normally pending; it is completed straight away when the feature is already at the target
  • get_game_feature_transition_status reports a transition's outcome (pending, completed, or failed with the engine's error), its targetState and reachedState, and startedAt / finishedAt. The editor keeps the last 64 transitions until it restarts; an id it no longer has fails with unknown_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 PoseSearch engine plugin through the MCPBridgePoseSearch add-on (see Add-ons). Until that add-on is enabled, these tools are hidden
  • create_pose_search_schema sets the skeleton, an optional mirror data table, the sample rate and trajectory / pose channels with per-sample and per-bone flags and weights; omitting channels takes the engine's default pair. Bone names are checked against the skeleton first, and the result reports the finalized cardinality
  • create_pose_search_database adds animation sequences, blend spaces, anim composites and montages with optional samplingRange, mirror and enabled. Type, skeleton compatibility, range and the mirror table are checked for every entry before the asset is created
  • get_pose_search_asset pages a schema's channels or a database's animation entries with cursor / maxResults (default 100, at most 256); a page may hold fewer to fit one response, nextCursor is set while entries remain and totalCount is the full count
  • build_pose_search_index blocks until the index is built and returns state built with poseCount, segmentCount and cardinality, or failed; either way errors and warnings carry what LogPoseSearch reported 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 fkControls entry 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 twoBoneIk entry adds <name>_effector_ctrl at the effector bone and <name>_pole_ctrl at boneB + poleOffset, feeding a Basic IK node. boneA must be boneB's parent and boneB the effector's, or the call fails with invalid_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_asset generates a ragdoll for a skeletal mesh through the same generator as the editor's Create Physics Asset action: geomType (capsule by default), minBoneSize, bodyForAll, createConstraints and angularConstraintMode. bodyPhysicsType sets every body to simulated or kinematic instead of following the component. assignToMesh also makes it the mesh's physics asset, refused for a mesh outside /Game
  • get_physics_asset reads 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 frame
  • edit_physics_bodies adds, resizes and removes sphere, box, capsule and tapered-capsule shapes, overrides or clears mass, and sets physics type and collision. edit_physics_constraints takes the same limit and drive shape get_physics_asset returns, with every field optional. Both check every entry before writing, run as one undoable transaction, and leave the asset dirty for save_asset. Engine content and packages needing a checkout are refused
  • place_physics_constraint_actor joins two actors (or one actor to the world) in the current level, optionally by component and bone, at the midpoint unless location is 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_sequence reports back both displayRate and tickResolution, since every frame number in add_sequence_keys resolves through them
  • add_sequence_keys requires timeUnit: 'frames' resolves through the display rate and 'seconds' through the tick resolution. It reports resolvedFrames, which is the number that proves a seconds-based request converted correctly on a non-default rate
  • A possessable binding names an actor in the level; a spawnable one needs a template, so it takes an actor to copy or a class to instance
  • A camera_cut track belongs to the sequence itself; every other kind belongs to a binding, so bindingId is required for them. A property track 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, placedCount and skippedCount are reported separately: a placement whose downward trace hit nothing, or hit ground outside the slope limits, is skipped rather than placed floating. instanceCount is 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
  • rootNodeId must name one of the nodes in the same request, and a wave_player must 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_graph declares 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 UStaticMeshEditorSubsystem so 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_lods and convert_to_nanite therefore ask whether the mesh is still compiling first and report rebuildPending instead of counts: LOD triangle counts come back empty and the Nanite counts zero while it is true
  • generate_lods takes 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. screenSize goes on every entry or on none: the engine computes the whole ramp or takes all of it from the request
  • generate_collision takes one of the engine's own simple shapes, or convex for a decomposition. primitiveCount reports the shapes the body setup actually holds afterwards, which for a convex decomposition is the hulls it produced — hullCount is what was asked for, not what came back. convex with replaceExisting: false is refused, because the engine's decomposition clears the existing simple collision whatever it is asked to do
  • convert_to_nanite writes fallbackPercentTriangles and keepPercentTriangles separately, 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. rebuildPending is 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_settings covers compression (normalmap, masks, user_interface, hdr, bc7, …), LOD group (WorldNormalMap, or the full TEXTUREGROUP_WorldNormalMap), sRGB, neverStream, maxTextureSize and lodBias. set_static_mesh_build_settings covers the per-LOD FMeshBuildSettings: normal/tangent recompute, MikkTSpace, lightmap UV generation and channels, UV and tangent-basis precision, distance field resolution and build scale, for one lodIndex or 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
  • save defaults 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; with save: false the rebuild finishes in the background and rebuildPending says 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_lods and generate_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_params reports overridden per 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 default
  • set_material_params refuses 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*ParameterValue helpers always report failure, so their answer cannot be the test
  • assign_material with no componentName writes 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 it
  • assign_material targets 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 with not_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_expression takes 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; writing Texture also picks the matching sampler type, as dropping a texture on the node in the editor does
  • Pins are named as get_material_graph reports them (or indexed); an unknown pin is answered with the pins the expression has. Connecting replaces whatever fed the input before and reports it as replacedExpression
  • Every edit is one undoable transaction. Edits are refused with material_editor_open while 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_material does, 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 FPostProcessSettings is ignored unless its sibling bOverride_<Name> bool is true, so each write sets both and reports the override flags it turned on in overridesSet
  • 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_material verifies 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, because AddActor alone 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_modifiers names attributes as Set.Attribute, and a modifier op maps onto the engine's own EGameplayModOp — multiply is MultiplyAdditive, which is what the effect editor means by it

create_attribute_set / create_gameplay_ability

  • create_attribute_set writes 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 reports trigger_live_compile as the tool that makes them real
  • The generated class carries the target module's _API macro, without which another module that references the attribute accessors links against nothing. Its header includes AbilitySystemComponent.h, so a module whose Build.cs does not already depend on GameplayAbilities is 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 className that 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_ability writes a Blueprint class under UGameplayAbility and 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 childIndex becomes 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. inverse on a decorator sets bInverseCondition, 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_tree reports. 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_nodes writes 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. inverse is a decorator-only field and fails the item on anything else
  • move_bt_nodes reconnects 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 restored
  • remove_bt_nodes takes a composite or task with its whole subtree, or a single decorator or service, and lists every GUID that went in removedNodeGuids. 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_sections refuses a section past the end of the montage, and reports sectionCount afterwards, 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_notify creates 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_scene reads 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 (primaryActor and custom modes) are computed the same way here, because the runtime aligns every actor against them; socket warp points are resolved from the live actor at run time and reported in warnings
  • The scene actor component plays tracks as montages, so a track holding a plain sequence is accepted but reported in warnings and animationIsMontage: false; wrap it with create_montage. The warp target names must match the Motion Warping windows in those montages
  • The assets are saved unless save: false. valid is the engine's own check that the scene can be selected at runtime
  • Backed by the ContextualAnimation engine plugin through the MCPBridgeContextualAnim add-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::AddSample widens the axis to fit a sample before it validates one, which would quietly undo the ranges create_blend_space set
  • A sample the asset refuses — a duplicate position, a skeleton or additive mismatch — is reported in validationIssues with 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 GetSamplesFromBlendInput finds 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_machine renames the nested graph to the caller's machine name and reports it, because that name is what add_anim_state and add_anim_transition address
  • A state with an animationPath gets 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 goalName creates 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_retargeter seeds 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 sourceChain is 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_retargeter reports unmappedSourceChains and unmappedTargetChains. 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_widget and set_widget_slot report the slot class rather than taking it from the caller
  • A name collision is refused rather than renamed: a caller who asked for HealthBar and silently got HealthBar_1 would 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_blueprint replaces a root panel the factory built from the project's Default Root Widget setting when it is not the rootPanelClass that 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_event promotes the widget to a variable if it is not one, since a bound event node has nothing to point at otherwise, and reports that as markedAsVariable
  • 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_sequence accepts the job and returns an id rather than holding the bridge connection open, and get_render_job_status is 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: true renders 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 request
  • endFrame is 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 writtenFileCount stays 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_params reports 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 a paramKind that does not match the parameter's declared type, because Niagara resolves a user parameter by name and type together
  • object writes 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 / output name 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 In and the Output node's only input pin is Out — 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_generate drives the PCG subsystem for up to waitMs, since a PCG graph executes across editor frames. That wait happens inside the blocking game-thread task the bridge abandons after 5 s, so waitMs is bounded at 3000: a longer wait would lose the response and leave the editor frozen for the remainder. timedOut says the counts are a snapshot; the generation keeps running in the editor either way
  • generatedActorCount and generatedInstanceCount are reported because a caller that saw only applied with 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 configFilePath reports the one actually used. A section that declares itself local to the project user, such as Rendering Overrides (Local), belongs in Config/UserEngine.ini: written into DefaultEngine.ini instead, 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 UDeveloperSettings subclasses, 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 sectionName lists the writable sections; omitting properties reports one section's current values. That is how a caller finds a property name instead of guessing an ini key
  • restartProperties names 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 wonder
  • set_default_gamemode writes the project default through GameMapsSettings, 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 / UPROPERTY and reports the header path, the owning module, and the #include path to write
  • The include path is derived from the nearest Public/ or Classes/ directory, which is what UBT puts on the include path — a header under Private/ is reported without one, because there is no include that reaches it from another module
  • The module name comes from the nearest *.Build.cs walking up from the header, so it is the module a caller has to add to PrivateDependencyModuleNames, 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. kind narrows to one symbol kind, and results page with maxResults / 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, ThirdParty and VCS directories are skipped, and the walk stops at maxFiles (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_graph payload 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_IfThenElse becomes if/else, K2Node_ExecutionSequence becomes sequential statements, and the For / While / For Each macro instances become the matching loop. A node reached twice emits a goto and sets truncated rather 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 (including ReplicatedUsing for a variable with a RepNotify) and Blueprint functions to UFUNCTION, 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's nodeGuid + nodeTitle (the same id the graph tools take) and a message; an unused variable carries variableName instead 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 as GetAllActorsOfClass / 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, self and 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 totalFindings and flagged truncated

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 — FGraphDiffControl for graphs and DiffUtils::CompareUnrelatedObjects for 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) and target, plus graph, nodeGuid, pin and baseValue / compareValue where they apply. default entries are CDO values, which is where a variable's default actually lives
  • Node moves are left out unless includeMinor is set. Past maxDifferences (or the frame budget) entries are counted in totalDifferences and flagged truncated
  • 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_member inserts a UPROPERTY or UFUNCTION into an existing class, scaffold_class_template writes 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 fresh public:. That is this tool's policy, not a UHT rule — UHT reflects private: and protected: members too, and meta = (AllowPrivateAccess = "true") only governs whether Blueprints can reach a private UPROPERTY. 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, BlueprintReadOnly with BlueprintReadWrite, Replicated with ReplicatedUsing, a bare ReplicatedUsing with no handler, BlueprintPure with BlueprintCallable, BlueprintImplementableEvent with BlueprintNativeEvent, 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 .cpp stub (header Public/X.h → source Private/X.cpp), except for BlueprintImplementableEvent, which has no native body by definition. A BlueprintNativeEvent gets its stub named Name_Implementation, which is the symbol UHT's dispatcher calls and the one that fails to link if it is missing
  • scaffold_class_template covers interface (the UInterface + IInterface pair, the shape that is got wrong most often) and the game_instance_subsystem / world_subsystem / editor_subsystem trio. 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_compile for a body-only change — afterwards

scaffold_automation_spec / scaffold_functional_test

  • scaffold_automation_spec writes Source/<module>/Private/Tests/<name>Spec.cpp: a BEGIN_DEFINE_SPEC with the requested Describe / It blocks under a dotted testPath, the context flags (editor by default) and one filter flag (product by default)
  • Guarded by WITH_DEV_AUTOMATION_TESTS, so Shipping builds skip it. Every It fails with Not implemented. until its body is written, so an unfinished skeleton never reports green
  • Returns the full test names (<testPath>.<describe>.<it>), which is what list_automation_tests and run_automation_tests filter on
  • requiresEditor compiles the spec into editor builds only (WITH_EDITOR) and hands each It the editor world. It needs UnrealEd: added to the Build.cs for an editor-only module; for a runtime module the result carries a hint to add it under if (Target.bBuildEditor), because an unconditional UnrealEd breaks packaging
  • Filesystem-only, refuses to overwrite. Build afterwards, then list it
  • scaffold_functional_test creates a functional test actor Blueprint (parent AFunctionalTest) through create_blueprint and add_bp_event, with the requested test events stubbed (Prepare Test and Start Test by default). A functional test only runs once placed in a level; the Start Test graph must end with Finish 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 as restartRequired with 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: ILiveCodingModule reports counts only, the editor's LogLiveCoding carries just the completion line, and which modules were patched is printed by the separate LiveCodingConsole process 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 truncated set 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 IPythonScriptPlugin and returns the log output, the error lines, and the evaluated result. The py console command exec path cannot return any of that
  • A failed run reports its traceback in errors and leaves result unset, so result always 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_python under Project Settings → Plugins → MCP Bridge (MCPBridgeSettings.bAllowEditorPython). With the setting off the tool returns state: '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
  • executionMode is script (default: a whole block of Python, or a .py path with arguments), statement (exactly one statement) or evaluate (one expression, whose value comes back in result). script is the default because the engine reports a traceback line by line only in that mode; the two statement modes put it in result instead. Commands are capped at 16,384 characters, and output and error lines at 200 lines each, with truncated set

set_navmesh_settings / set_nav_agents / set_crowd_settings

  • Navmesh generation settings are written onto the level's RecastNavMesh actor and only reach the navmesh on the next build, so the response reports rebuildRequired and the caller follows with build_navigation. Rebuilding here instead would be a minutes-long job on a socket with a seconds-long read budget
  • cellSize, cellHeight and agentMaxStepHeight live per resolution since UE 5.4 — the same-named members on the actor are deprecated and no longer read by the generator — so resolution names which of the three sets is being written, and appliedSettings reports 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_agents replaces the project's whole SupportedAgents list, which is what gives a level one navmesh per agent size. It is read once when the navigation system starts, so the response reports restartRequired rather than pretending a running editor picked it up
  • set_crowd_settings writes 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 makes a nav area Blueprint under NavArea (or one of the stock parents) and reports generatedClassPath — the class, not the asset, is what a modifier volume or a link references
  • add_nav_modifier_volume places an ANavModifierVolume and 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 placed
  • add_nav_link replaces the proxy's default link with the ones the request carries. left and right are 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 the find_path that 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_link says so in message when 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 through rebuildRequired

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: false with a partial path, not as an error: that is the answer, and a tool that threw would make the check unusable in a sweep. queryResult carries the engine's own ENavigationQueryResult so an off-navmesh endpoint stays distinguishable from a walled-off one
  • reachable means 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 in find_path
  • test_reachability answers 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. actor is the outliner label, object name or path in the PIE world; a controller is swapped for the pawn it possesses, and controllerPath/pawnPath report both
  • categories defaults to AI and BehaviorTree; EQS, Perception, PerceptionSystem, Navmesh and any other registered category can be named. listCategories: true returns availableCategories without capturing and works with no session running. An unregistered name is refused with unsupported and 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), its lines and shapeDescriptions with {color} markup stripped, and wasEnabled. Output past roughly 48 KB is dropped and flagged with truncated
  • 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) with pie_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 FVisualLogger that keeps up to maxEntries (default 5,000, at most 50,000) in memory, dropping the oldest once full and counting them in droppedEntries; 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: true also has the engine write a .bvlog the Visual Logger window opens; stop saves it and reports fileDirectory
  • query_visual_logger_entries filters by owner (substring of the VisLog name, object name, actor label or path), categories, a verbosity threshold, a startTime/endTime window in world seconds and world (editor or pie). Each entry has timestamp, worldTime, owner, location, log lines, status, events and shapes decoded to coordinates — segments, paths, boxes (min/max plus transform), spheres, cones, cylinders, capsules, arrows, circles, points, polygons and meshes — with color (#RRGGBBAA, quantized to 2 bits per channel before UE 5.6) and label
  • Queries flush entries still open this frame first. Pages follow entry sequence: pass nextCursor back as cursor. A page stops early to fit the frame, and an entry too large on its own comes back with shapes trimmed and truncated: true
  • A build with the Visual Logger compiled out (ENABLE_VISUAL_LOG 0) answers unsupported; an engine started with -DisableAILogging refuses to start with visual_logging_disabled

create_smart_object_definition / get_smart_object_definition / add_smart_object_component

  • Backed by the SmartObjects engine plugin through the MCPBridgeSmartObjects add-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 USmartObjectBehaviorDefinition subclasses configured through params). Activity tags must already be registered; a definition missing one is refused and nothing is left behind
  • Both the create and the read report valid and the engine's validationMessages. The Smart Object subsystem refuses to register a component whose definition fails validation, most often a slot with no behavior definition and no default, so valid: false means nothing can ever claim it
  • add_smart_object_component takes exactly one of blueprintPath (the Blueprint is recompiled) or actorPath (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; created says which happened. A Blueprint that inherits one from its parent class is refused with inherited_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_config takes an optional parentConfigPath; a trait the child owns overrides the parent's trait of the same class
  • edit_mass_entity_config applies add, remove and set edits in order and reports each one. Traits are named by class (MassMovementTrait, MassLODCollectorTrait, MassVisualizationTrait, MassStateTreeTrait, or a /Script/Module.Class path), and properties are { propertyPath, value } pairs in exported-text form, the same shape set_asset_property takes. Only the config's own traits are edited, never a parent's. A new trait whose properties are rejected is taken back out
  • get_mass_entity_config reads the parent and each own trait with its editable properties as exported text, trimmed by encoded size with truncated set
  • validate_mass_entity_config builds 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 in messages
  • Backed by the MassGameplay engine plugin through the MCPBridgeMass add-on (see Add-ons). Until that add-on is enabled, these tools are hidden. MassAI is optional: without it, its traits (MassStateTreeTrait and the navigation ones) do not resolve and the tools say so. Validation returns state: 'unsupported' with a reason when the editor world has no Mass entity subsystem (mass.RuntimeSubsystemsEnabled off)

place_mass_spawner

  • Places an AMassSpawner in the editor's current level with a count, entityTypes ({ entityConfig, proportion } pairs naming MassEntityConfig assets) and generators, 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 in queryParams. { type: 'zone_graph', minGap?, maxGap? } instances a ZoneGraph generator that spawns along the level's lanes. Either takes optional properties ({ propertyPath, value }) written on the generator, such as the ZoneGraph TagFilter
  • The spawner spawns when play begins (autoSpawnOnBeginPlay, default true), not when it is placed. warnings names setups that place but would spawn nothing: a ZoneGraph generator in a level with no ZoneGraphData, 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 MassGameplay engine plugin through the MCPBridgeMass add-on (see Add-ons). Until that add-on is enabled, this tool is hidden. Returns state: '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 populated archetypes largest 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 flags archetypesTruncated
  • lod.simulation and lod.representation count entities per EMassLOD bucket (high, medium, low, off, plus unset for entities the LOD processor has not reached yet) from FMassSimulationLODFragment and FMassRepresentationLODFragment; each is present only when some entity carries that fragment
  • processors lists 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, so processorTimingsAvailable is false and notes points at Unreal Insights. An engine built without WITH_MASSENTITY_DEBUG reports entityCountsAvailable: false and keeps only the LOD counts
  • Fails with pie_not_running when no play session is running; start one with start_pie
  • Backed by the MassGameplay engine plugin through the MCPBridgeMass add-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 in issues with a code, and healthy is 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. islandCount stays the full count when maxIslands cuts the list
  • Every PlayerStart is checked by default; AI spawners have no common base class, so a level's own spawn actors are named in spawnActorPaths. Player starts come first, and the first spawn on the navmesh is the anchor every other spawn is path-tested against with the same query find_path runs. 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 as spawn_cannot_return. Every spawn is checked; only the returned spawnPoints list 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 (classNames and/or packagePaths, plus nameFilter and the recursion flags), so the same arguments preview the selection with find_assets
  • rename builds each new name as prefix + the name with every case-sensitive find replaced by replace + suffix, keeping the folder. move sends every match into destinationPath, optionally renaming the same way. Both go through the same IAssetTools::RenameAssets path as rename_asset, one asset at a time, so referencers are fixed up and redirectors left behind
  • retarget consolidates each match into replacementAssetPath through ObjectTools::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 reference
  • dryRun: true returns 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 a failed entry with errorCode, so it can be fixed before anything moves
  • One RenameAssets or 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 returns state: 'applying' with the plan and a bulkAssetJobId. Poll it with get_bulk_asset_operation_status, or wait on it with wait_for_job and kind: 'bulk_asset', until the state is applied (or unknown_job for an id the editor no longer holds)
  • An apply reports per asset: one asset failing leaves the rest applied, with appliedCount, skippedCount and failureCount alongside. A query that matches more than maxAssets (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 first maxAssets and reports totalCount
  • 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 reports scanning. 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. RenameAssets saves renamed assets and their redirectors itself, as it does for rename_asset; a retarget saves nothing, so the redirectors and the packages whose references moved stay dirty until save_dirty_packages

create_learning_agents_setup / start_learning_agents_training / get_learning_agents_training_status / stop_learning_agents_training

  • Backed by the experimental LearningAgents engine plugin through the MCPBridgeLearningAgents add-on (see Add-ons). Until that add-on is enabled, these tools are hidden. Enabling it also enables LearningAgents, whose Python trainer dependencies the editor installs with pip on its next startup
  • create_learning_agents_setup scaffolds BP_<prefix>Manager (an actor component), BP_<prefix>Interactor, BP_<prefix>Policy, BP_<prefix>Critic, BP_<prefix>TrainingEnv and BP_<prefix>Trainer (PPO, or imitation with trainerKind: 'imitation'), or only the roles named. The interactor gets stubs for SpecifyAgentObservation, SpecifyAgentAction, GatherAgentObservation and PerformAgentAction, the training environment for GatherAgentReward, GatherAgentCompletion and ResetAgentEpisode; stubs lists 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_pie first. start_learning_agents_training then tracks that run as a job and returns a trainingJobId; one job is tracked at a time
  • get_learning_agents_training_status reports starting, training, completed, failed, cancelled or stopped (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's LogLearning output. A job with no trainer training within startTimeoutSeconds fails with the reason
  • stop_learning_agents_training ends training on every trainer and, unless endPie: 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 MLDeformerFramework engine plugin through the MCPBridgeMLDeformer add-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, or DetailPoseModel from UE 5.6); without it create_ml_deformer and start_ml_deformer_training answer state: 'unsupported' with the plugin to enable
  • create_ml_deformer builds the asset the way the editor's New ML Deformer action does, with the chosen model, an optional skeletalMesh and trainingInputs that each pair an animation sequence with the geometry cache of the same motion. Every input is checked for asset type and, when skeletalMesh is given, for a skeleton compatible with the mesh before anything is created. The asset is left dirty for save_asset. Custom models are not supported
  • get_ml_deformer reads back the model type and class, mesh (null when unset), inputs with their frame ranges, the training frame limit, and whether the model is trained
  • start_ml_deformer_training refuses 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 a trainingJobId. 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_status included, times out; poll again once training returns
  • get_ml_deformer_training_status reports queued, training, completed or failed, with timestamps, trained, and up to 16 lines logged during the run: every error, plus warnings under LogMLDeformer and LogPython. 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 for save_asset

add_zone_shape / build_zone_graph

  • Backed by the ZoneGraph engine plugin through the MCPBridgeZoneGraph add-on (see Add-ons). Until that add-on is enabled, these tools are hidden. Both tools answer state: 'unsupported' with the reason when the editor world has no ZoneGraph subsystem
  • add_zone_shape places an AZoneShape in the editor level: a spline (2+ points, lanes run along it) or a polygon (3+ points, lanes are routed between its laneProfile points). Point positions are relative to location. A lane profile point with no rotation is turned to follow the polygon edge, which is what decides the way its entry faces
  • laneProfile and tags name 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 with no_lane_profiles until one exists. Add one with set_project_settings, sectionName: 'ZoneGraphSettings' and the property LaneProfiles set to, for a two-way road, ((Name="Road",Lanes=((Width=150,Direction=Forward),(Width=150,Direction=Backward))))
  • build_zone_graph runs the same forced rebuild as Build > Build ZoneGraph, spawning the ZoneGraphData actor a level with shapes is missing, then returns each shape's zone and lanes (width, length, start and end, tags, link count). actorPaths narrows the report, not the build

bind_smart_object_interaction

  • Binds a Gameplay Interactions StateTree to one slot of a Smart Object definition (slotIndex, as get_smart_object_definition reports it) or, with slotIndex omitted, 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 GameplayInteractionSmartObjectBehaviorDefinition to 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_tree with schema custom and schemaClass /Script/GameplayInteractionsModule.GameplayInteractionStateTreeSchema); any other schema is refused with state_tree_schema_mismatch, since the interaction context would refuse it on every claim. stateTreeCompiled reports whether the tree can start at all, and the definition's valid and validationMessages come back with the result
  • Backed by the MCPBridgeSmartObjects add-on (see Add-ons), and hidden until it is enabled. The add-on reaches the GameplayInteractions engine plugin at run time rather than requiring it, so enable that plugin yourself: while its module is not loaded the tool answers state: '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 (activityTagMatch any or all) and userTags narrow the slots, areaMin/areaMax the objects; maxResults caps the list and totalMatched/truncated report the rest. It never claims
  • Fails with pie_not_running when no PIE session is running. Backed by the MCPBridgeSmartObjects add-on (see Add-ons), and hidden until it is enabled

create_gameplay_behavior_config / bind_smart_object_gameplay_behavior

  • create_gameplay_behavior_config creates a Gameplay Behavior config asset. configClass defaults to GameplayBehaviorConfig_Animation, which plays AnimMontage (with PlayRate, StartSectionName, bLoop) through GameplayBehavior_AnimationBased. properties sets fields by name as editor import text, and an asset reference that does not load is refused with referenced_asset_not_found, leaving no asset behind
  • bind_smart_object_gameplay_behavior adds a GameplayBehaviorSmartObjectBehaviorDefinition to a slot (slotIndex) or, with slotIndex omitted, 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 with UseGameplayBehaviorSmartObject
  • 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 MCPBridgeSmartObjects add-on, which reaches the GameplayBehaviors and GameplayBehaviorSmartObjects engine plugins at run time rather than requiring them. Enable them yourself: while their modules are not loaded both tools answer state: '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), plus assetPath, assetClass, width and height. size is 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/Thumbnails and 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, with no_thumbnail_renderer for a type the Content Browser shows only as an icon (a physical material, a string table), and with rendering_unavailable on 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, or all. Unset means every toolset, which is what a client that has never heard of this setting keeps getting. core is always included, because enable_toolset lives there and it is the way back to the rest of the list. UEMCP_TOOLSETS=core fits inside the ~40-tool ceiling clients like Cursor impose; enable_toolset loads a further group at runtime and emits notifications/tools/list_changed.
  • UEMCP_TOOL_MODE — direct (the default) advertises the tool list. search advertises exactly three meta-tools — search_tools, get_tool_schema, call_tool — for a client that cannot hold a large tool list at all. search_tools ranks the catalog with BM25 over names, titles, descriptions and toolset keywords; call_tool validates 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 through call_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_TOOLSETS
    • UEMCP_TOOL_MODE
  • Local HTTP registry API:
    • MCP_SERVER_HTTP_HOST
    • MCP_SERVER_HTTP_PORT
  • Logging:
    • MCP_SERVER_LOG_LEVEL
    • MCP_SERVER_LOG_FORMAT

Install

npm install

Run

npm run dev
npm run lint:fix
npm run typecheck
npm run build
npm start