Coding

Openclaw Unreal Skill

Try it

Drive a running Unreal Engine Editor from an MCP client to manage levels, actors, PIE, and console commands.

What it does

Exposes an MCP bridge over local HTTP (port 27184) plus an OpenClaw Gateway polling mode for controlling a live Unreal Editor — both modes run simultaneously. Tools cover level open/save, actor create/delete and property edits, get/set position/rotation/scale via UE reflection, PIE play/pause/stop, viewport screenshots, project log reads, simulated key/mouse input, and console command execution. The plugin sets disableModelInvocation: true and, per its security disclosure, requires user confirmation before destructive actions such as deleting actors, saving levels, running console commands, or simulating input.

When to use it

  • Place and arrange primitive actors (cubes, spheres, lights, cameras) in a level
  • Read and tweak actor position, rotation, and scale while iterating
  • Start, pause, or stop Play-In-Editor from an MCP client
  • Capture editor viewport screenshots and read project logs for debugging

The skill document

OpenClaw Unreal Plugin

MCP skill for controlling Unreal Engine Editor via OpenClaw.

Connection Modes

Mode A: OpenClaw Gateway (Remote)

The plugin connects to OpenClaw Gateway via HTTP polling. Works automatically when Gateway is running.

Mode B: MCP Direct (Claude Code / Cursor)

The plugin runs an embedded HTTP server on port 27184. Use the included MCP bridge:

# Claude Code
claude mcp add unreal -- node /path/to/Plugins/OpenClaw/MCP~/index.js

# Cursor — add to .cursor/mcp.json
{"mcpServers":{"unreal":{"command":"node","args":["/path/to/Plugins/OpenClaw/MCP~/index.js"]}}}

Both modes run simultaneously.

Editor Panel

Window → OpenClaw Unreal Plugin — opens a dockable tab with:

  • Connection status indicator
  • MCP server info (address, protocol)
  • Connect / Disconnect buttons
  • Live log of tool calls and messages

Tools

Level

  • level.getCurrent — current level name
  • level.list — all levels in project
  • level.open — open level by name
  • level.save — save current level

Actor

  • actor.find — find by name/class
  • actor.getAll — list all actors
  • actor.create — create actors: StaticMeshActor (Cube, Sphere, Cylinder, Cone), PointLight, Camera
  • actor.delete — delete by name
  • actor.getData — detailed actor info
  • actor.setProperty — set properties via UE reflection system

Transform

  • transform.getPosition / transform.setPosition
  • transform.getRotation / transform.setRotation
  • transform.getScale / transform.setScale

Transform tools require a valid RootComponent (works on StaticMeshActor, PointLight, etc. — not on bare Actor).

Component

  • component.get — get component data
  • component.add — add component (not yet implemented)
  • component.remove — remove component (not yet implemented)

Editor

  • editor.play — start PIE (uses RequestPlaySession)
  • editor.stop — stop PIE
  • editor.pause / editor.resume — pause/resume PIE
  • editor.getState — current editor state

Debug

  • debug.hierarchy — actor hierarchy tree
  • debug.screenshot — capture editor viewport
  • debug.log — write to output log

Input

  • input.simulateKey — simulate key press
  • input.simulateMouse — simulate mouse
  • input.simulateAxis — simulate axis

Asset

  • asset.list — list assets at path
  • asset.import — import asset (not yet implemented)

Console

  • console.execute — run console command
  • console.getLogs — read project log file; params: count (number of lines), filter (text filter)

Blueprint

  • blueprint.list — list blueprints
  • blueprint.open — open blueprint (not yet implemented)

Troubleshooting

Stale binaries / plugin not loading

Clear the build cache and restart the editor:

rm -rf YourProject/Plugins/OpenClaw/Binaries YourProject/Plugins/OpenClaw/Intermediate

Connection issues

  • Ensure OpenClaw Gateway is running: openclaw gateway status
  • Check the Editor Panel log for errors
  • Verify the MCP port is not blocked by firewall

Security & Privacy Disclosure

This skill drives a live Unreal Editor. Full disclosure of capabilities and current limitations:

  • Local HTTP server hardening (plugin v1.3.1+): the embedded server (port 27184) rejects browser-originated requests (any Origin header → 403) and supports optional shared-secret auth — set OPENCLAW_BRIDGE_TOKEN for both the Unreal Editor process and the MCP client to require X-OpenClaw-Token on every request. Without the token set, keep the port on trusted machines only — any local process can send editor commands.
  • Destructive operations — confirm with the user before: deleting actors, saving levels, importing assets, running console commands (console.execute), and simulating keyboard/mouse input. None of these should run implicitly from a vague request.
  • Data visibility: debug.screenshot and console.getLogs can capture whatever is on screen or in project logs — including credentials, tokens, or source paths if present. Review before sharing captures outside the machine.
  • Trigger scope: routine-sounding requests ("clean up the level", "save everything", "just run it") map to state-changing Editor operations — confirm once before the first state-changing call in a session.
  • Safety defaults: disableModelInvocation: true is set — the model cannot auto-invoke this skill; it runs only on explicit user request. Keep the project under source control before automation sessions. The Korean SKILL_KO.md states the same recommendation; if the two ever disagree, this file governs.

License

Apache-2.0 — See LICENSE.md

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván561 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván857 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from tomleelive

Browse all skills

Drive the Unity Editor via ~100 tools: scene inspection, GameObject manipulation, input simulation, and C# execution.

by tomleelive116 installs3 stars

Drive a Godot 4.x Editor from an agent through 30 built-in tools covering scenes, nodes, transforms, input, screenshots, and logs.

by tomleelive116 installs

Install, switch, restore, validate, and publish AI agent persona files across OpenClaw, Hermes, ZeroClaw, and similar platforms.

by tomleelive50 installs

Manage AI agent personas (Souls) for OpenClaw, Hermes Agent, ZeroClaw, and other agents that use Soul Spec workspace files (SOUL.md, IDENTITY.md, AGENTS.md). Installs/switches/restores persona files in the agent workspace, searches and publishes to the clawsouls.ai registry (network + token auth), optionally syncs encrypted agent memory via Git (explicit `sync`/`swarm` commands only), and detects the local agent platform. Use only when the user explicitly asks to manage personas — e.g. "install a soul", "switch persona to X", "list souls", "restore my previous soul", "publish my soul", or "login to clawsouls". Workspace-modifying and publishing actions should be confirmed with the user first.

by tomleelive