Skip to main content
Glama

UEAgent is an Unreal Engine 5.7 and 5.8 editor plugin that lets AI agents operate the editor through the Model Context Protocol. The plugin is the server: it serves Streamable HTTP from inside the editor, with no Python or Node process in between.

Why UEAgent

  • The whole engine, not a demo. Blueprints and their graphs, materials, animation (AnimBP, montages, IK, Pose Search), Niagara, landscapes and foliage, World Partition, PCG, Sequencer, UMG/CommonUI/MVVM, GAS, AI (Behavior Trees, StateTree, EQS, Smart Objects), audio and MetaSounds, USD and Interchange, PIE control and inspection: see the tool reference.

  • Verified, not assumed. An editor call that answers success: true proves nothing, so every call goes through a contract:

    • preconditions refuse the calls known to crash or freeze the editor, and say what to do instead;

    • readback re-reads the state after the call, and reports as failed a write that did not stick, a zero that proves nothing or a change that landed in the wrong PIE world.

  • Safe with your content. Every tool call is one undo step, named after the tool, so Ctrl+Z reverts it. Vendored libraries listed as Read Only Content Roots cannot be saved, renamed, moved or deleted by any tool, and calls that are unreliable while Play-in-Editor runs are refused while it runs.

  • Built for real sessions. Several agents can share one editor: protocol work runs on network threads, and every tool call runs on the game thread through one queue. The Activity panel (status bar > MCP > Activity) lists each call with its duration and outcome.

flowchart LR
    A["AI agent<br/>Claude Code, Cursor, ..."] -- "MCP over HTTP" --> P
    subgraph E["Unreal Editor + UEAgent"]
        P["Preconditions<br/>refuse known crashes"] --> H["Tool<br/>1,500+ of them"] --> R["Readback<br/>re-read the state"]
    end
    R -- "verified result" --> A

How a server inside the editor differs from one outside it, and the questions to ask any MCP server for Unreal: Choosing an MCP server.

Related MCP server: Hayba

Quick start

Let your agent do it. Open Claude Code, Cursor, Codex or another agent in your project's folder and paste:

Install the UEAgent plugin in this Unreal Engine project and connect yourself to it, following https://raw.githubusercontent.com/CarlxsMG/UEAgent/main/llms-install.md

It does the steps below, checks the download's SHA-256 and asks before it changes anything; you reload its MCP servers at the end. See llms-install.md. Or by hand:

  1. Install. Download the latest UEAgent-*-UE5.8-Win64.zip (or -UE5.7-, for your engine) from Releases and unzip it into <YourProject>/Plugins/, or build it from source.

  2. Open the project. The status bar shows MCP · 55561 with a green dot once the server is up (if it does not, see Troubleshooting).

  3. Connect an agent. From that status-bar menu, Connect Claude Code to this project writes the unreal entry of your project's .mcp.json, and Connect another client does the same for Cursor, VS Code, Antigravity CLI and OpenCode (and copies the command for Codex). Or, for yourself only:

    claude mcp add --transport http unreal http://127.0.0.1:55561/mcp

    Any MCP client that speaks Streamable HTTP can connect to the same URL: see Clients.

  4. Ask. For example: "Create a Blueprint actor BP_Door with a door mesh and a box trigger, and open the door with a timeline when the player overlaps the trigger."

What you can ask

Ask

Tools it uses

"Create BP_Door: a mesh and a box trigger that open the door with a timeline on overlap."

create_blueprint, add_component_to_blueprint, build_blueprint_graph, compile_blueprint

"Find every Blueprint under /Game that does not compile and tell me why."

find_erroring_blueprints, get_graph_nodes, lint_blueprint_graph

"Make a red variant of M_Base and put it on the crates in this level."

create_material_instance, get_actors_by_class, set_actor_material

"Play the level, read the player's health, take a screenshot, stop."

start_play_in_editor, get_properties, capture_pie_screenshot, stop_play_in_editor

"Cut a shot: camera cut, a fade in, and the intro sound at frame 0."

create_level_sequence, add_camera_cut_track, add_fade_track_to_sequence, add_audio_section

"Which of my assets still reference the vendor pack, and which classes inherit from it?"

audit_asset_references, audit_class_purity, run_map_check

More in Examples.

Clients

Client

Notes

Claude Code

One-click connection from the editor's status bar. It loads tools on demand, so ?tools=all at the end of the URL gives it every tool.

Cursor, VS Code, Windsurf, Claude Desktop, Gemini CLI, Codex

Any client with Streamable HTTP: see the setup for each one.

By default the server lists its 11 core tools, and four tools that search, describe and run the rest or add a pack or a whole domain to the list. ?tools=all at the end of the URL lists every tool, and ?tools=compact only three: see tool lists.

Directories

UEAgent is listed in:

Skills

