Skip to content
docs / quick-start-prompt
Releases ← Back to site GitHub

Set up with one prompt

Already added ClaudeUnreal from Fab to your project? Instead of following the installation steps by hand, hand them to the agent. It checks every prerequisite, gets the editor to write its project files, proves the bridge answers, and ends with a table of what passed and what to fix.

  1. Open a terminal in your project folder (the one with the .uproject) and start Claude Code (or codex):

    Terminal window
    claude
  2. Paste this prompt. The copy button is in the block’s top-right corner. Editor already open? The Setup button in its toolbar shows the same prompt.

    Set up and verify the ClaudeUnreal plugin for this Unreal Engine project. Go through the steps in order, fix what you safely can, and finish with a table: item / status / what to do.
    Commands below are written for Claude Code. If you are Codex, use .codex/cu wherever they say .claude/cu, and follow the Codex notes.
    1. Project: find the .uproject in the current folder. If there is none, stop and tell me to run this from the project root.
    2. Plugin: confirm ClaudeUnreal is installed - Plugins/ClaudeUnreal/ClaudeUnreal.uplugin in the project, or under Engine/Plugins/Marketplace of the engine this .uproject uses (read EngineAssociation; launcher installs live in "/Users/Shared/Epic Games/UE_5.x" on macOS and "C:\Program Files\Epic Games\UE_5.x" on Windows). Check it is not disabled in the .uproject.
    3. Tools: check `claude --version` (Codex: `codex --version`), Python 3.10 or newer, and `uv --version`. If something is missing, show me the install command for my OS - don't install anything without asking.
    4. Project files: check for .mcp.json and .claude/cu (on Windows .claude/cu.cmd). Codex: check for AGENTS.md, .codex/config.toml and .codex/cu instead; they need Codex support switched on in the editor (toolbar Claude button, arrow, AGENTS), so ask me to turn it on if they are missing. The plugin writes them the first time the editor opens. If they are missing and no Unreal Editor has this project open, start the editor without a window and wait up to 5 minutes for Saved/ClaudeUnreal/bridge.json to appear (older plugin versions do not write it: then wait for 127.0.0.1:55557 to accept connections):
    - macOS: "<engine>/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor" "<full path to .uproject>" -RenderOffscreen -unattended -nosplash -nosound
    - Windows: "<engine>\Engine\Binaries\Win64\UnrealEditor.exe" "<full path to .uproject>" -RenderOffscreen -unattended -nosplash -nosound
    Run it in the background so you can keep working.
    5. CLI: run `.claude/cu exec ping` (Windows: `.claude\cu.cmd exec ping`). It should answer pong.
    6. A real round trip: run `.claude/cu exec get_actors_in_level` and tell me how many actors the open level has. Then run `.claude/cu exec take_screenshot --filepath claudeunreal-check.png`, open the saved image (it lands in the project's Saved/Screenshots folder) and describe what you see.
    7. MCP: if the claude-unreal MCP tools (Codex: the unreal-<project> server) are available in this session, call its ping tool. If they are not, that is expected right after the project files were first written - tell me to restart you in this folder (Codex also needs this folder trusted).
    8. If you started the editor in step 4, leave it running and ask me whether to close it with `.claude/cu exec shutdown_editor`.
  3. Answer its questions — for example whether to install uv, or to close the editor it started.

The agent finishes with a table like this one:

ItemStatusWhat to do
Project✅ MyGame.uproject—
Plugin✅ Plugins/ClaudeUnreal, enabled—
Claude Code / Python / uv✅—
.mcp.json, .claude/cu✅ written by the editor—
CLI ping✅ pong—
Round trip✅ 81 actors, screenshot saved—
MCP tools⚠️ not loaded yetRestart Claude Code here

A ⚠️ on the MCP row the first time is normal: Claude Code reads .mcp.json only when it starts. The CLI (cu) works straight away, and it is what the agent uses for almost everything — see Architecture & tools.

  • ping never answers — the editor may still be compiling shaders on its first launch. Let the agent wait a few more minutes; if it still fails, open the editor normally once and look for a plugin error.
  • Another editor is already running — fine since ClaudeUnreal v0.7.2: this project’s editor takes another port and records it in Saved/ClaudeUnreal/bridge.json. With v0.7.1 and earlier only one editor per machine can serve an agent; close the other one.
  • .claude/cu is still missing after the editor started — Claude support may be switched off in the plugin. Open the editor, click the Claude toolbar arrow and turn Claude support on.