Getting Started¶
UE-MCP lets you tell an AI assistant what you want done in Unreal. It can place actors, write blueprints, author materials, configure Niagara, build lighting, generate PCG systems, blah, blah, blah.
Prerequisites¶
- Install Unreal Engine 5.4 to 5.7
- Install Node.js 18 or newer
- Install an MCP-capable AI client (e.g. Claude Code)
1. Installation¶
- If your Unreal Editor is open, close it.
cdinto your project folder (the one with the.uproject).- Run the wizard:
The wizard then:
- Auto-detects your
.uproject. - Asks which tool categories to enable (
level,blueprint,material,niagara, etc.). All enabled by default. - Copies the C++ bridge plugin into
<YourProject>/Plugins/UE_MCP_Bridge/. - Enables the plugins it needs in your
.uproject:UE_MCP_Bridge,PythonScriptPlugin, plus any ofNiagara,PCG,GameplayAbilities,EnhancedInputrequired by the categories you kept. - Writes
.ue-mcp.json(project config) and scaffolds an emptyue-mcp.yml(for custom flows) if missing. - Detects installed MCP clients (Claude Code, Claude Desktop, Cursor) and writes the config for each you confirm.
- Claude Code only: optionally installs a PostToolUse hook that prompts agents to file a GitHub issue when they fall back to
execute_python, and copies bundled workflow skills into.claude/.
2. Open the Editor¶
- Open your project.
- When the editor asks whether to compile
UE_MCP_Bridge, say yes. First-time compile takes ~30-60 seconds.
The bridge starts automatically once the editor finishes loading, listening on ws://localhost:9877.
Verify the bridge¶
- Open Window → Output Log.
- Filter on
LogMCPBridge. - Confirm this line appears:
If it's not there, see Troubleshooting.
3. Verify the connection¶
- Open your AI client.
- Paste:
- Look for
"editorConnected": truein the response.
4. Try things¶
Good first prompts:
Place a directional light at (0, 0, 500), a SkyLight at the origin, then build lighting at preview quality.
Direct tool-call syntax also works:
level(action="get_outliner")
asset(action="list", directory="/Game/")
demo(action="step", stepIndex=1)
reflection(action="reflect_class", className="StaticMeshActor")
See the Tool Reference for everything available.
Updating¶
Run from your project directory whenever a new UE-MCP version ships:
Switching projects¶
To point ue-mcp at a different .uproject without restarting your AI client, ask:
UE-MCP redeploys the bridge and reconnects. (Calls project(action="set_project") under the hood.)
Manual configuration¶
If you'd rather skip npx ue-mcp init, edit the MCP client config yourself.
Use forward slashes on Windows
C:/Users/..., not C:\Users\.... Backslashes need escaping inside JSON.
.mcp.json in your project root:
claude_desktop_config.json:
The first run auto-deploys the C++ plugin. To deploy explicitly: npx ue-mcp update <path>, then restart the editor.
Where to next¶
- Tool Reference - every tool and every action
- Flows - chain actions into reusable YAML workflows with rollback and retries
- Architecture - what's actually happening when you call a tool
- Configuration -
.ue-mcp.jsonoptions and per-client config - Neon Shrine Demo - guided 19-step procedural scene build
- Troubleshooting - connection errors, build errors, asset path errors