UEAgent ships agent skills in the open Agent Skills format, for Claude Code, Codex, Cursor, VS Code, Antigravity CLI, Gemini CLI and OpenCode. Install them into the project from the editor's status bar: MCP · 55561 > Skills. They come with the plugin, so they always match its tools.

Skill

ueagent-tool-map

Which core tool, pack or domain covers a task, and the order a task calls them in: find, read, change, check, compile, save

ueagent-skill-builder

Turns a workflow you want to repeat into a new skill: it finds the tools, rehearses the task in the editor, checks the result and writes the SKILL.md

ueagent-blueprint-actor

A Blueprint actor from a description: components, graph, a clean compile, and an instance in the level

ueagent-project-audit

What is broken and what can go, most serious first

ueagent-level-lighting

Outdoor lighting (sun, sky, sky light, fog) and a screenshot

ueagent-report-issue

Reports a bug or asks for a tool as a GitHub issue, with the versions, the call and the log

ueagent-contribute-fix

Turns a change to the plugin's code into a pull request, following the repository's rules

The client loads them by itself when a request matches. The server also serves them as MCP prompts and resources, ueagent://guide among them, for a client without the skills installed. More in Skills.

Documentation

Also on the web, with search and a tool explorer: carlxsmg.github.io/UEAgent.

Clients

Connecting Claude Code, Cursor, VS Code, Windsurf, Claude Desktop, Gemini CLI and Codex

Examples

Prompts that work well, and the tools they use

Skills

The Claude Code plugin: a skill builder and three skills made with it

Tool reference

Every tool, by domain

Answers and refusals

What a call returns, and how to read a refusal or a readback verdict

FAQ

Versions, safety, cost

Troubleshooting

When a client cannot connect or a call is refused

Architecture

How a call travels through the editor, and the contract around it

Glossary

The words the docs and the tools' answers use

Requirements

  • Unreal Engine 5.7 or 5.8 on Windows (Win64), the only platform the plugin declares. Each release has a zip for each engine; a few tools need 5.8 (see the FAQ).

  • To build from source: Visual Studio 2022 with the C++ toolchain.

  • The plugin enables the engine plugins its tools use (see UEAgent.uplugin): among them PythonScriptPlugin, EditorScriptingUtilities, Niagara, PCG, StateTree, ControlRig, IKRig, PoseSearch, Interchange and USD. Game Features is the exception: the plugin does not turn it on, and its five tools work once your project enables it.

Build from source

Copy or clone this repository to <YourProject>/Plugins/UEAgent, then open the project and let Unreal build it, or build the editor target from your IDE. When the editor starts, the log shows MCP HTTP server started on http://127.0.0.1:55561/mcp (... tools ...).

Updating

MCP · 55561 > Check for updates asks GitHub for the latest release. If it is newer, Download and install downloads the zip for your engine, checks it against the release's SHA256SUMS.txt, and installs it when the editor closes, or right away with Restart now, which closes the editor, installs it and opens the editor again. The previous version is kept in Saved/UEAgentUpdate/Backup, and if the new one cannot be moved in, the previous one is put back.

A git clone is updated with git pull, and a copy installed from Fab from the Epic Games Launcher. After an update, reconnect your client so it lists the tools again.

Settings

Editor Preferences > Plugins > UEAgent (per user):

Setting

Default

Enable HTTP server

on

the MCP server

HTTP port

55561

-McpHttpPort=N on the command line overrides it

Auth token

empty

when set, every request needs Authorization: Bearer <token>

HTTP keep-alive

on

off: each response closes its connection, for a proxy, antivirus or VPN that holds a response until then (see A client connects but times out); -McpHttpNoKeepAlive on the command line turns it off

Show connect hint

on

at startup, offer to connect Claude Code if the project is not

Check for updates at startup

off

ask GitHub at most once a day whether a newer release is out (see How do I update it?)

Return images

on

the capture tools answer with the picture as an MCP image next to their JSON (see Answers and refusals); ?images=off in the URL turns it off for one client

Image max dimension / bytes

1568 / 1048576

a larger picture is sent as a smaller JPEG copy; the file on disk keeps its full resolution

Read-only mode

off

Permissions: only the tools that read, or that only capture an image under Saved, are listed and run; -McpReadOnly on the command line or UEAGENT_READONLY=1 turns it on. Also in the status bar's MCP menu

Allow code execution

on

Permissions: off, the seven tools that run code or a process (execute_python, execute_python_file, execute_console_command, call_function, run_external_project_script, launch_dedicated_server, start_cpp_compile) are not listed and are refused

Disabled domains / Disabled tools

empty

Permissions: these domains' tools, and these tools by name, are not listed and are refused

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

Setting

Default

Read Only Content Roots

empty

vendored-library roots (e.g. /Game/SomeMarketplacePack): tools refuse to save, rename, move or delete anything there, and lineage audits treat their classes as library classes

Project Content Root

/Game

default scope of audit_class_purity

Fork Origin Tag

