Unreal Engine MCP
This server lets an AI agent control Unreal Engine 5 through MCP: create/open projects, drive the editor, build/package games, and author assets, levels, Blueprints, materials, UI, audio, networking, and renders.
Discover engine installs/templates; create/find/inspect projects; manage plugins; open/close the editor and check bridge/status.
Generate C++ classes; compile with the editor closed or via Live Coding; clear build locks; package standalone/dedicated-server builds; monitor build/package jobs.
Import/list/search/delete/rename/duplicate assets; create folders; manage asset references and hygiene where supported.
Create/open levels; spawn/batch spawn/move/delete actors; attach/detach; inspect hierarchy; set actor/component properties; control camera and take screenshots.
Create/edit Blueprints: components, typed/replicated variables, class defaults, reparenting, compilation, replication/net settings, and graph authoring (events, functions, nodes, pins, connections, palette).
Build materials and material instances; assign materials to actors.
Create/edit UMG widget Blueprints: inspect tree, add/remove widgets, set widget properties and slot layouts.
Import audio; create MetaSound sources and Sound Cues.
Configure/start/stop PIE, including multi-client network testing; set project settings/config.
Run console commands, read logs, save all, and execute arbitrary Python in the editor as an escape hatch.
Download/extract CC0 assets from Poly Haven, ambientCG, Kenney, Fab/Marketplace via legendary, or direct URLs.
Render Level Sequences headless via Movie Render Queue and monitor render status.
Reflect/find classes, structs, and enums to discover engine/project APIs.
Allows AI agents to drive Unreal Engine 5, including creating projects, importing assets, building levels and Blueprints, configuring replication, compiling C++, running Play In Editor, and packaging the game.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unreal Engine MCP Create a new third-person project with starter content"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unreal Engine MCP
An MCP server that lets an AI agent drive Unreal Engine 5: create projects, import assets, build levels and Blueprints, configure replication, compile C++, run Play In Editor and package the game.
No C++ plugin to compile. It uses two plugins that already ship with the engine — Python Editor Script Plugin and Remote Control API — and talks to the editor over local HTTP.
┌─ LOCAL layer ── processes + public HTTP
│ UnrealEditor.exe, UnrealBuildTool, RunUAT, asset downloads
Agent ──stdio──▶ MCP │
└─ EDITOR layer ── HTTP :30010 (Remote Control API)
└─ ExecutePythonCommandEx → running editorThe local layer exists because the Remote Control API only works against an editor that is already running: creating a project, launching it, compiling and packaging all have to happen at the process level.
184 tools and 5 resources — full reference
435 tests, none of which need Unreal installed
Unreal automation notes — the API traps found the hard way
Requirements
Unreal Engine 5.0 or newer (developed and tested against 5.8 — see version compatibility)
Python 3.10+
Windows, Linux or macOS. Development happens on Windows, which is where the local layer is exercised most; the Linux and macOS paths (
Build.sh,RunUAT.sh,pgrep) are implemented and covered by CI, but less battle-tested. The editor layer is platform-neutral.
Unreal version compatibility
The server detects what the running engine supports at startup of each call —
ue_status reports it under capabilities — and fails with an explicit
message instead of a cryptic Python error when a feature is missing:
Feature | Works on |
Actors, levels, spawn/transform, PIE, project settings, build & packaging, Sound Cues | 5.0+ |
Blueprint creation, components ( | 5.0+ |
Materials, material instances, screenshots, C++ class generation | 5.0+ |
glTF/ | 5.2+ (earlier: enable the glTF Importer plugin; the tool tells you when that is the problem) |
Blueprint member variables + per-variable replication ( | 5.4+ (no Python API before that — the tool says so explicitly) |
MetaSounds | any 5.x with the MetaSound plugin enabled |
Custom engine builds are fine: detection is based on the actual Python API surface, not on the version number.
Related MCP server: Hayba
Install
pip install unreal-engine-mcpOr run it without installing anything, if you have uv:
uvx unreal-engine-mcpOr from source, to hack on it:
git clone https://github.com/FFZackFair92/unreal-engine-mcp.git
cd unreal-engine-mcp
pip install -e .Connect it to your client
The server speaks standard MCP over stdio, so any MCP-capable client works — Claude, Cursor, VS Code, Windsurf, OpenAI Codex, custom agents. The command is always the same; only where the config lives differs.
Claude Desktop / Cowork
Settings ▸ Developer ▸ Edit Config, then add to mcpServers:
{
"mcpServers": {
"unreal-mcp": {
"command": "python",
"args": ["-m", "unreal_mcp.server"],
"env": { "UE_MCP_PORT": "30010" }
}
}
}Claude Code
claude mcp add unreal-mcp -- python -m unreal_mcp.serverCursor
~/.cursor/mcp.json (global) or .cursor/mcp.json in the project — same JSON
shape as Claude Desktop (mcpServers root key).
VS Code (Copilot agent mode)
.vscode/mcp.json — note the root key is servers here:
{
"servers": {
"unreal-mcp": { "type": "stdio", "command": "python", "args": ["-m", "unreal_mcp.server"] }
}
}Windsurf
~/.codeium/windsurf/mcp_config.json — same mcpServers shape as Claude Desktop.
OpenAI Codex CLI
~/.codex/config.toml:
[mcp_servers.unreal-mcp]
command = "python"
args = ["-m", "unreal_mcp.server"]OpenAI Agents SDK (custom agents)
from agents.mcp import MCPServerStdio
unreal = MCPServerStdio(params={"command": "python", "args": ["-m", "unreal_mcp.server"]})Restart the client completely after editing its config. In every case python
must be the interpreter where you ran pip install -e . — use an absolute path
if in doubt.
Note: ChatGPT's connector UI only accepts remote MCP servers. This server is stdio/local by design (it drives processes on your machine), so use it from clients with stdio support — the ones above — or wrap it with an MCP proxy if you really need HTTP.
Set up the Unreal side
Starter project — zero setup, zero builds
Copy StarterProject/ wherever you like and open the
.uproject with any UE 5.0+: plugins enabled, security config in place, web
server auto-started. Being Blueprint-only with engine plugins, there is
nothing to compile — unlike starters that bundle a C++ plugin.
New project — nothing to do by hand
Ask the agent to run ue_project_create. It writes the .uproject with the
required plugins enabled, the security flags Remote Control needs, and an
init_unreal.py that starts the web server on every editor launch.
ue_engine_list → ue_project_create → ue_editor_open → ue_statusExisting project — two steps
Enable the plugin:
Edit ▸ Plugins→ Python Editor Script Plugin. Restart when prompted.Tick one box:
Edit ▸ Project Settings→ search Python → check Enable Remote Execution.
That is the whole setup. The server discovers the editor over the engine's own Python remote execution channel — no config file, no HTTP port.
The native channel finds the editor with a UDP multicast ping on the local
machine. That is the easy path, but it does not cross a subnet, and some
corporate networks and VPN adapters swallow multicast entirely. In those cases
— or with the editor on another machine — use the Remote Control API
instead, with UE_MCP_TRANSPORT=remotecontrol.
Enable the plugins: Python Editor Script Plugin and Remote Control API. Restart when prompted.
Allow remote Python. Create
Config/DefaultRemoteControl.ini:[/Script/RemoteControlCommon.RemoteControlSettings] bAutoStartWebServer=True bAutoStartWebSocketServer=True RemoteControlHttpServerPort=30010 bEnableRemotePythonExecution=True bAllowAnyRemoteFunctionCall=False +CustomAllowedRemoteFunctionCalls=(ClassPath="/Script/PythonScriptPlugin.PythonScriptLibrary") bAllowConsoleCommandRemoteExecution=FalseThese are two separate gates — one unlocks the object, the other the function call — and they fail with different errors.
DefaultEngine.iniis the wrong file:URemoteControlSettingsis declaredUCLASS(config = RemoteControl). Restart the editor.On engines that predate some of these keys they are simply ignored — older versions did not gate those calls in the first place.
The server listens on
127.0.0.1only, so remote Python execution is not reachable from outside the machine.What the server can do once connected, and how to open it up safely if you really need to reach the editor from another machine, is in SECURITY.md.
bAllowConsoleCommandRemoteExecutionstays off. It enablesExecuteConsoleCommandthrough the web API, which this server never calls — the console commands it does need (LiveCoding.Compile,WebControl.StartServer,HighResShot) are issued from inside Python viaunreal.SystemLibrary.execute_console_commandand do not go through that gate. Older versions of this project set it toTrue; existing projects can flip it toFalsewithout losing anything.Check it: open
http://127.0.0.1:30010/remote/infoin a browser. JSON back means you are connected.
Which transport is in use
ue_status reports it. By default (UE_MCP_TRANSPORT=auto) the server tries
the native channel first and falls back to HTTP, so a project set up either way
just works. Set pyremote or remotecontrol to pin one.
What it can do
Area | Highlights |
Projects | Find engine installs, create projects from a spec, manage plugins |
Editor lifecycle | Open (waiting for the bridge), status, clean shutdown |
C++ | Generate compilable classes with the boilerplate written correctly, then reparent Blueprints onto them |
Build | Compile C++ in the background; |
Package |
|
Assets | Import |
Levels | Create and open levels, spawn/move/delete actors, batch spawn, set properties on placed actors |
Materials | Build material graphs node by node, wire PBR textures, material instances, assign to actors |
Data and input | Data Tables (CSV/JSON import and export), Enhanced Input actions, contexts and key mappings |
Asset hygiene | Nanite, collisions and lightmaps on meshes, texture compression, references, redirector fix-up |
Blueprints | Create, add components, typed variables with replication, class defaults, reparent, compile |
Networking | Replication flags, multi-client PIE, project settings |
Audio | Import wavs, MetaSound sources, Sound Cues |
Free assets | Poly Haven, ambientCG and Kenney downloads (all CC0), plus any direct URL |
Feedback |
|
Full parameter list in docs/TOOLS.md.
Reaching the server from claude.ai on the web
Local clients launch the server over stdio and need nothing else. claude.ai runs on Anthropic's machines, which cannot reach yours, so it needs an HTTP endpoint and a tunnel of your own in front of it:
python -m unreal_mcp.server --httpThat binds 127.0.0.1:8000; the URL to paste into Settings → Connectors → Add
custom connector is the tunnel's public address with /mcp appended.
A tunnel publishes a server exposing
ue_exec_pythonto the internet — arbitrary code execution inside your editor. Keep it up for the length of the test and don't share it, or put Cloudflare Access (or equivalent) in front of the hostname before leaving it running.
Authoring Blueprint graphs
Blueprint node graphs are scriptable on UE 5.8+. Start with
ue_bp_graph_info, which returns the node object names every other tool takes
as a key, then ue_bp_add_call_function, ue_bp_add_branch,
ue_bp_add_custom_event, ue_bp_add_variable_node, or
ue_bp_add_node_by_name with ue_bp_list_palette for anything else. Wire with
ue_bp_connect, set literals with ue_bp_set_pin_value. Event nodes are
addressed by the alias event:ReceiveBeginPlay.
EdGraph.Nodes is still protected and pins are still unexposed — the route is
unreal.BlueprintGraphEditor, which edits the graph from the outside the way
the editor does. Details in docs/UNREAL-NOTES.md.
Check ue_status → capabilities.blueprint_graph_authoring first. On an
engine without that API the tools fail with an explanation, and the older route
still applies: put the logic in a C++ parent class. The Blueprint stays the
container for components and tweakable values; the behaviour is inherited.
ue_cpp_class_create # writes the class, and the whole C++ module if the
# project was Blueprint-only
ue_editor_close
ue_build_start # poll ue_build_status until running=false
ue_editor_open
ue_reparent_blueprint # the Blueprint now inherits the behaviourBlueprint variables whose names match a UPROPERTY on the new parent are
absorbed by it, so values set in the editor survive the move. Functions marked
BlueprintCallable become callable from the graph — an agent can build the
vocabulary the designer then wires up by hand.
Material graphs are fully scriptable too: ue_create_material really does
create and connect the nodes.
Other limits
Compiling C++ needs the editor closed, unless the change only touches function bodies — then
ue_live_compileworks with it open.Packaging always needs the editor closed: the build step rewrites the DLLs the editor holds in memory.
Feature availability varies with the engine version — see the compatibility table;
ue_statusreports what the running engine supports.Fab/Marketplace content has no public API. Those tools shell out to the community client
legendary, or install a folder/zip you already downloaded yourself (preset_fab_install).
Configuration
Variable | Default | Purpose |
|
|
|
|
| Remote Control endpoint |
|
| Per-call timeout in seconds |
| — | Which project to drive when several editors are open |
|
| Discovery endpoint for the native channel |
|
| Interface the discovery ping goes out of — set it when several adapters (VPN, WSL, Hyper-V) hide the editor |
|
| Keeps discovery on this machine. Raising it exposes arbitrary code execution to the network |
| — | Extra folders to search for engine installs |
|
| Where downloaded assets land |
| 4 GiB | Per-file download cap |
| — |
|
|
| Port the HTTP server listens on. Distinct from |
|
| Comma-separated |
If the engine sits somewhere unusual, you can also drop an mcp_engine.txt next
to the .uproject containing its path, or pass engine_root explicitly.
Development
The test suite runs without Unreal installed: tests/fake_unreal.py stands
in for the unreal module and tests/fake_server.py emulates the Remote Control
API while actually executing the generated snippets — so the whole chain
tool → snippet → harness → result is covered.
pip install -e ".[dev]"
pytest -qAdding a tool: a reusable helper in src/unreal_mcp/ue_side.py (editor side),
an @mcp.tool() function in server.py, and a test in tests/. See
CONTRIBUTING.md for the conventions worth knowing.
ue_side.py is installed into the running editor as a module and keyed by a
hash of its source, so editor-side changes take effect on the next call without
restarting the server — and every other call is just a small snippet that
imports it. Changes to server.py or local.py need a client restart.
Troubleshooting
Symptom | Cause |
| Editor closed, or the web server never started → console: |
| Missing |
| Missing |
| Remote Control API plugin not enabled |
| Python Editor Script Plugin not enabled |
|
|
| Set |
|
|
Licence
MIT — see LICENSE.
References
Available Tools
163 toolspreset_download_ambientcgB
Scarica ed estrae un asset ambientCG (CC0).
Args: asset_id: es. "PavingStones036". variant: es. "1K-JPG", "2K-JPG", "4K-PNG".
Inputs: asset_id (required), variant, destination.
preset_download_kenneyB
Scarica ed estrae un pack Kenney (CC0) risolvendo il link dalla pagina.
Args: slug: ultima parte dell'URL, es. "mini-characters-1" per kenney.nl/assets/mini-characters-1.
Inputs: slug (required), destination.
preset_download_polyhavenA
Scarica un asset Poly Haven (CC0) nella libreria locale.
Args: asset_id: id dell'asset, es. "brick_wall_02". resolution: "1k" | "2k" | "4k" | "8k". formats: ["jpg"] per texture, ["gltf"] per modelli, ["hdr"] per HDRI. destination: cartella alternativa alla libreria.
Inputs: asset_id (required), formats, resolution, destination.
preset_download_urlB
Scarica un file da un URL diretto (zip, glb, fbx, wav) nella libreria locale.
Se è un archivio zip/tar e extract=True, lo estrae subito.
Inputs: url (required), extract, filename, destination.
preset_extract_archiveB
Estrae un archivio zip/tar già presente sul disco (i .rar non sono supportati).
Inputs: archive (required), destination.
preset_fab_downloadB
Scarica un asset del vault Epic tramite legendary.
Args: app_name: identificativo restituito da preset_fab_list_vault.
Inputs: app_name (required), destination.
preset_fab_list_vaultA
Elenca il contenuto Unreal acquistato sull'account Epic (Fab/Marketplace).
Non esiste un'API pubblica: serve il client community legendary
(pip install legendary-gl + legendary auth). Senza di esso il tool
spiega come procedere dall'Epic Games Launcher.
Inputs: no named parameters.
preset_library_listA
Elenca i file già scaricati nella libreria locale (default: ~/UnrealAssetLibrary).
I percorsi restituiti si passano direttamente a ue_import_assets.
Inputs: subfolder, extensions.
preset_search_ambientcgB
Cerca materiali/HDRI/modelli CC0 su ambientCG.
Args: query: parole chiave, es. "concrete". asset_type: "Material" | "HDRI" | "3DModel" | "Decal" | "Atlas" | "Terrain".
Inputs: limit, query, asset_type.
preset_search_polyhavenA
Cerca asset CC0 su Poly Haven.
Args: asset_type: "hdris" | "textures" | "models". categories: filtri, es. ["brick"], ["outdoor"]. limit: massimo di risultati.
Inputs: limit, asset_type, categories.
ue_actor_hierarchyB
Albero padre/figli degli attori del livello.
Args: label: se indicato, parte da quell'attore invece che dalle radici.
Inputs: label. Returns: result
ue_add_componentA
Aggiunge un componente a un Blueprint e lo ricompila.
Args: blueprint_path: es. "/Game/MyGame/Blueprints/BP_Door". component_class: es. "StaticMeshComponent", "BoxComponent", "PointLightComponent". name: nome del componente nel Blueprint.
Inputs: blueprint_path (required), component_class (required), name.
ue_add_variableA
Aggiunge una variabile membro a un Blueprint e ricompila. Richiede UE 5.4+
(l'API Python per le variabili non esiste nei motori precedenti; ue_status
riporta in capabilities cosa supporta il motore corrente).
Args: blueprint_path: path del Blueprint. var_name: nome variabile, es. "OccupiedBy". var_type: bool | int | int64 | float | string | name | text | struct | object | class. sub_type: per struct ("Vector", "Rotator", "Transform", "LinearColor") o per object/class il nome della classe ("Actor", "PlayerState"). replicated: marca la variabile come replicata (networking). instance_editable: esposta e modificabile sulle istanze nel livello. default_value: valore di default scritto nei Class Defaults (solo tipi semplici).
Inputs: var_name (required), blueprint_path (required), sub_type, var_type, +3 more.
ue_anim_sequence_infoB
Durata, notify, sync marker e curve di un AnimSequence.
Args: anim_path: es. "/Game/MyGame/Characters/Hero/Animations/Idle".
Inputs: anim_path (required).
ue_assign_materialA
Assegna un materiale a un attore piazzato.
Args: label: etichetta dell'attore nell'Outliner. material_path: es. "/Game/MyGame/Materials/M_Brick". slot: indice dello slot materiale sulla mesh. component: componente su cui scrivere; default il primo MeshComponent.
Inputs: label (required), material_path (required), slot, component.
ue_attach_actorA
Aggancia un attore a un altro: muovendo il padre si muove il figlio.
È il modo in cui si compone una scena (le luci a un lampione, le casse su un pallet) invece di lasciare oggetti slegati da riposizionare uno per uno.
Args: child_label: label dell'attore da agganciare. parent_label: label dell'attore padre. socket: nome del socket sul padre, se ne ha. attach_rule: "KEEP_WORLD" (resta dov'è), "KEEP_RELATIVE" o "SNAP_TO_TARGET" (si allinea al padre).
Inputs: child_label (required), parent_label (required), socket, attach_rule.
ue_blackboard_add_keyA
Aggiunge una chiave a un Blackboard Data esistente.
Args: blackboard_path: es. "/Game/MyGame/AI/BB_Guard". key_name: es. "TargetActor". key_type: object | class | bool | int | float | string | name | vector | rotator | enum.
Inputs: key_name (required), blackboard_path (required), key_type.
ue_blackboard_infoA
Elenca le chiavi di un Blackboard Data esistente.
Inputs: blackboard_path (required).
ue_bp_add_branchC
Aggiunge un nodo Branch (if/then/else): pin Condition in ingresso,
then e else in uscita.
Inputs: blueprint_path (required), position, graph_name.
ue_bp_add_call_functionA
Aggiunge un nodo di chiamata a funzione e restituisce i suoi pin.
Args: blueprint_path: Blueprint da modificare. function_path: "/Script/.:", per esempio "/Script/Engine.KismetSystemLibrary:PrintString" o "/Script/Engine.GameplayStatics:GetPlayerPawn". graph_name: grafo di destinazione. position: {"x": .., "y": ..} o [x, y], solo estetica.
Inputs: function_path (required), blueprint_path (required), position, graph_name.
ue_bp_add_custom_eventA
Aggiunge un Custom Event. Solo nei grafi evento: una funzione non può contenerne.
Inputs: event_name (required), blueprint_path (required), position, graph_name.
ue_bp_add_event_overrideA
Aggiunge (o ritrova) il nodo di un evento ereditato overridabile nell'event graph.
Restituisce il path del nodo e i suoi pin — l'unico modo per riferirsi a quel nodo in seguito con ue_bp_connect_pins, dato che il grafo non elenca i propri nodi via Python.
Args: blueprint_path: es. "/Game/MyGame/BP_Player". event_name: nome dell'evento ereditato, es. "ReceiveBeginPlay", "ReceiveTick", "ReceiveEndPlay". Vedi ue_bp_list_events per i nomi disponibili su questo Blueprint. x: posizione orizzontale del nodo nel grafo (solo visuale). y: posizione verticale del nodo nel grafo (solo visuale).
Inputs: event_name (required), blueprint_path (required), x, y.
ue_bp_add_function_graphA
Crea un grafo funzione vuoto (nodi Entry/Return di default).
I nodi interni non sono raggiungibili da qui: il corpo va scritto a mano nel Blueprint Editor, o lasciato vuoto come slot da riempire in seguito.
Args: blueprint_path: es. "/Game/MyGame/BP_Player". func_name: es. "ApriPorta".
Inputs: func_name (required), blueprint_path (required).
ue_bp_add_node_by_nameA
Aggiunge un nodo qualunque dalla palette, per "Categoria|Nome".
Ultima spiaggia per i nodi che non hanno un tool dedicato. I nomi sono
localizzati come l'editor: su un editor italiano il Branch è
"Utilità|ControlloDiFlusso|Ramo", non "Utilities|FlowControl|Branch".
Cerca la stringa esatta con ue_bp_list_palette prima di chiamare questo,
o usa i tool tipizzati che non hanno il problema.
Inputs: node_name (required), blueprint_path (required), position, graph_name.
ue_bp_add_variable_nodeA
Aggiunge un nodo Get o Set per una variabile membro.
La variabile dev'essere già stata creata con ue_add_variable.
Args: blueprint_path: Blueprint da modificare. variable_name: nome della variabile. mode: "get" o "set". graph_name: grafo di destinazione. position: {"x": .., "y": ..} o [x, y]. class_path: per leggere una variabile di un'altra classe; vuoto = questo Blueprint.
Inputs: variable_name (required), blueprint_path (required), mode, position, +2 more.
ue_bp_break_pinB
Stacca tutti i collegamenti di un pin, e riporta quanti erano.
Inputs: pin (required), node (required), blueprint_path (required), graph_name.
ue_bp_connectA
Collega un pin di uscita di un nodo a un pin di ingresso di un altro.
Args:
blueprint_path: Blueprint da modificare.
from_node: nome oggetto del nodo di partenza, o event:<NomeMembro>
(es. "event:ReceiveBeginPlay") per un nodo evento.
from_pin: pin di uscita, es. "then" per il filo di esecuzione.
to_node: nome oggetto del nodo di arrivo.
to_pin: pin di ingresso, es. "execute".
graph_name: grafo su cui lavorare.
Se i tipi non sono compatibili il tool lo dice, riportando i due tipi invece di fallire in silenzio.
Inputs: to_pin (required), to_node (required), from_pin (required), from_node (required), +2 more.
ue_bp_graph_infoA
Nodi, pin, connessioni ed errori di compilazione di un grafo Blueprint.
È il punto di partenza: dà i nomi oggetto dei nodi da usare in tutti gli
altri tool, e errors/warnings dicono se il grafo compila.
Args:
blueprint_path: es. "/Game/MyGame/BP_Player".
graph_name: nome oggetto del grafo ("EventGraph",
"UserConstructionScript", o il nome di una funzione), non il
titolo tradotto. ue_bp_list_graphs li elenca.
Inputs: blueprint_path (required), graph_name.
ue_bp_list_eventsA
Elenca gli eventi visibili su un Blueprint: custom, ereditati overridabili, di interfaccia.
is_implemented dice se esiste già un nodo per quell'evento nel grafo.
Args: blueprint_path: es. "/Game/MyGame/BP_Player".
Inputs: blueprint_path (required).
ue_bp_list_graphsB
Elenca i grafi di un Blueprint (EventGraph, UserConstructionScript, funzioni...).
Args: blueprint_path: es. "/Game/MyGame/BP_Player".
Inputs: blueprint_path (required).
ue_bp_list_paletteA
Cerca fra i nodi aggiungibili a un grafo, filtrando per sottostringa.
La palette completa ha migliaia di voci e segue la lingua dell'editor:
filtrare è l'unico modo pratico di trovare il nome esatto da passare a
ue_bp_add_node_by_name.
Args: blueprint_path: Blueprint di riferimento. graph_name: grafo di cui si vuole la palette. contains: sottostringa da cercare, senza distinzione di maiuscole. limit: quante corrispondenze restituire.
Inputs: blueprint_path (required), limit, contains, graph_name.
ue_bp_remove_nodeC
Cancella un nodo dal grafo, con tutti i suoi collegamenti.
Inputs: node (required), blueprint_path (required), graph_name.
ue_bp_set_pin_valueA
Scrive il valore letterale di un pin di ingresso non collegato.
Unreal non valida il valore: verificato dal vivo che scrivere "non_un_bool" su un pin booleano viene accettato e memorizzato così com'è. Per questo il tool rilegge sempre il pin dopo la scrittura e restituisce il valore vero — controllalo, invece di fidarti del successo.
Inputs: pin (required), node (required), value (required), blueprint_path (required), +1 more.
ue_bt_add_decoratorA
Aggiunge un decorator (condizione) al child link di un nodo.
Args: bt_path: path del Behavior Tree. node_path: path del nodo (non può essere "root": la radice non ha un child link proprio), es. "0" o "0.1". decorator_class: es. "BTDecorator_Blackboard", "BTDecorator_Cooldown".
Inputs: bt_path (required), node_path (required), decorator_class (required).
ue_bt_add_nodeA
Aggiunge un nodo (composite o task) come figlio di un nodo composite esistente.
Il tipo di nodo (composite vs task) è dedotto dalla classe: se eredita da
BTCompositeNode va in ChildComposite, altrimenti in ChildTask. Usa
ue_bt_info per vedere i path esistenti prima di aggiungere.
Args:
bt_path: path del Behavior Tree.
parent_path: "root" per la radice, oppure un path tipo "0" o "0.1"
(indici dei figli separati da punto, restituiti da questa stessa
funzione o da ue_bt_info).
node_class: es. "BTComposite_Sequence", "BTTask_Wait", "BTTask_MoveTo".
index: posizione tra i figli esistenti (in coda se omesso).
Inputs: bt_path (required), node_class (required), parent_path (required), index.
ue_bt_add_serviceA
Aggiunge un service a un nodo composite (solo Selector/Sequence, non i task).
Args: bt_path: path del Behavior Tree. node_path: "root" o un path tipo "0" — deve essere un nodo composite. service_class: es. "BTService_DefaultFocus".
Inputs: bt_path (required), node_path (required), service_class (required).
ue_bt_infoB
Dump ricorsivo dell'albero di un Behavior Tree (nodi, decorator, service, path).
Inputs: bt_path (required).
ue_bt_set_node_propertyA
Imposta una proprietà su un nodo del Behavior Tree.
Gestisce in automatico i campi bindable da blackboard (es.
BTTask_Wait.WaitTime, uno struct FValueOrBBKey_Float): scrive nel
valore di default fisso invece che nella chiave blackboard.
Args: bt_path: path del Behavior Tree. node_path: "root" o un path tipo "0.1". property_name: nome della proprietà UE (es. "WaitTime", "BlackboardKey"). value: valore JSON da scrivere (segue le stesse regole di ue_set_actor_property).
Inputs: value (required), bt_path (required), node_path (required), property_name (required).
ue_build_startA
Avvia la compilazione del modulo C++ del progetto (in background).
L'editor deve essere chiuso: con Live Coding attivo UnrealBuildTool si rifiuta di scrivere le DLL, e per un modulo nuovo Live Coding non è sufficiente. Sequenza tipica: ue_editor_close -> ue_build_start -> ue_build_status (finché running=false) -> ue_editor_open.
Args: uproject: percorso del file .uproject. engine_version: forza una versione del motore diversa da quella associata. target: default "Editor". configuration: "Development" | "DebugGame" | "Shipping". engine_root: percorso del motore, quando non è registrato nel sistema e la ricerca automatica non lo trova. force: avvia anche se risulta già una compilazione in corso. Serve solo quando la precedente è rimasta bloccata e ne hai chiuso i processi: due Build.bat insieme si accodano sullo stesso mutex.
Inputs: uproject (required), force, target, engine_root, +2 more.
ue_build_statusA
Stato della compilazione avviata con ue_build_start: in corso, errori, coda del log.
Args: tail_lines: quante righe finali del log restituire. uproject: a quale progetto si riferisce; se omesso, l'ultima compilazione avviata. wait_seconds: se > 0 attende la fine della compilazione fino a questo limite, riportando l'avanzamento, invece di restituire subito. Una build completa dura minuti: meglio un'attesa sola che venti letture.
Inputs: uproject, tail_lines, wait_seconds.
ue_build_unblockA
Trova — e se vuoi termina — i processi che tengono occupato il lock di build.
Serve quando ue_build_status riporta blocked: gli script di Epic prendono
un lock globale e un'istanza rimasta orfana non lo rilascia mai, quindi
Build.bat aspetta all'infinito e ogni nuovo tentativo si accoda.
La ricerca è sulla riga di comando, non sul nome dell'immagine: su UE 5
UnrealBuildTool è un assembly .NET dentro dotnet.exe e gli script girano
dentro cmd.exe, quindi nessuno dei due si trova con
taskkill /IM UnrealBuildTool.exe — ed è il motivo per cui il lock sembra
inestirpabile.
Args:
dry_run: con True (default) elenca soltanto. La ricerca per riga di
comando può intercettare un dotnet.exe che sta facendo altro:
guarda l'elenco prima di terminarlo.
engine_version, engine_root: quale motore, per sapere quale file di
lock controllare (%TMP%\<percorso di Build.bat>.lock).
Inputs: dry_run, engine_root, engine_version.
ue_compile_blueprintB
Compila e salva un Blueprint. Usare dopo modifiche manuali nell'editor.
Inputs: blueprint_path (required).
ue_component_physics_infoC
Stato fisica/collisione attuale di un componente.
Inputs: actor (required), component (required).
ue_configure_pieA
Configura il Play In Editor multi-client, per provare il multiplayer in locale.
Args: num_players: numero di finestre client (server incluso in listen_server). net_mode: "standalone" | "listen_server" | "client". one_process: True = più finestre nello stesso processo (più veloce da avviare).
Inputs: net_mode, num_players, one_process.
ue_console_commandA
Esegue un comando della console dell'editor e restituisce ciò che stampa.
I comandi di console non restituiscono valori: scrivono nel log. Questo tool misura il log prima e dopo e riporta solo le righe nuove, altrimenti la risposta sarebbe "fatto" e nient'altro.
Utile per stat unit, r.ScreenPercentage 50, showflag.*, DumpConsoleCommands.
Passa dall'interprete Python dell'editor, non dal gate
bAllowConsoleCommandRemoteExecution della Remote Control API, che resta
spento: da qui si può fare tutto quello che si fa dalla console, quit
compreso.
Args: command: il comando, es. "stat fps". wait_seconds: quanto attendere che il motore scriva nel log.
Inputs: command (required), wait_seconds.
ue_cpp_class_createA
Genera una classe C++ compilabile nel modulo del progetto.
È la risposta al limite principale di questo MCP: i grafi Blueprint non sono scrivibili da Python, ma la logica può stare in C++ e arrivare ai Blueprint per ereditarietà. Flusso completo:
ue_cpp_class_create -> ue_editor_close -> ue_build_start ->
ue_build_status (finché running=false) -> ue_editor_open ->
ue_reparent_blueprintSe il progetto è Blueprint-only, il modulo C++ (Build.cs, Target.cs, IMPLEMENT_PRIMARY_GAME_MODULE, voce Modules nel .uproject) viene creato.
Args:
uproject: percorso del file .uproject.
class_name: nome senza prefisso, es. "DoorBase" -> ADoorBase.
parent_class: "Actor", "Pawn", "Character", "ActorComponent",
"GameModeBase", "PlayerState", ...
module: nome del modulo C++; default il nome del progetto.
properties: lista di dict con name, type (es. "float", "FVector",
"TObjectPtr"), e opzionali category, default,
replicated, rep_notify, read_only. Le proprietà replicate
generano anche GetLifetimeReplicatedProps e i DOREPLIFETIME.
functions: lista di dict con name, return_type, params,
specifiers (default BlueprintCallable), body. Le funzioni
BlueprintCallable diventano chiamabili dai grafi Blueprint.
with_tick: abilita il Tick (di default è spento, come conviene).
force: sovrascrive i file se esistono già.
Inputs: uproject (required), class_name (required), force, module, +4 more.
ue_create_anim_blueprintA
Crea l'asset Anim Blueprint associato a uno Skeleton.
L'AnimGraph non è raggiungibile da qui (stesso limite del grafo Blueprint): va disegnato a mano nell'Anim Blueprint Editor.
Args: package_path: es. "/Game/MyGame/Characters/Hero". name: es. "ABP_Hero". skeleton_path: Skeleton a cui l'Anim Blueprint è associato. parent_class: nome esposto ai binding Python (default "AnimInstance") o percorso completo di una classe C++ del progetto.
Inputs: name (required), package_path (required), skeleton_path (required), parent_class.
ue_create_anim_montageA
Crea un AnimMontage a partire da un AnimSequence esistente.
Args: package_path: es. "/Game/MyGame/Characters/Hero/Animations". name: es. "AM_Attack". source_animation_path: AnimSequence da incapsulare nel montage.
Inputs: name (required), package_path (required), source_animation_path (required).
ue_create_behavior_treeA
Crea un Behavior Tree con un nodo radice già impostato (Selector o Sequence), opzionalmente collegato a un Blackboard.
Args: package_path: es. "/Game/MyGame/AI". name: es. "BT_Guard". blackboard_path: Blackboard da collegare (opzionale). root_composite: "BTComposite_Selector" | "BTComposite_Sequence" | qualunque classe composite valida.
Inputs: name (required), package_path (required), root_composite, blackboard_path.
ue_create_blackboardC
Crea un asset Blackboard Data vuoto (solo la chiave "SelfActor" di default).
Inputs: name (required), package_path (required).
ue_create_blend_space_1dA
Crea un BlendSpace1D con un asse e, opzionalmente, i suoi sample.
Solo 1D per ora: BlendSpace (2D) usa la stessa struttura dati ma non è stata verificata dal vivo in questa fase.
Args:
package_path: es. "/Game/MyGame/Characters/Hero/Animations".
name: es. "BS_Locomotion".
skeleton_path: Skeleton a cui il BlendSpace è associato.
axis_name: nome dell'asse, es. "Speed".
axis_min: valore minimo dell'asse.
axis_max: valore massimo dell'asse.
grid_num: numero di suddivisioni della griglia.
samples: lista di {"value": float, "animation": path}, es.
[{"value": 0, "animation": ".../Idle"}, {"value": 300, "animation": ".../Running"}].
Inputs: name (required), package_path (required), skeleton_path (required), samples, +4 more.
ue_create_blueprintB
Crea un Blueprint.
Args: package_path: cartella, es. "/Game/MyGame/Blueprints". name: nome asset, es. "BP_CornerSlot". parent_class: "Actor", "Character", "Pawn", "GameModeBase", "PlayerState", "GameStateBase", "AIController" o un path completo.
Inputs: name (required), package_path (required), parent_class.
ue_create_eqs_assetA
Crea un asset Environment Query (EQS) vuoto.
Le query (Options, generator, test) non sono raggiungibili da qui — stesso limite del grafo Blueprint, del WidgetTree e dell'emitter stack Niagara. Va costruito a mano nell'EQS Editor.
Args: package_path: es. "/Game/MyGame/AI". name: es. "EQS_FindCover".
Inputs: name (required), package_path (required).
ue_create_foliage_spawnerA
Crea un ProceduralFoliageSpawner con dentro i suoi FoliageType.
Lo spawner è la ricetta (quali specie, con quale competizione fra loro); il
volume creato da ue_foliage_spawn_volume è dove viene applicata.
Args: package_path: es. "/Game/MyGame/Foliage". name: es. "PFS_Bosco". foliage_types: path dei FoliageType da includere. tile_size: lato della tile di simulazione in cm (default 10000).
Inputs: name (required), package_path (required), tile_size, foliage_types.
ue_create_foliage_typeA
Crea un FoliageType a partire da una static mesh.
Il FoliageType è la "specie": dice quale mesh piazzare e con quali regole
(densità, scala casuale, allineamento alla normale, collisione). Le istanze
si piazzano poi con ue_foliage_add_instances o ue_foliage_scatter.
Args: package_path: es. "/Game/MyGame/Foliage". name: es. "FT_Erba". mesh_path: la static mesh, es. "/Game/Meshes/SM_Erba". properties: proprietà iniziali, es. {"density": 300, "random_yaw": True}.
Inputs: name (required), mesh_path (required), package_path (required), properties.
ue_create_gameplay_abilityA
Crea un GameplayAbility Blueprint (asset dedicato, non un Blueprint generico).
La logica dell'abilità (ActivateAbility, i suoi nodi) resta un EdGraph come tutti i grafi Blueprint — non scriptabile, va disegnata a mano. Le proprietà dati invece si impostano già qui.
Args: package_path: es. "/Game/MyGame/Abilities". name: es. "GA_Dash". instancing_policy: "InstancedPerActor" | "InstancedPerExecution" | "NonInstanced". net_execution_policy: "LocalPredicted" | "LocalOnly" | "ServerInitiated" | "ServerOnly".
Inputs: name (required), package_path (required), instancing_policy, net_execution_policy.
ue_create_gameplay_effectA
Crea un GameplayEffect Blueprint (Blueprint generico con parent GameplayEffect).
Args: package_path: es. "/Game/MyGame/Effects". name: es. "GE_Damage". duration_policy: "Instant" | "HasDuration" | "Infinite". period: intervallo di applicazione in secondi (per effetti periodici).
Inputs: name (required), package_path (required), period, duration_policy.
ue_create_level_sequenceA
Crea una Level Sequence vuota.
Args: package_path: es. "/Game/MyGame/Cinematics". name: es. "LS_Intro". fps: frame rate di visualizzazione (default 30). length_frames: durata in frame; imposta il range di playback da 0.
Inputs: name (required), package_path (required), fps, length_frames.
ue_create_materialA
Crea un materiale collegando le texture ai canali PBR.
A differenza dei grafi Blueprint, il grafo materiale è pienamente scriptabile: qui i nodi vengono creati e collegati davvero.
Args: package_path: cartella, es. "/Game/MyGame/Materials". name: nome asset, es. "M_Brick". textures: mappa canale -> path della texture importata. Canali: base_color, normal, roughness, metallic, ambient_occlusion, emissive, opacity. Usa la chiave "auto" con il path per far dedurre il canale dal nome file (convenzioni ambientCG/Poly Haven). scalars: costanti sui canali senza texture, es. {"roughness": 0.4}. two_sided: disattiva il backface culling.
Inputs: name (required), package_path (required), scalars, textures, +1 more.
ue_create_material_instanceA
Crea una Material Instance da un materiale padre e ne imposta i parametri.
Variare un materiale via istanza non ricompila il grafo: è la via economica per avere molte varianti dello stesso materiale.
Args: package_path: cartella di destinazione. name: es. "MI_Brick_Red". parent_path: materiale padre, es. "/Game/MyGame/Materials/M_Brick". parameters: mappa nome -> valore. Numero = scalare, dict {"r","g","b"} = colore, bool = static switch, path /Game/... = texture.
Inputs: name (required), parent_path (required), package_path (required), parameters.
ue_create_metasound_sourceC
Crea un asset MetaSound Source vuoto (richiede il plugin MetaSound attivo).
Il grafo va poi popolato nell'editor MetaSound o via ue_exec_python.
Inputs: name, package_path.
ue_create_niagara_systemA
Crea un asset Niagara System vuoto.
L'emitter stack (aggiungere emitter, moduli, parametri) non è raggiungibile da qui — stesso limite del grafo Blueprint e del WidgetTree di UMG. Va costruito a mano nel Niagara Editor.
Args: package_path: es. "/Game/MyGame/VFX". name: es. "NS_Explosion".
Inputs: name (required), package_path (required).
ue_create_pcg_graphB
Crea un asset PCGGraph vuoto — con i suoi nodi Input e Output già dentro.
Args: package_path: es. "/Game/MyGame/PCG". name: es. "PCG_Foresta".
Inputs: name (required), package_path (required).
ue_create_sound_cueB
Crea un Sound Cue, opzionalmente già collegato a un SoundWave importato.
Args: package_path: es. "/Game/MyGame/Audio". name: es. "SC_Explosion". wave_path: path del SoundWave, es. "/Game/MyGame/Audio/explosion".
Inputs: name (required), package_path (required), wave_path.
ue_create_widget_blueprintA
Crea un asset Widget Blueprint (UMG) vuoto.
L'albero nasce senza radice, e WidgetTree.RootWidget non è
scrivibile da Python: per costruire un layout con i tool ue_umg_* parti
invece da ue_duplicate_asset di un Widget Blueprint che una radice ce
l'ha già, e svuotalo con ue_umg_remove_widget. Questo tool va bene
quando la radice la metti a mano nel Widget Designer, o quando il Widget
Blueprint serve solo come asset da riempire dopo.
Args: package_path: es. "/Game/UI". name: es. "WBP_MainMenu". parent_class: nome esposto ai binding Python (es. "UserWidget") o percorso completo di una classe C++ del progetto, per la via BindWidget. editor_utility: True per un Editor Utility Widget (tool per l'editor, non per il gioco) invece di un Widget Blueprint normale.
Inputs: name (required), package_path (required), parent_class, editor_utility.
ue_delete_actorB
Elimina dal livello corrente l'attore con la label indicata.
Inputs: label (required).
ue_delete_assetA
Elimina un asset o una cartella dal Content Browser.
Serve per rimediare a un import sbagliato senza aprire l'editor a mano. Di default rifiuta la cancellazione se qualcosa referenzia l'asset: cancellarlo comunque lascia riferimenti rotti nei livelli e nei Blueprint.
Args: path: es. "/Game/Imported/rock_01" oppure una cartella "/Game/Imported". force: cancella anche se referenziato.
Inputs: path (required), force.
ue_detach_actorB
Sgancia un attore dal suo padre.
Args: label: label dell'attore. keep_world: mantiene la posizione nel mondo invece di quella relativa.
Inputs: label (required), keep_world.
ue_duplicate_assetC
Duplica un asset: la via rapida per crearne una variante da modificare.
Inputs: path (required), new_path (required).
ue_editor_closeA
Chiude l'editor.
Prima tenta la chiusura pulita (salvataggio + quit_editor via bridge); se
fallisce o se force=True, termina il processo.
Args: save_all: salva livello e asset modificati prima di chiudere. force: salta il tentativo pulito e termina direttamente il processo.
Inputs: force, save_all.
ue_editor_openA
Apre un progetto nell'editor e attende che il bridge risponda.
L'attesa predefinita è breve di proposito: molti client MCP interrompono una
richiesta dopo 60 secondi, e un wait_seconds più lungo faceva fallire la
chiamata con "Request timed out" anche quando l'editor era partito
benissimo. Se il bridge non è ancora pronto la risposta lo dice e basta
richiamare ue_editor_status finché running diventa bridge_ready.
Args: uproject: percorso del file .uproject. engine_version: forza una versione del motore diversa da quella associata. wait_seconds: quanto attendere il bridge. Il primo avvio compila gli shader e può volerci molto di più: in quel caso non alzarlo oltre il timeout del client, si fa polling con ue_editor_status. extra_args: argomenti aggiuntivi per la riga di comando dell'editor. engine_root: percorso del motore, quando non è registrato nel sistema. skip_module_check: lancia anche se i moduli C++ non corrispondono al motore (l'editor resterà bloccato su una modale dietro allo splash).
Inputs: uproject (required), extra_args, engine_root, wait_seconds, +2 more.
ue_editor_statusA
Stato del processo editor avviato da questo MCP e del bridge Remote Control.
Inputs: no named parameters.
ue_engine_listA
Elenca le installazioni di Unreal Engine trovate sulla macchina.
Cerca in: variabile UE_MCP_ENGINE_DIRS, elenco dell'Epic Games Launcher, registro di Windows. Da chiamare per prima quando non c'è ancora un progetto.
Inputs: no named parameters.
ue_engine_templatesC
Elenca i template ufficiali disponibili nell'installazione (TP_Blank, TP_ThirdPerson, ...).
Inputs: engine_root, engine_version.
ue_exec_pythonA
Esegue codice Python arbitrario dentro l'editor Unreal (escape hatch).
Il modulo unreal e tutti gli helper mcp_* sono disponibili. Assegna il
valore da restituire alla variabile result.
Args: code: snippet Python, es. "result = len(mcp_actor_subsystem().get_all_level_actors())".
Inputs: code (required).
ue_find_classesA
Elenca le classi (native e Blueprint) derivate da una classe base, base inclusa.
Copre il caso "che sottoclassi di Character esistono nel progetto?" o "elencami le luci disponibili": la Blueprint del progetto compare col suo nome generato (es. "BP_PlayerCharacter_C").
Args: parent: nome esposto ai binding Python (es. "Character", "Actor") o percorso completo (es. "/Script/Engine.Light", "/Game/.../BP_Nemico.BP_Nemico_C"). name_contains: filtro case-insensitive sul nome, opzionale. limit: massimo numero di risultati.
Inputs: parent (required), limit, name_contains.
ue_find_structsA
Elenca gli struct derivati da uno struct base, base incluso.
Args: parent: nome esposto ai binding Python (es. "Vector") o percorso completo (es. "/Script/CoreUObject.Vector"). name_contains: filtro case-insensitive sul nome, opzionale. limit: massimo numero di risultati.
Inputs: parent (required), limit, name_contains.
ue_flow_runA
Esegue una sequenza di chiamate a tool descritta in YAML (o JSON).
Serve quando la stessa scena si costruisce con dieci o venti chiamate sempre uguali: il flow le descrive una volta e le esegue in un colpo solo, restituendo il riassunto invece di venti risposte intere.
Forma di un flow::
variables:
base: {x: 0, y: 0, z: 100}
steps:
- tool: ue_spawn_actor
args: {class_name: StaticMeshActor, location: "${base}", label: Cubo}
save: cubo
- tool: ue_set_actor_transform
args: {label: "${cubo.label}", scale: [2, 2, 2]}
- tool: ue_screenshot
when: {exists: cubo.label}Ogni passo accetta tool, args, save (nome della variabile in cui
mettere il risultato), when (booleano, ${riferimento}, o
{equals: [a,b]} / {not_equals: [a,b]} / {exists: percorso}),
continue_on_error e name.
Nei valori, ${nome} e ${nome.chiave.0} riprendono quello che un passo
precedente ha salvato. Una stringa fatta solo di riferimento conserva il
tipo del valore (un dict resta un dict); dentro una frase viene interpolata
come testo.
Non ci sono cicli né espressioni, ed è voluto: la logica sta in chi scrive il flow, non nel flow.
Args:
flow: il testo YAML/JSON, oppure il path di un file .yaml/.json.
variables: variabili iniziali, che si sommano a quelle del flow.
dry_run: valida forma, nomi dei tool e riferimenti senza eseguire
niente. Da usare sempre la prima volta che un flow gira.
stop_on_error: fermarsi al primo passo fallito. Con False prosegue e
riporta gli errori nel riassunto (un singolo passo può comunque
dichiarare continue_on_error: true).
Inputs: flow (required), dry_run, variables, stop_on_error.
ue_focus_actorA
Inquadra un attore con la camera, come il tasto F nell'editor.
È il complemento di ue_screenshot: senza, si fotografa quello che la camera stava già guardando, che di rado è quello appena costruito.
Args: label: attore da inquadrare; se omesso usa la selezione corrente. distance: distanza della camera in cm (default 500).
Inputs: label, distance.
ue_foliage_add_instancesA
Piazza istanze di foliage alle trasformate date, nel livello corrente.
Args:
foliage_type_path: path dell'asset FoliageType.
transforms: lista di {"location": {...}, "rotation": {...}, "scale": {...}}
— oppure di sole posizioni ([x,y,z] o {"x":..}) quando rotazione e
scala non interessano. Le posizioni sono in cm: se il livello è
costruito lontano dall'origine, leggi prima un attore di riferimento
con ue_list_actors.
Inputs: transforms (required), foliage_type_path (required).
ue_foliage_listA
Il foliage piazzato nel livello: mesh, componente e numero di istanze.
Elenca quello che c'è davvero nel livello, non i FoliageType come asset
(per quelli usa ue_list_assets).
Inputs: no named parameters.
ue_foliage_queryA
Le istanze di un FoliageType dentro una sfera, con le loro trasformate.
Args: foliage_type_path: path dell'asset FoliageType. center: centro della sfera in cm. radius: raggio in cm. limit: quante trasformate restituire al massimo (il conteggio totale è sempre esatto).
Inputs: center (required), radius (required), foliage_type_path (required), limit.
ue_foliage_removeA
Toglie istanze di foliage: tutte, o solo quelle dentro una sfera.
Senza center e radius cancella tutte le istanze di quel FoliageType nel
livello.
Inputs: foliage_type_path (required), center, radius.
ue_foliage_scatterA
Sparge N istanze a caso in un cerchio, appoggiandole al terreno.
È il tool da usare per riempire una zona: ue_foliage_add_instances vuole
ogni trasformata scritta a mano.
Args: foliage_type_path: path dell'asset FoliageType. center: centro del cerchio in cm. radius: raggio in cm. count: quante istanze. seed: seme del generatore — passalo per ottenere due volte lo stesso risultato. align_to_ground: appoggia ogni istanza a terra con un line trace dall'alto. Senza, restano tutte alla quota del centro. z_offset: alza (o abbassa) di tanto ogni istanza dopo l'appoggio.
Inputs: count (required), center (required), radius (required), foliage_type_path (required), +3 more.
ue_foliage_simulateA
Fa simulare il foliage procedurale di un volume — o lo azzera con
clear=True. Da chiamare dopo aver cambiato lo spawner.
Inputs: label (required), clear.
ue_foliage_spawn_volumeB
Piazza un ProceduralFoliageVolume con lo spawner già collegato.
Args: spawner_path: path del ProceduralFoliageSpawner. label: nome dell'attore nel livello. location: centro del volume in cm (occhio all'origine del mondo). size: dimensioni in cm. Default 200×200×200.
Inputs: spawner_path (required), size, label, location.
ue_ge_add_componentA
Aggiunge un GameplayEffectComponent (es. "AssetTagsGameplayEffectComponent",
"TargetTagRequirementsGameplayEffectComponent", "ChanceToApplyGameplayEffectComponent")
a un GameplayEffect. Solo l'aggiunta: configurare tag/condizioni al suo
interno non è coperto, usa ue_exec_python o l'editor.
Inputs: ge_path (required), component_class (required).
ue_ge_add_modifierA
Aggiunge un modifier a un GameplayEffect: collega un attributo di un AttributeSet Blueprint esistente, un'operazione e un valore fisso.
Aggira un limite della Python API di UE (vedi nota sopra): il modo
normale di costruire un modifier è bloccato, questo tool lo aggira con
una tecnica di serializzazione testuale. Solo ScalableFloat costante,
niente curve o attribute-based magnitude per ora.
Args: ge_path: path del GameplayEffect Blueprint. attribute_set_path: path dell'AttributeSet Blueprint che possiede l'attributo. attribute_name: nome della variabile GameplayAttributeData su quell'AttributeSet (es. "Health"). modifier_op: "add" | "add_final" | "multiply" | "divide" | "multiply_compound" | "override". magnitude: valore fisso applicato (es. -10 per un danno di 10).
Inputs: ge_path (required), magnitude (required), modifier_op (required), attribute_name (required), +1 more.
ue_ge_infoB
Duration policy, periodo, modifier (attributo/operazione/valore) e GameplayEffectComponent di un GameplayEffect esistente.
Inputs: ge_path (required).
ue_get_cameraA
Posizione e orientamento della camera della viewport dell'editor.
Da chiamare prima di spawnare: i livelli veri sono spesso costruiti a migliaia di unità dall'origine, e un attore messo a [0,0,0] finisce fuori campo, invisibile a chi guarda l'editor.
Inputs: no named parameters.
ue_import_assetsA
Importa file 3D/audio (.glb, .gltf, .fbx, .wav) nel Content Browser.
I .glb/.gltf passano dal framework Interchange nativo. Per i personaggi con scheletro usare .fbx con import_as_skeletal=True.
Args: files: percorsi assoluti sul disco (es. ["C:/Assets/Rocks/rock_01.glb"]). destination: cartella Unreal di destinazione (/Game/...). replace_existing: sovrascrive asset con lo stesso nome. import_as_skeletal: per .fbx, importa come Skeletal Mesh con animazioni.
Inputs: files (required), destination, replace_existing, import_as_skeletal. Returns: result
ue_import_audioB
Importa file .wav come SoundWave nel Content Browser.
Inputs: files (required), destination. Returns: result
ue_landscape_export_heightmapA
Esporta l'heightmap del landscape come immagine sul disco.
Il formato del file lo decide il render target: RGBA8 esce in PNG, i formati float in HDR.
Args: output_dir: cartella locale di destinazione. file_name: nome del file, estensione compresa. label: quale landscape, se il livello ne ha più di uno. resolution: lato del render target in pixel (quadrato). rt_format: "RGBA8" | "RGBA16f" | "RGBA32f". into_rg_channel: comprime i 16 bit di altezza nei canali R e G.
Inputs: file_name (required), output_dir (required), label, rt_format, +2 more.
ue_landscape_import_heightmapA
Sovrascrive l'heightmap di un landscape con un'immagine dal disco.
L'immagine viene importata come texture e disegnata in un render target temporaneo, che è l'unica forma in cui Unreal accetta un heightmap da script. Sovrascrive il terreno esistente: non è annullabile oltre l'undo dell'editor.
Args: image_path: file locale (PNG, EXR, TGA…). Va portato alla risoluzione del landscape prima: il render target non lo riscala. label: quale landscape, se il livello ne ha più di uno. rt_format: "RGBA8" (8 bit, 256 livelli di altezza) | "RGBA16f" | "RGBA32f". Per un heightmap a 16 bit serve un formato float. from_rg_channel: solo per i formati float — legge l'altezza dai canali R e G invece che dal solo R, che è come Unreal codifica i 16 bit.
Inputs: image_path (required), label, rt_format, from_rg_channel.
ue_landscape_import_weightmapA
Dipinge un layer del landscape da un'immagine in scala di grigi (bianco = layer al massimo, nero = assente).
Il layer deve già esistere: i target layer nascono dal materiale del
landscape, ue_landscape_info li elenca.
Inputs: image_path (required), layer_name (required), label, rt_format.
ue_landscape_infoA
Componenti, materiale, target layer di pittura ed edit layer di un
landscape. Con un solo landscape nel livello label si può omettere.
Inputs: label.
ue_landscape_listA
I landscape presenti nel livello corrente.
Se la lista è vuota il livello non ha terreni, e nessun altro tool di questa famiglia ha su cosa lavorare: aggiungine uno dall'editor con Landscape Mode (Python non può crearlo).
Inputs: no named parameters.
ue_landscape_set_grassB
Accende o spegne il grass system del landscape (l'erba procedurale generata dal materiale).
Inputs: label, enabled.
ue_landscape_set_materialA
Assegna il materiale al landscape. È il materiale che definisce quali target layer si possono dipingere: cambiarlo cambia la lista.
Inputs: material_path (required), label.
ue_list_actor_componentsA
Elenca i componenti di un attore piazzato, con nome e classe.
Serve a sapere cosa passare come component a ue_set_actor_property.
Inputs: label (required).
ue_list_actorsA
Elenca gli attori del livello corrente, con filtri opzionali su nome e classe.
Inputs: name_contains, class_contains. Returns: result
ue_list_assetsA
Elenca gli asset presenti sotto un path del Content Browser.
Args: path: cartella Unreal (es. "/Game/MyGame"). recursive: include le sottocartelle. class_filter: filtro parziale sul nome classe (es. "Blueprint", "StaticMesh").
Inputs: path, recursive, class_filter. Returns: result
ue_live_compileA
Ricompila il C++ senza chiudere l'editor, tramite Live Coding.
È la via veloce per iterare: nessuna chiusura, nessun riavvio, il gioco riparte con il codice nuovo. Funziona però solo sulle modifiche al corpo delle funzioni: aggiungere o cambiare UCLASS, UFUNCTION o UPROPERTY altera i dati di reflection e richiede ue_build_start a editor chiuso.
Args: max_wait_seconds: quanto attendere l'esito prima di restituire "in corso" (la compilazione prosegue comunque).
Inputs: max_wait_seconds.
ue_make_folderA
Crea una cartella nel Content Browser. Idempotente.
Args: path: es. "/Game/MyGame/Meshes".
Inputs: path (required).
ue_net_infoC
Stato di rete completo di un Blueprint: replication, dormancy, frequenze, priorità, relevancy e quali componenti replicano.
Inputs: blueprint_path (required).
ue_new_levelA
Crea un nuovo livello e lo apre.
Args: path: path completo del livello, es. "/Game/MyGame/Levels/L_Main". template: livello sorgente da duplicare (opzionale).
Inputs: path (required), template.
ue_niagara_system_infoA
Emitter e parametri esposti (user parameters) di un Niagara System esistente.
Funziona a livello di asset: non serve un PIE in esecuzione né un componente istanziato in scena.
Args: system_path: es. "/Game/MyGame/VFX/NS_Explosion".
Inputs: system_path (required).
ue_open_levelC
Apre un livello esistente nell'editor.
Args: path: es. "/Game/MyGame/Levels/L_Main".
Inputs: path (required).
ue_package_startA
Crea il pacchetto giocabile del gioco (cook + build + stage + pak).
Produce un eseguibile autonomo, avviabile senza l'editor. Operazione lunga (decine di minuti al primo giro, molto meno dopo): parte in background, lo stato si consulta con ue_package_status.
L'editor deve essere chiuso. Sequenza: ue_editor_close -> ue_package_start -> ue_package_status (finché running=false).
Args: uproject: percorso del file .uproject. configuration: "Development" (con log e console, per il prototipo) o "Shipping" (ottimizzato, senza log, per la distribuzione). maps: mappe da cuocere, es. ["/Game/MyGame/Levels/L_Main"]. Se omesso cuoce secondo le impostazioni di progetto, che è più lento. output_dir: cartella di destinazione; default /Packaged. dedicated_server: produce anche un server dedicato per le partite LAN. engine_root: percorso del motore, se la ricerca automatica non lo trova. target_platform: "Win64" | "Linux" | "Mac"; default la piattaforma corrente.
Inputs: uproject (required), maps, output_dir, engine_root, +4 more.
ue_package_statusA
Stato del packaging avviato con ue_package_start.
Riporta la fase corrente (Cook, Stage, Package, Archive), gli errori e, a fine corsa, il percorso dell'eseguibile prodotto.
Args: tail_lines: quante righe finali del log restituire. uproject: a quale progetto si riferisce; se omesso, l'ultimo packaging avviato. wait_seconds: se > 0 attende la fine del packaging fino a questo limite, riportando la fase corrente, invece di restituire subito.
Inputs: uproject, tail_lines, wait_seconds.
ue_pcg_add_nodeA
Aggiunge un nodo al grafo PCG e restituisce i suoi pin.
In PCG il tipo di un nodo è la sua classe di settings: un SurfaceSampler
è un nodo con PCGSurfaceSamplerSettings, uno spawner di mesh ha
PCGStaticMeshSpawnerSettings. La convenzione è sempre
PCG<Nome>Settings.
Args: graph_path: path dell'asset PCGGraph. settings_class: es. "PCGSurfaceSamplerSettings", "PCGStaticMeshSpawnerSettings", "PCGCreatePointsGridSettings", "PCGDensityFilterSettings". position: posizione nell'editor del grafo, {"x": .., "y": ..} o [x, y]. Serve solo alla leggibilità per chi apre il grafo a mano.
Inputs: graph_path (required), settings_class (required), position.
ue_pcg_cleanupB
Cancella quello che il PCG ha generato su un attore, lasciando il grafo e il volume al loro posto.
Inputs: label (required), remove_components.
ue_pcg_connectA
Collega l'uscita di un nodo PCG all'ingresso di un altro.
from_node e to_node accettano il nome del nodo (come lo restituisce
ue_pcg_add_node) oppure gli alias "input" e "output" per i due nodi che
ogni grafo ha già. I nomi dei pin sono quelli elencati da
ue_pcg_add_node / ue_pcg_graph_info, spazi compresi ("Bounding Shape").
Inputs: to_pin (required), to_node (required), from_pin (required), from_node (required), +1 more.
ue_pcg_disconnectC
Rimuove un collegamento fra due nodi del grafo PCG.
Inputs: to_pin (required), to_node (required), from_pin (required), from_node (required), +1 more.
ue_pcg_generateA
Fa rigenerare il PCG di un attore (un PCGVolume o qualunque attore con un PCGComponent). Da chiamare dopo aver modificato il grafo.
Inputs: label (required), force.
ue_pcg_graph_infoA
Nodi (nome, classe di settings, pin, posizione) e archi di un grafo PCG.
È il modo di sapere come si chiamano i pin prima di collegarli.
Inputs: graph_path (required).
ue_pcg_remove_nodeB
Toglie un nodo dal grafo PCG, con tutti i suoi collegamenti.
Inputs: node (required), graph_path (required).
ue_pcg_set_node_propertyA
Imposta una proprietà sulle settings di un nodo PCG.
Args: graph_path: path del grafo. node: nome del nodo. property_name: es. "points_per_squared_meter" su un SurfaceSampler, "seed" su quasi tutti i nodi. value: valore JSON; i path "/Game/..." vengono caricati come asset.
Inputs: node (required), value (required), graph_path (required), property_name (required).
ue_pcg_spawn_volumeA
Piazza un PCGVolume nel livello con il grafo già collegato.
Il volume è il dominio in cui il grafo lavora: senza, il grafo non ha niente su cui generare.
Args:
graph_path: grafo da collegare.
label: nome dell'attore nel livello.
location: centro del volume in cm. Attenzione al centro del mondo: se
il livello è costruito lontano da [0,0,0], lì il volume è fuori
campo — leggi prima un attore di riferimento con ue_list_actors.
size: dimensioni in cm, {"x":..,"y":..,"z":..}. Default 200×200×200.
Inputs: graph_path (required), size, label, location.
ue_project_createA
Crea un progetto Unreal da specifica, pronto per il bridge MCP.
Scrive .uproject (con PythonScriptPlugin, RemoteControl e Metasound
già abilitati), Config/DefaultEngine.ini con l'autostart del web server
Remote Control, Config/DefaultGame.ini e Content/Python/init_unreal.py.
Args:
name: nome progetto (identificatore valido, es. "MyGame").
directory: cartella genitore, es. "C:/UnrealProjects".
engine_version: es. "5.4"; se omesso usa la più recente installata.
template: "blank" (generato da zero) o il nome di un template del motore
(vedi ue_engine_templates), es. "TP_ThirdPerson".
blueprint_only: esclude la cartella Source del template (niente compilazione C++).
plugins: plugin extra da abilitare oltre a quelli di default.
default_map: mappa di avvio, es. "/Game/MyGame/Levels/L_Main".
default_game_mode: GameMode di default (path della classe ..._C).
force: procede anche se la cartella di destinazione esiste già.
engine_root: percorso del motore, quando la ricerca automatica non lo trova
(es. "C:/Program Files/Epic Games/UE_5.8").
Inputs: name (required), directory (required), force, plugins, +7 more.
ue_project_findC
Cerca file .uproject sotto una cartella.
Inputs: directory (required), max_depth.
ue_project_infoA
Legge un .uproject: versione motore associata, plugin attivi e se il bridge è pronto.
Inputs: uproject (required).
ue_project_set_pluginsB
Abilita/disabilita plugin scrivendo nel .uproject (utile su progetti esistenti).
Per usare il bridge servono almeno PythonScriptPlugin e RemoteControl.
L'editor va riavviato se era già aperto.
Inputs: enable (required), uproject (required), disable.
ue_read_logA
Legge la coda del log di Unreal: è il modo per vedere cosa è andato storto dopo un'operazione che non ha sollevato eccezioni.
Args: lines: quante righe finali restituire (default 80). only_errors: se True filtra solo righe con Error/Warning.
Inputs: lines, only_errors.
ue_reflect_enumA
Elenca nome, valore numerico e display name di un enum nativo del motore.
Il nome va passato senza il prefisso "E" delle UENUM C++: "CollisionChannel",
non "ECollisionChannel". Non copre gli enum definiti come Blueprint asset
(UserDefinedEnum in /Game/...): quelli non hanno un binding Python
generato, vanno letti con ue_exec_python e unreal.load_asset(path).
Args: enum_name: es. "CollisionChannel", "ObjectTypeQuery".
Inputs: enum_name (required).
ue_rename_assetA
Sposta o rinomina un asset aggiornando i riferimenti.
Args: path: percorso attuale, es. "/Game/Imported/SM_rock". new_path: percorso nuovo, es. "/Game/MyGame/Meshes/SM_Roccia".
Inputs: path (required), new_path (required).
ue_render_sequenceA
Renderizza una Level Sequence con la Movie Render Queue, in background.
Gira in un processo UnrealEditor-Cmd headless, non nell'editor aperto: la
MRQ in-editor è asincrona e terrebbe l'editor occupato per tutta la durata,
senza un modo pulito di attenderla dal bridge. Come per le build, si avvia e
si consulta ue_render_status.
Args: uproject: percorso del file .uproject. sequence: la Level Sequence, es. "/Game/Cinematics/LS_Intro". config: preset di Movie Pipeline salvato, es. "/Game/Cinematics/MRQ_Preset". È il modo di scegliere formato, risoluzione e cartella di uscita: senza, la MRQ usa le impostazioni predefinite del progetto e potrebbe non scrivere nulla. map_path: livello da caricare; default quello di avvio del progetto. output_dir: dove cercare i file prodotti; default /Saved/MovieRenders. resolution: [larghezza, altezza]; default [1920, 1080]. force: avvia anche se risulta già un render in corso.
Inputs: sequence (required), uproject (required), force, config, +5 more.
ue_render_statusA
Stato del render avviato con ue_render_sequence.
succeeded guarda i file prodotti, non il codice di uscita: la MRQ headless
può chiudere con 0 senza aver scritto un fotogramma, se la config non aveva
nodi di output.
Args: tail_lines: quante righe finali del log restituire. uproject: a quale progetto si riferisce; se omesso, l'ultimo render avviato. wait_seconds: se > 0 attende la fine fino a questo limite riportando l'avanzamento, invece di restituire subito.
Inputs: uproject, tail_lines, wait_seconds.
ue_reparent_blueprintA
Riassegna il parent di un Blueprint, tipicamente a una classe C++.
È la via per dare logica eseguibile a un Blueprint: i grafi non sono scrivibili da Python, ma la logica può stare nella classe C++ padre (creata con ue_cpp_class_create) mentre il Blueprint resta il contenitore di componenti e valori.
Le variabili del Blueprint con lo stesso nome di una UPROPERTY del nuovo
padre vengono assorbite; le altre sopravvivono rinominate con _0.
Args: blueprint_path: es. "/Game/MyGame/Blueprints/BP_Door". new_parent: nome o path della nuova classe padre, es. "ADoorBase" oppure "/Script/MyGame.DoorBase". remove_unused_variables: ripulisce le variabili rimaste orfane.
Inputs: new_parent (required), blueprint_path (required), remove_unused_variables.
ue_save_allA
Salva il livello corrente e tutti gli asset modificati.
Inputs: no named parameters.
ue_screenshotA
Cattura la viewport dell'editor e restituisce l'immagine all'agente.
Senza questo l'agente costruisce alla cieca: è l'unico modo per verificare davvero com'è venuta una scena invece di dedurlo dalle coordinate. Il file resta in /Saved/Screenshots/MCP.
La risoluzione predefinita è volutamente modesta: il PNG viaggia in base64 dentro la risposta, e a 1280x720 costa spesso più contesto di quanto l'immagine ne faccia risparmiare. Alzala quando serve leggere un dettaglio.
Args: filename: nome file; se omesso ne genera uno con il timestamp. width, height: risoluzione della cattura. return_image: se False restituisce solo il percorso, senza allegare il PNG.
Inputs: width, height, filename, return_image.
ue_sequence_add_actorB
Aggiunge un attore del livello alla sequenza.
Args: sequence_path: path della Level Sequence. label: label dell'attore nel livello. spawnable: se True la sequenza si porta dietro una copia dell'attore e la crea e distrugge da sé (cinematica autonoma); se False anima l'attore che è già nel livello.
Inputs: label (required), sequence_path (required), spawnable.
ue_sequence_add_keyA
Mette una chiave su un canale e rilegge tutte le chiavi del canale.
Args:
sequence_path: path della Level Sequence.
binding: nome o indice del binding.
channel: nome del canale senza suffisso numerico — "Location.Z",
"Rotation.Y", "Scale.X". Il suffisso che Unreal appiccica
("Location.Z_3") cambia da una creazione all'altra: elencali con
ue_sequence_info.
frame: numero di frame.
value: valore (float, int o bool a seconda del canale).
track: indice della track nel binding. Se il binding ne ha una sola,
si può omettere.
track_type: in alternativa a track, il tipo di track da cercare.
section: indice della sezione nella track (default 0).
interpolation: AUTO, USER, BREAK, LINEAR, CONSTANT.
Inputs: frame (required), value (required), binding (required), channel (required), +5 more.
ue_sequence_add_trackA
Aggiunge una track a un binding, con la sua prima sezione già dentro.
Args: sequence_path: path della Level Sequence. binding: nome del binding (di norma la label dell'attore) o il suo indice. track_type: alias comodo — "transform", "visibility", "audio", "animation", "camera_cut", "event", "fade" — oppure il nome esatto della classe (es. "MovieSceneFloatTrack"). start: primo frame della sezione (default: inizio del playback). end: ultimo frame della sezione (default: fine del playback).
Inputs: binding (required), track_type (required), sequence_path (required), end, +1 more.
ue_sequence_infoA
Binding, track, sezioni e canali di una Level Sequence.
Chiamalo prima di mettere chiavi: è il modo di sapere come si chiamano i canali e quali indici usare per track e sezioni.
Inputs: sequence_path (required).
ue_sequence_openA
Apre la sequenza nell'editor del Sequencer (o la chiude con close=True).
I tool scrivono sull'asset e basta: questo è il modo di vedere il risultato senza cercare l'asset a mano nel Content Browser.
Inputs: sequence_path (required), close.
ue_sequence_removeA
Toglie una track da un binding — o l'intero binding, se non indichi
né track né track_type.
Inputs: binding (required), sequence_path (required), track, track_type.
ue_sequence_set_rangeB
Cambia il range di playback e/o il frame rate della sequenza.
Inputs: sequence_path (required), end, fps, start.
ue_set_actor_propertyA
Imposta proprietà su un attore già piazzato, o su un suo componente.
Copre tutto ciò che non sono i Class Defaults di un Blueprint: assegnare una mesh a uno StaticMeshActor, l'intensità di una luce, il raggio di un trigger. I valori seguono il JSON: un vettore è {"x":0,"y":0,"z":0}, un colore {"r":1,"g":0,"b":0}, e il path di un asset (/Game/...) viene caricato in automatico.
Args: label: etichetta dell'attore nell'Outliner. properties: mappa nome_proprieta -> valore. component: nome o classe del componente su cui scrivere (es. "StaticMeshComponent"); se omesso scrive sull'attore.
Inputs: label (required), properties (required), component.
ue_set_actor_transformC
Modifica posizione/rotazione/scala di un attore identificato dalla sua label.
Inputs: label (required), scale, location, rotation.
ue_set_cameraB
Sposta la camera della viewport.
Args: location: [x, y, z] in cm. rotation: [pitch, yaw, roll] in gradi.
Inputs: location, rotation.
ue_set_class_defaultsC
Imposta i Class Defaults (CDO) di un Blueprint.
Args: blueprint_path: path del Blueprint. properties: mappa nome_proprieta -> valore, es. {"replicates": true}.
Inputs: properties (required), blueprint_path (required).
ue_set_component_defaultA
Scrive una proprietà sul template di un componente di un Blueprint, non su un'istanza piazzata nel livello.
È la via per le proprietà EditDefaultsOnly, che Unreal rifiuta di
scrivere su un attore spawnato ("cannot be edited on instances") — per
esempio SensesConfig di un AIPerceptionComponent. Per gli attori già
nel livello usa invece ue_set_actor_property.
Args:
blueprint_path: Blueprint che contiene il componente.
component_name: nome come si vede nell'editor.
property_name: nome della proprietà (snake_case o PascalCase secondo
quanto accetta la classe).
value: valore JSON; dict con x/y/z, pitch/yaw/roll o r/g/b vengono
convertiti nei tipi Unreal corrispondenti, e i path /Game/...
vengono caricati come asset.
Inputs: value (required), property_name (required), blueprint_path (required), component_name (required).
ue_set_component_physicsC
Fisica e collisione di un componente (StaticMesh/Skeletal/Primitive).
Args: actor: etichetta dell'attore nell'Outliner. component: nome o classe del componente (es. "StaticMeshComponent"). simulate_physics: attiva/disattiva la simulazione fisica. collision_enabled: "NoCollision" | "QueryOnly" | "PhysicsOnly" | "QueryAndPhysics" | "QueryAndProbe" | "ProbeOnly" (case/underscore insensitive, es. va bene anche "query_and_physics"). collision_profile: nome profilo collisione (es. "PhysicsActor", "BlockAll").
Inputs: actor (required), component (required), simulate_physics, collision_enabled, +1 more.
ue_set_component_replicationA
Attiva la replication di un singolo componente di un Blueprint.
Un attore replicato non replica automaticamente i suoi componenti: le proprietà di un componente arrivano ai client solo se il componente è marcato come replicato.
Args:
blueprint_path: Blueprint che contiene il componente.
component_name: nome come si vede nell'editor (il suffisso
_GEN_VARIABLE dei template è gestito da solo).
replicates: True per attivare.
Inputs: blueprint_path (required), component_name (required), replicates.
ue_set_foliage_propertyB
Scrive una proprietà su un FoliageType e rilegge il valore risultante.
Args: foliage_type_path: path dell'asset FoliageType. property_name: es. "density", "radius", "random_yaw", "align_to_normal", "scale_x", "collision_with_world", "cull_distance". value: valore JSON; i path "/Game/..." vengono caricati come asset.
Inputs: value (required), property_name (required), foliage_type_path (required).
ue_set_net_configA
Regola quanto costa in banda un attore replicato: dormancy, frequenza
di aggiornamento, priorità e relevancy. ue_set_replication decide se
replicare, questo decide con che intensità.
Solo i parametri passati vengono toccati, gli altri restano come sono.
Args: blueprint_path: Blueprint Actor da configurare. dormancy: "awake" | "initial" | "dormant_all" | "dormant_partial" | "never". "initial" è la scelta giusta per attori di scena che non cambiano mai dopo lo spawn: smettono di consumare banda finché non li si risveglia. net_update_frequency: aggiornamenti al secondo quando è rilevante (default UE 100). min_net_update_frequency: minimo a cui l'engine può scendere (default UE 2). net_priority: peso relativo nella coda di replication (default UE 1.0). net_cull_distance: distanza in cm oltre la quale il client smette di riceverlo (default UE 15000). Scritta come quadrato, che è come Unreal la memorizza. only_relevant_to_owner: replica solo al client che lo possiede. net_use_owner_relevancy: eredita la relevancy dall'owner. net_load_on_client: se False l'attore non viene creato sui client al caricamento del livello.
Inputs: blueprint_path (required), dormancy, net_priority, net_cull_distance, +5 more.
ue_set_project_settingA
Scrive un'impostazione nei file Config/Default.ini del progetto.
Args: section: es. "/Script/EngineSettings.GameMapsSettings". key: es. "GlobalDefaultGameMode". value: es. "/Game/MyGame/Blueprints/BP_MyGameMode.BP_MyGameMode_C". config: "Game" | "Engine" | "Input".
Nota: alcune impostazioni richiedono il riavvio dell'editor per avere effetto.
Inputs: key (required), value (required), section (required), config.
ue_set_replicationB
Configura la replication di un Blueprint: se e come viene sincronizzato fra server e client in una partita in rete.
Inputs: blueprint_path (required), replicates, always_relevant, replicate_movement.
ue_skeleton_infoA
Elenca ossa e socket di uno Skeleton, dalla reference pose.
Args: skeleton_path: es. "/Game/MyGame/Characters/Hero/Hero_Skeleton".
Inputs: skeleton_path (required).
ue_spawn_actorA
Spawna un attore nel livello corrente.
Args: class_ref: "StaticMeshActor", "/Script/Engine.PointLight", "/Game/MyGame/BP_Enemy", oppure il path di uno StaticMesh importato (spawn diretto della mesh). location: [x, y, z] in cm. rotation: [pitch, yaw, roll] in gradi. scale: [x, y, z] moltiplicatore. label: etichetta leggibile nell'Outliner (usata dagli altri tool per ritrovarlo).
Inputs: class_ref (required), label, scale, location, +1 more.
ue_spawn_manyA
Spawna molti attori in una sola chiamata e in una sola transazione undo.
Costruire un livello con ue_spawn_actor costa un round-trip HTTP per attore: per una scena di qualche decina di elementi conviene questo.
Args:
actors: lista di dict con class_ref (obbligatorio) e, opzionali,
location [x,y,z], rotation [pitch,yaw,roll], scale [x,y,z],
label. Esempio: [{"class_ref": "PointLight", "location": [0,0,300]}].
Inputs: actors (required).
ue_start_pieB
Avvia il Play In Editor con le impostazioni correnti.
Inputs: no named parameters.
ue_statusA
Verifica la connessione all'editor Unreal e restituisce versione motore, progetto aperto, livello corrente, numero di attori e trasporto in uso. Da usare per prima.
Inputs: no named parameters.
ue_stop_pieA
Ferma la sessione Play In Editor in corso.
Inputs: no named parameters.
ue_umg_add_widgetA
Crea un widget e lo mette sotto un pannello dell'albero.
Args:
widget_blueprint_path: es. "/Game/UI/WBP_MainMenu".
widget_class: "TextBlock", "Button", "Image", "VerticalBox",
"HorizontalBox", "CanvasPanel", "Overlay", "Border", "ProgressBar"…
parent: nome del pannello che lo conterrà; se omesso, la radice.
Dev'essere un PanelWidget: un TextBlock non può contenere nulla.
name: nome del widget, quello che si vedrà in Hierarchy e che serve
per BindWidget da C++. Se omesso lo sceglie Unreal.
slot: layout dentro il pannello, applicato subito — le stesse chiavi
di ue_umg_set_slot.
Inputs: widget_class (required), widget_blueprint_path (required), name, slot, +1 more.
ue_umg_remove_widgetA
Toglie un widget dall'albero, con tutto quello che contiene.
La radice non si può togliere (RootWidget non è scrivibile): per
svuotare un albero, rimuovi i figli della radice.
Inputs: widget (required), widget_blueprint_path (required).
ue_umg_set_slotA
Imposta il layout di un widget dentro il suo pannello.
Le chiavi valide dipendono dal pannello che lo contiene, e
ue_umg_tree_info riporta slot_class per saperlo:
CanvasPanelSlot:position[x, y],size[x, y],z_order,alignment,auto_size.VerticalBoxSlot/HorizontalBoxSlot:padding(numero singolo, o [left, top, right, bottom], o {"left":…}),horizontal_alignment,vertical_alignment.
Le liste di 2 numeri diventano Vector2D, quelle di 4 un Margin.
Inputs: widget (required), properties (required), widget_blueprint_path (required).
ue_umg_set_widget_propertyA
Imposta proprietà su un widget: testo, colore, visibilità, immagine.
Le proprietà di testo sono FText nel motore: passa una stringa normale,
la conversione è automatica. I dict con x/y/z, pitch/yaw/roll o r/g/b
diventano i tipi Unreal corrispondenti, e i path "/Game/..." vengono
caricati come asset.
Restituisce applied e failed separati: una proprietà sbagliata non fa
fallire le altre.
Inputs: widget (required), properties (required), widget_blueprint_path (required).
ue_umg_tree_infoA
La gerarchia dei widget di un Widget Blueprint: nomi, classi, figli e tipo di slot.
root: null vuol dire albero vuoto — lì non si può aggiungere niente
finché non c'è una radice.
Inputs: widget_blueprint_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 163 tools
Domain-prefixed families (ue_bp_, ue_umg_, ue_pcg_, ue_foliage_, ue_sequence_) make each tool's target resource obvious, and descriptions explicitly disambiguate near-neighbors like ue_set_replication vs ue_set_component_replication vs ue_set_net_config. A few pairs could still be confused on first pass — ue_import_assets already accepts .wav yet ue_import_audio duplicates it, ue_status vs ue_editor_status both report editor state, and ue_editor_open vs ue_open_level both use "open" for different targets — but these are rare exceptions across 163 tools.
The dominant ue_<domain>_<verb>_<noun> pattern with coherent families (ue_create_*, ue_*_info, ue_*_list, ue_*_status, ue_bp_add_*, ue_bt_add_*) is highly predictable and makes tool discovery feasible at this scale. Minor deviations exist — ue_make_folder breaks the create_* convention, the preset_* family uses a different prefix, and tools like ue_read_log, ue_reflect_enum, and ue_live_compile don't fit the standard verb set — but they are rare and internally readable.
163 tools is more than six times the 25+ threshold and will overwhelm an agent's selection space even with good naming, so the set is too large for practical use in a single MCP server. The scope is genuinely broad (project management, C++ build, Blueprint graphs, UMG, AI, GAS, PCG, foliage, landscape, sequencer, networking, asset acquisition), which prevents a score of 1, but the count reflects roughly fifteen sub-domains packed into one surface and includes partial duplicates like ue_import_audio and ue_spawn_many.
Coverage is exceptional: nearly every sub-domain has create + inspect + modify operations, and Blueprint graph editing, PCG, foliage, AI, and sequencer are unusually deep, with no obvious dead ends in the core asset/actor/project workflows. The remaining gaps are documented engine-level limits with workarounds — Niagara emitter stacks, EQS query internals, UMG root widgets, and AnimGraphs cannot be scripted, landscape creation requires the editor, and there is no undo tool — so agents can route around them via ue_exec_python, ue_cpp_class_create, or manual editor steps.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
Make games with AI: one MCP server that connects your agent to Unity, Unreal and Godot editors.
An MCP server that provides agents access to the KeldynAI platform
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for controlling Unreal Engine 5 from AI agents, providing 120+ commands for spawning actors, editing Blueprints, managing assets, and more via CLI or MCP.216MIT
- AlicenseNot gradedqualityBmaintenanceAn 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.13MIT
- AlicenseBqualityCmaintenanceAn 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.35MIT
- AlicenseCqualityCmaintenanceEnables AI clients to control Unreal Engine 5 editor for automated Blueprint authoring, level inspection, actor spawning, and other editor workflows via a local Python MCP server and UE plugin.5004AGPL 3.0