Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation context directly in the editor.
Supported Platforms: Windows (Win64), Linux, and macOS (Apple Silicon). Claude Opus 4.7 and its Claude Code release supported.
Overview
Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation context directly in the editor.
UnrealClaude integrates the Claude Code CLI directly into the Unreal Engine 5.7 Editor and runs a MCP server for access to other coding agents.
Key Features:
Native Editor Integration - Chat panel docked in your editor with live streaming responses, tool call grouping, and code block rendering
MCP Server - 20+ Model Context Protocol tools for actor manipulation, Blueprint editing, level management, materials, input, and more
Dynamic UE 5.7 Context System - The MCP bridge includes a dynamic context loader that provides accurate UE 5.7 API documentation on demand
Blueprint Editing - Create and modify Blueprints, Animation Blueprints, state machines (Few bugs still, don't rely on fully)
Level Management - Open, create, and manage levels and map templates programmatically
Asset Management - Search assets, query dependencies and referencers
How do I create a custom Actor Component in C++?
What's the best way to implement a health system using GAS?
Explain World Partition and how to set up streaming for an open world.
Write a BlueprintCallable function that spawns particles at a location.
How do I properly use TObjectPtr<> vs raw pointers in UE5.7?
Input Shortcuts
Shortcut
Action
Enter
Send message
Shift+Enter
New line in input
Escape
Cancel current request
Features
Session Persistence
Conversations are automatically saved to your project's Saved/UnrealClaude/ directory and restored when you reopen the editor. The plugin maintains conversation context across sessions.
Project Context
UnrealClaude automatically gathers information about your project:
Source modules and their dependencies
Enabled plugins
Project settings
Recent assets
Custom CLAUDE.md instructions
Scripting
Claude can write, compile (C++ via Live Coding), and run Python / Console / Editor Utility scripts — each gated by a permission dialog (deny-by-default; see Auto-approve script execution under Configuration).
Note — scripting & console tools are hidden by default. The MCP bridge does not advertise execute_script, run_console_command, cleanup_scripts, or get_script_history to the model. They're a deliberate power-user fallback, kept off in releases so the model uses the structured editor tools (and to keep the tool list small). They remain callable by exact name, and every execution still passes through the C++ permission dialog. To surface them to the model, move the names out of HIDDEN_TOOL_NAMES in Resources/mcp-bridge/tool-router.js. run_console_command can reach the Python interpreter (py …) — treat un-hiding it as enabling arbitrary code execution; keep it to trusted setups only.
MCP Server
The plugin includes a Model Context Protocol (MCP) server with 20+ tools that expose editor functionality to Claude and external tools. The MCP server runs on port 3000 by default and starts automatically when the editor loads.
Tool Categories:
Actor Tools - Spawn, move, delete, inspect, and set properties on actors
Level Management - Open levels, create new levels from templates, list available templates
Async Task Queue - Background execution for long-running operations
For full MCP tool documentation with parameters, examples, and API details, see UnrealClaude's MCP Bridge repository.
Dynamic UE 5.7 Context System
The MCP bridge includes a dynamic context loader that provides accurate UE 5.7 API documentation on demand. Use unreal_get_ue_context to query by category (animation, blueprint, slate, actor, assets, replication) or search by keywords. Context status is shown in unreal_status output.
Configuration
Project Settings
In Project Settings → Plugins → Unreal Claude:
Auto-approve script execution (default: OFF) — when ON, every Python / C++ / Console / Editor Utility script triggered through the MCP bridge or the in-editor chat runs immediately without showing the permission dialog. Each auto-approved script writes a LogUnrealClaude Log entry with its type and description so the audit trail is preserved. Designed for trusted MCP-driven / agent-driven workflows where the per-script confirmation becomes dominant friction; only enable on machines and projects where the connected client is trusted.
The setting is persisted to Config/DefaultEditor.ini under [/Script/UnrealClaude.UnrealClaudeSettings].
Custom System Prompts
You can extend the built-in UE5.7 context by creating a CLAUDE.md file in your project root:
# My Project Context
## Architecture
- This is a multiplayer survival game
- Using Dedicated Server model
- GAS for all abilities
## Coding Standards
- Always use UPROPERTY for Blueprint access
- Prefix interfaces with I (IInteractable)
- Use GameplayTags for ability identification
Allowed Tools
By default, the plugin runs Claude with these tools: Read, Write, Edit, Grep, Glob, Bash. You can modify this in ClaudeSubsystem.cpp:
Plugin builds context from UE5.7 knowledge + project information
Executes: claude -p --skip-permissions --append-system-prompt "..." "your prompt"
Claude Code runs with your project as the working directory
Response is captured and displayed in the chat panel
Conversation is persisted for future sessions
Command Line Equivalent
cd "C:\YourProject"
claude -p --skip-permissions \
--allowedTools "Read,Write,Edit,Grep,Glob,Bash" \
--append-system-prompt "You are an expert Unreal Engine 5.7 developer..." \
"How do I create a custom GameMode?"
Troubleshooting
"Claude CLI not found"
Verify Claude is installed: claude --version
Check it's in your PATH: where claude
Restart Unreal Editor after installation
"Authentication required"
Run claude auth login in a terminal to authenticate.
Responses are slow
Claude Code executes in your project directory and may read files for context. Large projects may have slower initial responses.
You might also have too many global Claude Code plugins enabled (i.e. Superpowers, ralp-loop, context7). The context for those plugins
getting injected can cause slowdowns up to 3+ minutes.
Plugin doesn't compile
Ensure you're on Unreal Engine 5.7. Supported platforms are Windows (Win64), Linux, and macOS.
MCP Server not starting
Check if port 3000 is available. The MCP server logs to LogUnrealClaude.
MCP tools not available / Blueprint tools not working
If Claude says the MCP tools are in its instructions but not in its function list:
Install MCP bridge dependencies: The most common cause is missing npm packages:
cd YourProject/Plugins/UnrealClaude/Resources/mcp-bridge
npm install
Verify the HTTP server is running: With the editor open, test:
curl http://localhost:3000/mcp/status
You should see a JSON response with project info.
Check the Output Log: Look for LogUnrealClaude messages:
MCP Server started on http://localhost:3000 - Server is running
Registered X MCP tools - Tools are loaded
Restart the editor: After installing npm dependencies, restart Unreal Editor.
Request Hangs
New watchdog should warn about hung requests (60s). Make sure all files are on disk (DISABLE OneDrive, DropBox, etc.)
Debugging the MCP Bridge
The MCP bridge is also available as a standalone repository with its own Vitest test suite. If you're experiencing bridge-level issues (tool listing, parameter translation, context injection), you can run the bridge tests independently:
cd path/to/ue5-mcp-bridge
npm install
npm test
This tests the bridge without requiring a running Unreal Editor.
Contributing
Feel free to fork for your own needs! Possible areas for improvement:
最終チェックは 2026-11-16 です。 Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation context directly in the editor.