mcp.forkOrigin

metadata tag fork_class_chain writes and audit_class_purity checks

Console commands

Command

mcp.http.status / mcp.http.restart

server status, with the tool permissions; restart (also reloads the tool catalog)

mcp.readonly [0|1] / mcp.policy [readonly=0|1] [codeexec=0|1] [domains=A,B] [tools=a,b]

read-only mode; the tool permissions (saved in the settings; with no argument, print them)

mcp.claude.status [path] / mcp.claude.connect [path]

inspect / write the .mcp.json entry

mcp.clients.status / mcp.clients.connect cursor|vscode|antigravity|opencode [path]

the same for the other clients' files

mcp.skills.status / mcp.skills.install / mcp.skills.remove [claude|agents|all]

UEAgent's skills in the project (see Skills)

mcp.contract.selftest <vectors.json> [quit]

run the contract vectors (see Resources/ContractTests)

mcp.ReadOnlyRootEnforcement 0|1

0 = only report saves under a read-only root instead of refusing them

mcp.UndoStepPerCall 0|1

0 = leave the undo buffer to each tool instead of one undo step per call

mcp.activity [N]

print the last N tool calls (default 20) to the log, as the Activity panel lists them

mcp.update.check / mcp.update.status / mcp.update.download / mcp.update.cancel

look for a newer release; the state of the update; download it (it installs when the editor closes); drop a downloaded one

Security

  • The server listens on 127.0.0.1 only. It also refuses a request whose Host is not the loopback (DNS rebinding) or whose Origin is a web page.

  • Without an Auth token, any process on the machine can call it. Set one on a shared machine; the .mcp.json entry reads it from ${UEAGENT_TOKEN}.

  • The tools act with the editor's rights: they run Python, read and write files, save, rename and delete assets, edit .ini files and launch processes (a package build, a dedicated server). Connecting an agent gives it the editor. Read Only Content Roots keeps the tools from saving, renaming, moving or deleting anything under the roots you list.

  • Permissions (Editor Preferences > Plugins > UEAgent) limit that: Read-only mode lets an agent only read and capture images, Allow code execution off refuses the tools that run code or a process, and Disabled domains and Disabled tools turn tools off. A tool that is off is not listed and is refused however it is called (directly, through call_tool or execute_batch, by an old name), with refused_by: "policy". With code execution on, an agent can change these settings itself (through Python or a console command): for a limit it cannot lift, use read-only mode or turn code execution off.

To report a vulnerability, see SECURITY.md.

Privacy

UEAgent sends nothing about you or your project: no telemetry, no analytics. Its only connection of its own is to GitHub, to look for a newer release: when you click Check for updates, or once a day on startup if you turn Check for updates at startup on (it is off). That request says which version of UEAgent asks, and nothing else. The server only listens on 127.0.0.1, and a tool's answer goes to the MCP client you connected, on the same machine. What that client then sends to its model provider is up to the client.

Accessibility

What the editor UI and the documentation offer for accessibility, what they lack, and how to report a barrier: see ACCESSIBILITY.md.

Contributing

Questions and ideas go to Discussions. Bug reports and pull requests are welcome: CONTRIBUTING.md explains how the code is organized, how a tool is added and what is checked before a change is merged.

License

UEAgent is released under the MIT License.

Trademarks

Unreal and Unreal Engine are trademarks or registered trademarks of Epic Games, Inc. in the United States and elsewhere. UEAgent is an independent project, not affiliated with or endorsed by Epic Games.

Available Tools

15 tools
add_graph_nodeA

Create one node in a graph and return it with its node_id and pins, so connect_pins and set_pin_default_value can wire it without another read.

Works in a Blueprint graph (Animation and Widget Blueprints included) and in the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. To create and wire several Blueprint nodes in one undo step use build_blueprint_graph. Every call adds a new node, except event and custom_event, which give back the one already there; remove_graph_node takes a spare node out.

Each value comes from a read: event_name from list_overridable_functions, function_name from get_class_functions (an engine library's list is long enough to come back as a file: get_mcp_audit_report reads its report_path), variable_name from get_blueprint_variables, struct_type from list_structs, enum_path from list_enums, and graph_name from get_blueprint_functions; get_function_pins previews a node's pins before it exists. When a call_function names both, function_library wins over target_class, and node_position wins over position_x and position_y. node_type keywords ignore case. Example: {"asset_path": "/Game/Blueprints/BP_Door", "node_type": "call_function", "function_name": "PrintString", "function_library": "KismetSystemLibrary"}.

In another asset, node_type is its editor's own node: a material expression class (/Script/Engine.MaterialExpressionConstant), a sound node type (WavePlayer with sound_wave_path, Mixer, Random...), a MetaSound class path from list_metasound_node_types (UE.Sine.Audio, with major_version), a PCG settings class from list_pcg_node_types (PCGSubgraphSettings with subgraph_path embeds a graph), or a Control Rig unit (SetTransform, TwoBoneIKSimple..., with node_name). Those assets are saved by their editor, and a Control Rig is compiled.

A Blueprint is compiled only with compile=true and never saved, and the call is refused during Play-in-Editor (see force). event creates a real override, finding the interface or parent class itself; a name that is not an overridable event is an error, and an interface function with a return value needs add_blueprint_function with override=true. custom_event takes no parameters, so an RPC or anything with arguments must be a function. get_component_by_class makes a node already typed to target_class, so its ReturnValue connects without a cast. Check class in the reply: an async or latent node that comes back as K2Node_CallFunction does nothing, though it compiles clean.

Returns: { node_id, class, title, pos_x, pos_y, comment, pins: [{ name, direction, type, linked_to, default }], blueprint_name, graph_name, compiled, plus the fields of its node_type } -- event: event_name, is_override (true for a live override), already_exists; custom_event: event_name, node_title, already_existed; cast: cast_to; call_function: function_library, function; make_struct and break_struct: struct_type; select: index_pin, return_value_pin, option_pins, option_count, index_enum; macro_instance: input_pins, output_pins; get_component_by_class: component_class, return_pin_type (when it does not name the class, the pin stayed generic).

Inputs: node_type (required), cases, force, scope, +27 more.

call_toolA
Destructive

Runs any of this server's tools by name: name is the tool and arguments its own parameters, e.g. {"name": "get_actors_by_class", "arguments": {"class_name": "PointLight"}}. Use it for a tool that is not in your tool list, once find_tools has found it (and describe_tool, when its parameters are unclear); call a listed tool directly.

The call takes the path of a direct one: the same validation, guards and readback, and the same effects, so it can delete or overwrite whatever the named tool can; describe_tool shows that tool's annotations. Refused before anything runs: no name, name set to call_tool itself, arguments that is not an object (a JSON string of one is accepted), an unknown name (the error lists the closest ones) and a missing required parameter. An old name of a renamed tool runs the new one, and the reply says so.

Returns: the named tool's own reply, unchanged.

Inputs: name (required), arguments.

compile_blueprintA
Destructive

Compile a Blueprint to regenerate its class and return the real outcome: succeeded is true only with zero errors, with the error and warning counts and, on request, every compiler message tied to its node.

Compile after adding nodes, functions, variables or RPCs, and before anything calls them or Play-in-Editor starts. To look for errors without compiling, use check_blueprint_errors for one Blueprint or find_erroring_blueprints for a folder. It does not save: save_asset writes the result.

blueprint_name takes a short name or, safer, the full path that find_assets_by_name returns, since a short name shared by two assets compiles one of them. Example: {"blueprint_name": "/Game/Blueprints/BP_Door", "return_messages": true}. With return_messages each message carries the node_id and graph that get_graph_nodes and remove_graph_node take. force only matters during Play-in-Editor, where the call is otherwise refused: force=true compiles anyway, with the risk below.

The compile blocks the editor until it ends. Blueprints that depend on this one get their bytecode recompiled, instances of its class are reinstanced, and a garbage collection runs afterwards, so a Blueprint with many dependents costs more and other packages can end up dirty. Undo does not take a compile back: it reverts the graph edit before it, and the class keeps the compiled code until the next compile, so compile again after an undo. During Play-in-Editor the reinstancing leaves a world behind that kills the editor when PIE stops, which is why the call is refused then.

num_errors 0 does not prove the graph works: an unresolved wildcard pin on an array or ForEach node can compile clean and still block PIE, and a "was pruned" warning means consumers read defaults, so read the warnings too.

Returns: { name, compiled, succeeded, num_errors, num_warnings, messages?: [{ severity: 'error'|'warning'|'note', text, node_id, node_title, graph_name }] } -- messages only with return_messages; the node fields are empty for a message tied to no node.

Inputs: force, blueprint_name, blueprint_path, return_messages.

connect_pinsA
Destructive

Link one node's output pin to another node's input pin, in a Blueprint graph (Animation and Widget Blueprints included) or in the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig.

Use it after add_graph_node, or on nodes that get_graph_nodes lists: both give the node ids and pin names. Not for: testing a pair without linking it (validate_pin_connection), unlinking (disconnect_pin), or creating and linking several Blueprint nodes in one undo step (build_blueprint_graph). Refused during Play-in-Editor (see force).

Example: {"asset_path": "/Game/Blueprints/BP_Door", "source_node_id": "<a Branch's node_id>", "source_pin": "then", "target_node_id": "<a PrintString's node_id>", "target_pin": "execute"}. @input and @output stand for the graph's own input and output: target_node_id "@output" with target_pin "BaseColor" feeds a material's main input. On a sound cue, @output makes the source the cue's first node, and target_pin is the parent's input slot index (empty: its first free slot); on a MetaSound they are its graph inputs and outputs, named by the pin; on a PCG graph its input and output nodes.

In a Blueprint the graph's schema type-checks the pair, so AnimGraph pose links work too and an incompatible pair is an error, never a silent no-op. An exec output and a data input hold one link each, so linking one that is already linked replaces its old link; each call is one undo step, and undo puts the old link back. A node with a wildcard pin is reconstructed afterwards, so array, ForEach and Select pins take the linked type. A Blueprint is not compiled or saved: compile_blueprint, then save_asset. The other assets are saved by their editor, and a Control Rig is compiled.

Returns: { connected, source_node_id, target_node_id, graph_kind? } -- a failed link is an error, so connected is true in every Blueprint reply; another asset answers with its editor's own reply, saved included.

Inputs: source_pin (required), target_pin (required), source_node_id (required), target_node_id (required), +5 more.

describe_toolA
Read-onlyIdempotent

Returns one tool's full description, input JSON schema and annotations, as a full tool list carries them. Use it before call_tool when find_tools' parameter line does not say how to fill an argument, such as its format or its allowed values; a tool already in your list has its schema there.

name takes a name from find_tools, as in {"name": "spawn_actor"}; spaces around it are ignored. A current tool's name always means that tool. An old name of a renamed tool resolves to the new one and a retired tool's name to that tool, and retired_name then says what the name became. It only reads the catalog, which the server loads once when it starts: a repeat is cheap, nothing limits how often it runs, and the answer stays the same until the server restarts. An unknown name is an error that lists up to five closest names.

Returns: { success, name, domain, description, inputSchema, annotations?, retired_name? }

Inputs: name (required).

enable_toolsetA
Read-onlyIdempotent

Adds packs or whole domains to this connection's tool list, so their tools are called directly instead of through call_tool; the 11 core tools are always listed. Give packs, domains or both.

A pack is the few tools of one job the core leaves out: actors (delete_actor, find_actors_by_name, spawn_actor, get_actors_by_class), levels (get_current_level, list_dirty_packages, load_level, save_level), play (capture_viewport, is_play_in_editor_active, pause_play_in_editor, resume_play_in_editor, start_play_in_editor, step_play_in_editor_frame, stop_play_in_editor), assets (get_asset_referencers, delete_asset, duplicate_asset), blueprint_authoring (add_blueprint_variable, build_blueprint_graph, create_blueprint, create_blueprint_from_actors, disconnect_pin, get_blueprint_info, remove_graph_node), data_tables (get_data_table_row, set_data_table_row_fields). A domain is every tool of one area of the editor, such as Material or Animation, and can add a hundred tools to your context: find_tools with no arguments lists the domains and their sizes. Prefer a pack when one covers the job.

It changes only which tools this connection lists, never the editor or the project, and lasts until the connection's session ends; enabling the same one again adds nothing. The server announces the new list and your client re-reads it; if your client does not, call_tool reaches the same tools. An unknown name is an error that lists the packs and the domains.

Returns: { success, packs?: [{ pack, already_listed, tools }], domains?: [{ domain, already_listed, tools }], tools_added: int, list_changed: bool, note?: string }

Inputs: packs, domains.

execute_pythonA
Destructive

Run Python in the running Unreal Editor, with Unreal's unreal API, for what no tool does: search find_tools first, since most tools are not in a client's list. A script that raises fails the call, with the traceback in command_result.

mode picks how command runs: ExecuteFile (the default) runs a script of any length, ExecuteStatement runs one statement and prints its result, and EvaluateStatement returns one expression's value in command_result, as in {"command": "len(unreal.get_editor_subsystem(unreal.EditorActorSubsystem).get_all_level_actors())", "mode": "EvaluateStatement"}. Scripts share the editor console's globals, so a variable one call defines is there for the next.

output and log_output hold what the script prints and logs through unreal.log; what the engine itself logs during the call is only in engine_log, warnings and errors by default. When a call reports success and nothing happened, read engine_log first, widen it with engine_log_level=Log, or pass log_cursor_before to get_output_log_lines for the unfiltered rest.

"Object has no attribute" is the commonest error, and the field usually exists elsewhere: HitResult's impact_point is only in to_dict(), while Transform.translation is an attribute. Ask the object (dir(x), x.to_dict(), x.get_editor_property(...)) instead of guessing.

During Play-in-Editor, a call in the script that compiles a Blueprint or saves (compile_blueprint, save_asset, save_loaded_asset, save_packages, save_current_level...) does not run: the script gets a RuntimeError there, and the call fails with pie_refused even if the script catches it. The guard does not see a Blueprint edited without a compile, so stop PIE before editing one. Reading the live world during PIE is safe.

One call often answers what a loop would: get_actors_by_class for the actors of a class, get_actor_properties_by_class for their properties with the world that answered, get_properties for one object, get_actor_components, raycast_scene, and watch_pie_property for a value over a PIE session. A script that only enumerates actors gets a hint naming the tool. Python stays the right answer for several classes in one round trip, values correlated in one tick, or anything that mutates.

Returns: { command, python_success, execution_mode, command_result, output, log_output, log_line_count, engine_log, engine_log_count, engine_log_truncated, log_cursor_before, pie_refused?, hint? }

Inputs: code, mode, script, command, +3 more.

find_assets_by_nameA
Read-onlyIdempotent

Find assets by name across every mounted content root (/Game, /Engine, plugin mounts...): the broad "does anything called exist, and where?" search, with each hit's name, object path, class and package.

Use it before reading or writing an asset whose path you do not know: a hit's path is what get_object_info, set_properties and save_asset take. Other searches: get_assets_in_folder for a folder, get_assets_by_type for a class, get_assets_by_tag for an Asset Registry tag, and resolve_asset_by_name for one exact name with all its homonyms.

Examples: {"search_pattern": "Grass"} finds every name that contains Grass, in any case; {"search_pattern": "BP_*", "case_sensitive": true} only names that start with BP_, in that case. match_mode in the reply says whether the pattern ran as a substring or a wildcard. For a broad token, lower max_results and read results_truncated; keep wait_for_scan on right after the editor opens, while the registry may still be loading.

Returns: { assets: [{ name, path, class, package, is_loaded }], count: int, total_scanned: int, scan_was_pending: bool, search_pattern: string, match_mode: "substring"|"wildcard", case_sensitive: bool, max_results: int, results_truncated: bool }

Inputs: pattern, max_results, wait_for_scan, case_sensitive, +1 more.

find_toolsA
Read-onlyIdempotent

Searches this server's 1585 Unreal Editor tools and returns the best matches, each with its name, domain, parameters (* marks a required one) and the first sentence of its description. Use it before guessing a tool name or writing Python; when you already know the name, skip it: describe_tool and call_tool take the name directly.

Examples: {"query": "material parameter"} searches every tool, {"query": "landscape", "domain": "Level"} searches one domain, and {"domain": "Water"} lists a domain's tools. Each query word scores on a whole word of a tool's name first, then the start of one, then the domain, then the description, and a tool that matches more of the words ranks higher, so a query that spells a tool's name, such as "spawn actor", puts it first. limit (default 25, up to 300) caps the list; more then says how many matched beyond it, and a query that matches nothing gets next, with what to try.

With no arguments it lists the 57 domains, each with what it covers and its size, and the packs with their tools. It only reads the catalog, so it is cheap to repeat. Then describe_tool gives a match's full schema and call_tool runs it, or enable_toolset adds its pack or domain to your tool list.

Returns: { success, matches: int, tools: [{ name, domain, params?, summary }], more?: string, next?: string } -- with no arguments { success, total_tools, domains: [{ domain, description, tools }], packs: [{ pack, description, tools }], next }. An unknown domain is an error that lists the domains.

Inputs: limit, query, domain.

get_graph_nodesA
Read-onlyIdempotent

Read the nodes of one graph without changing it: a Blueprint graph (Animation and Widget Blueprints included), or the graph of a material, material function, sound cue, MetaSound Source, PCG graph or Control Rig. It is the read behind add_graph_node, connect_pins and set_pin_default_value, and the way to see what a graph does.

Every node has its node_id, which the graph tools take, and its object_path (not in a MetaSound), which get_object_info and set_properties take for the node's own settings. A Blueprint node also lists its class, title, position, comment and pins with their links and defaults; another asset answers with its editor's own view, named by graph_kind.

Read a graph, then one node: {"asset_path": "/Game/Blueprints/BP_Door", "compact": true} for the topology, then the same asset_path with "node_id" for every pin of one node. compact leaves out unlinked pins without a default, so a pin missing from a compact listing may still exist: check it by node_id. graph_name picks another graph of a Blueprint, a collapsed graph by its title included, and expand_composites inlines the collapsed graphs instead.

It reads the graph as the editor holds it, unsaved edits included, loading the asset from disk if needed, and compiles nothing, so a Blueprint that fails to compile still lists its nodes. A large graph costs many tokens: max_nodes caps the reply, and truncated says whether nodes were left out. Reading a graph under a read-only vendor root leaves its package dirty in memory; reload_asset_package with on_dirty="discard" cleans it.

Returns: { blueprint_name, graph_name, nodes: [{ node_id, object_path?, class, title, pos_x, pos_y, comment, pins: [...], subgraph? }], node_count, compact, total_node_count, excluded_count, truncated, graph_kind? } -- node_count counts the nodes returned and total_node_count those that exist; a node holding a nested graph has subgraph, the graph_name to read it with. Another asset: its editor's view, a MetaSound's links in connections.

Inputs: compact, node_id, max_nodes, asset_path, +5 more.

get_object_infoA
Read-onlyIdempotent

Portrait of one object whose property names you do not know yet: its identity and class, class flags and interfaces, every reflected property as { name: typed_value }, and for an actor its components.

Use it first on anything unfamiliar, then write with set_properties using the names it lists. Once you know the names, get_properties reads only those and is far cheaper: an actor's portrait can run to hundreds of properties. get_class_properties describes a class with no instance, and get_actor_components lists the components alone.

object_path takes a path from find_assets_by_name, an object_path from get_graph_nodes or another reader, or an actor's component as "Actor.Component", the actor by its internal name. {"object_path": "/Game/Blueprints/BP_Door", "include_properties": false} answers only "what is this?", with identity and class. include_property_metadata=true adds each property's type, editability, replication and clamp range next to its value, which says whether set_properties can write it. world "server", "client" or "pie:N" portrays the live instance in Play-in-Editor, and the reply names the world that answered.

A reply over 40,000 characters (the console variable mcp.OversizeResponseChars), common for a Blueprint with include_property_metadata, is written to a file instead: the reply keeps its scalar fields and gives report_path, which get_mcp_audit_report reads. An object or a world it cannot find is an error naming what it searched.

Returns: { object_path: string, object_name: string, class_name: string, class_path: string, super_class: string, is_valid: bool, is_abstract, is_deprecated, is_placeable, is_native, config_name, implemented_interfaces: [{interface, implemented_by_k2}], class_group?, is_blueprintable?, is_blueprint_type?, display_name?, tooltip?, properties?: {prop_name: typed_value} | [<typed descriptor + value>], property_count?: int, components?: [{name, class}], world: string, world_name: string|null, world_package: string|null, world_type: string|null, net_mode: string|null, pie_instance: number } -- properties/property_count/components only with include_properties; properties is the array form with include_property_metadata; super_class is "None" for UObject.

Inputs: object_path (required), world, include_properties, include_property_metadata.

save_assetA
Destructive

Write one asset's package to disk by its path and verify the result: still_dirty_after_save false and file_on_disk true are the proof, not saved.

Use it after an edit you want to keep, because most edit tools change the asset in memory only. save_level writes a level's .umap, and reload_asset_package throws an unsaved edit away instead. It writes exactly one package: a compile can dirty others, so run list_dirty_packages before a bulk save and read git status after.

path takes the path or the package that find_assets_by_name returns, as in {"path": "/Game/Core/BP_Door"}. readonly_roots chooses which folders count as vendored, and refuse_readonly whether a save under them is refused or only reported; leave both out to use the project's Read Only Content Roots, which refuse.

Refused during Play-in-Editor, where the engine would drop the write and still report success (see force). When a save fails otherwise, file_read_only says whether the file is read-only on disk (usually a Git LFS lockable file nobody has locked), and the error says whether that is the cause.

Returns: { path: string, package_name: string, saved: bool, success: bool, under_readonly_root: bool, readonly_root_matched: string, refused_readonly: bool, readonly_roots: [string], readonly_roots_defaulted: bool, still_dirty_after_save: bool, file_on_disk: bool, file_read_only: bool, verification: object, verification_checks: [object], error?: string }

Inputs: path, force, asset_path, readonly_roots, +1 more.

set_pin_default_valueA
DestructiveIdempotent

Write the literal default of an UNCONNECTED input pin and return the value read BACK off the pin, in a Blueprint graph, a MetaSound Source or a Control Rig.

Blueprint: struct pins are canonicalized -- a bare GameplayTag name becomes (TagName="X"), and an UNREGISTERED tag is rejected up front instead of silently landing as an empty tag; value_json nativizes any struct and is the only way to put SEVERAL tags in a GameplayTagContainer; a plain string is fine for an FText pin. Refused: array, set and map pins (use a MakeArray/MakeSet/MakeMap node), pins split into sub-pins (recombine_blueprint_pin first), and any call while Play-in-Editor runs (see force). TRAP: on a FormatText "Format" pin the literal IS written but the {argument} pins are NOT created, leaving a valid, useless node -- build the string with Concat_StrStr / Conv_StringToText instead.

MetaSound: value is read as the input's type ("440", "true", "Hello"), node_id=@input sets a graph input's default, and the asset is saved. Control Rig: value is export text such as (X=1.0,Y=0.0,Z=0.0); the rig is compiled and saved. Material expressions, sound cue nodes and PCG nodes keep such values as properties: write them with set_properties on the node's object_path from get_graph_nodes.

Returns: { node_id, pin_name, default_value, graph_kind? } -- default_value is re-read from the pin AFTER the write, so it is the oracle for what actually landed (a rejected value shows up as the old one); for a MetaSound or Control Rig the reply is its editor's own, with the value read back.

Inputs: node_id (required), pin_name (required), force, value, +5 more.

set_propertiesA
DestructiveIdempotent

Write one or several editable properties of one object in the editor world, as the Details panel does: an asset, a CDO, a placed actor, one of its components ("Actor.Component") or an asset's sub-object. Each write is undoable, dirties the package and re-registers the component, and the reply lists what was set and what failed, with why.

Use it for any setting of a light, fog, sky, decal, camera, post-process volume, sound, Niagara system, material expression or other asset. Not for: a component in a live PIE world (set_component_property), a Blueprint's component template (set_blueprint_component_properties), a widget inside a Widget Blueprint (set_widget_property), or an object's own setter function (call_function).

Take the property names from get_object_info, and object_path from the tool that found the object: find_assets_by_name for an asset, get_graph_nodes for a graph node, or "Label.ComponentClass" for a placed actor, such as "Sun.DirectionalLightComponent". Example: {"object_path": "Sun.DirectionalLightComponent", "properties": {"Intensity": 10, "LightColor": {"R": 255, "G": 200, "B": 150}}} writes two properties; property_name "Intensity" with value 10 writes one, and both forms together write properties first. A struct takes only the fields to change: {"RelativeLocation": {"Z": 200}} keeps X and Y.

A name can also be a PATH, to write one value deep inside without rewriting what holds it: "RelativeLocation.Z", "Items[2]" or "Items[2].Name" (an existing element; to resize an array, write the whole array), and through an object reference to the object it points to, such as an instanced sub-object: "Layer.Settings.Size". The object holding the last segment is the one written, made undoable and notified with the chain of its segments, as the Details panel does for a nested edit; every segment it holds must be writable, and a reference the path goes through only needs to be visible.

A sub-object's asset is finished as its editor does it: a graph node is reconstructed and its Blueprint marked modified (compile it), a sound cue recaches, a Niagara system recompiles and a blend space is resampled; no Blueprint is compiled. clamp=true keeps numbers inside ClampMin/ClampMax and lists what it clamped. save=true saves an asset's package and is refused for an object in a level, which save_level writes. Refused before anything is written: a struct key that names no field, an unregistered gameplay tag, and any call during Play-in-Editor (see force).

Returns: { object_path: string, resolved_path: string, set: [string], failed: [{property, error}], owning_asset?: string (a sub-object's asset), finished?: [string] (what ran on that asset), clamped?: [string] ("name=value", with clamp), saved?: bool, save_error?: string (with save), success: bool }

Inputs: object_path (required), save, clamp, force, +3 more.

undoA
Destructive

Step the editor's undo stack back by one transaction, or by count of them, as Ctrl+Z does, and report what is now on top.

Use it to revert an edit made in the editor, by a tool or by a person: the stack is shared, so read get_undo_state first to see the label you are about to revert. One tool call that changed something is usually one transaction; begin_transaction and end_transaction make several edits one. Undo reverts objects in memory, not files: an edit already saved stays on disk until the next save.

Example: {"count": 3} undoes the last three transactions. It stops early at the bottom of the stack or at an undo barrier (set_undo_barrier), and actually_undone then falls short of requested. success is true even with nothing to undo: read applied, and re-read what you changed to confirm it.

Returns: { applied: bool, requested: int, actually_undone: int, undo_count: int, can_undo: bool, next_undo: string }

Inputs: count.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.9/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool has a clearly distinct scope: catalog routing tools (find_tools, describe_tool, call_tool, enable_toolset) are separate from resource-specific editing tools, and graph editing is split cleanly into read, add, connect, pin-default, and compile operations. The intentional overlaps are well bounded by the descriptions, such as set_properties versus set_pin_default_value and execute_python as the explicit fallback.

    Naming Consistency5/5

    All tool names use snake_case and are verb-first with a predictable object or noun phrase, such as find_assets_by_name, add_graph_node, and compile_blueprint. The only single-word name, undo, remains unambiguous and does not disrupt the convention.

    Tool Count5/5

    Fifteen tools is at the upper end of the typical well-scoped range, but this set is deliberately compact for a very large editor surface. The four catalog-routing tools plus execute_python let agents reach the other 1585 tools without preloading them all into context.

    Completeness4/5

    The listed set covers core read, property edit, graph edit, compile, save, undo, and fallback scripting workflows, and call_tool/enable_toolset make nearly any missing operation reachable. However, common actions like creating or deleting assets, spawning actors, saving levels, and controlling Play-in-Editor require discovery or toolset enablement rather than being directly listed.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Unreal Engine 5.7 editor plugin that gives AI assistants full read/write access to Blueprints, Materials, Animation, Niagara, Config, and more via MCP. 119 actions across 9 domains, pure C++, embedded Streamable HTTP server.
      375
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP server enabling AI agents to author Unreal Engine 5 scenes directly, with tools for spawning actors, building PCG graphs, validating physics, generating terrain, and more through a single MCP connection.
      13
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      An MCP server that gives AI agents broad control over Unreal Engine 5.7, enabling actor/asset/level management, Blueprint and material creation, screenshots, automation, and arbitrary editor Python execution.
      35
      MIT