UECopilot Plugin Documentation
Version: 1.0.0 | Last Updated: 2026-05-08 Target Engine: Unreal Engine 5.7
1. Plugin Overview
1.1 What is UECopilot?
UECopilot is an AI-assisted development plugin integrated into the Unreal Engine 5 editor. Through the Blueprint MCP Server (Blueprint Model Context Protocol Server, UEMCP), it exposes UE5's Blueprint data structures and editing operations as HTTP APIs, allowing AI models (such as Claude, GPT, etc.) to directly read, understand, create, and modify Blueprint assets.
One-sentence summary: UECopilot enables AI to "understand" your Blueprints and operate them for you like an experienced TA/programmer.
1.2 Operation Mode
2. Core Capabilities Overview
UECopilot's UEMCP module has been comprehensively analyzed and currently provides 80+ MCP tools, covering the following 9 major capability domains:
Capability Rating Descriptions:
- Mature: Full tool functionality, edge cases well handled, SEH protection in place
- Stable: Core paths usable, some boundary conditions to watch for
- Developing: Basic capabilities available, advanced scenarios need improvement
2.1 What Can It Do? (Scenario Descriptions)
Scenario 1: AI-Assisted Blueprint Debugging
Scenario 2: AI-Assisted Blueprint Refactoring
Scenario 3: AI-Assisted Material Creation
Scenario 4: AI-Assisted Animation State Machine
Scenario 5: Safe Experimentation
3. System Requirements
- Unreal Engine: 5.7+
- Operating System: Windows 64-bit (fully tested)
- Additional Dependencies: Node.js (for Web UI service, MCP service does not require it)
4. Usage Guide
4.1 Recommended Workflow
The recommended workflow follows four steps: "Preview → Snapshot → Execute → Verify":
4.2 AI Prompt Tips
Good prompt examples:
Vague prompts to avoid:
4.3 Usage Notes
-
MCP service is not head-safe: Although SEH (Structured Exception Handling) protection is used, erroneous operations in extreme cases could still cause the editor to crash. It is recommended to save the project and back up important Blueprints before operating.
-
All write operations support Ctrl+Z undo: The server wraps each write operation in an Undo transaction, but it is recommended to manually save promptly after continuous operations.
-
Snapshots are saved to disk: Snapshot files are stored in the
Project/Saved/BlueprintMCP/Snapshots/directory and are not included in project version control. Manual backup is recommended for important operations. -
AI model differences in understanding UE terminology: Different AI models may have varying understandings of UE-specific terms (such as "pin connection", "break struct", "event dispatcher"). Please use UE5 official terminology in your prompts.
5. MCP Tools Complete Reference
Note: The following lists all MCP tools that can be directly invoked through AI conversation. Tool names use snake_case convention. You can use these tool names directly in your prompts.
5.1 Blueprint Retrieval & Reading (8 Tools)
5.2 Blueprint Node Editing (15 Tools)
5.3 Blueprint Variable System (6 Tools)
5.4 Function & Parameter Management (4 Tools)
5.5 Blueprint Structure & Metadata (9 Tools)
5.6 Component System (3 Tools)
5.7 User-Defined Types (4 Tools)
5.8 Material System (18 Tools)
Material Reading:
Material Writing:
Material Instances:
Material Functions:
Material Safety:
5.9 Animation Blueprint System (12 Tools)
5.10 Safety & Snapshot System (6 Tools)
5.11 Asset Discovery & Reflection (5 Tools)
5.12 Utility Functions & Safety Mechanisms
Type Resolver (ResolveTypeFromString)
Supported type resolution formats:
SEH Safety Protection (Windows Only)
For high-risk operations (Blueprint compilation, material expression addition, package saving, etc.), the __try/__except Structured Exception Handling (SEH) mechanism is used. This means that even if an operation causes an internal engine crash (such as an access violation), the service will not completely crash, but will instead return an error message.
Undo Transaction Support
All tool calls that modify Blueprints are wrapped in Undo/Redo transactions. This means that when used in the editor, operations executed by AI can be undone with Ctrl+Z.
6. Usage Boundaries & Limitations
6.1 Known Limitations
6.2 Unsupported Scenarios
- C++ Code Operations: Can only operate on Blueprints and assets; cannot create or modify C++ code files
- Runtime Debugging: Does not support debugging features such as breakpoints or step execution
- Multi-User Collaboration: No concurrency control mechanism; not suitable for multiple users operating the same Blueprint simultaneously
- Content Migration: Cross-project content migration is not supported
- Source Control Integration: Does not directly interact with Perforce/Git/SVN
- Packaging and Building: Does not support packaging, baking, or other build processes
- Level Editing: Does not directly support Actor placement and editing in levels
- Data Table Operations: Editing of DataTable/CurveTable is not currently supported
- Niagara System: Operations on Niagara particle systems are not supported
- UI/UW Editing: Editing of Widget Blueprints is not supported
6.3 Security Boundaries
7. Challenges in Prompt Accuracy for Dialogue-Based MCP Operations
7.1 Core Challenges
Using natural language to operate UE5 Blueprints through AI models presents the following core challenges:
Challenge 1: Loss of 3D Semantics in Graph Structure
A Blueprint graph is a two-dimensional visual structure. AI only sees a flat JSON node list, losing spatial information such as:
- Node position and layout (proximity implies logical grouping)
- Visual grouping through comment boxes
- Execution flow direction (left-to-right, top-to-bottom conventions)
- Color cues (node type indication, execution wire colors)
Impact: AI struggles to understand the "design intent" of a graph, only seeing structured connection data.
Challenge 2: Tacit Knowledge of Pin Types
Pin types in UE5 are a complex system:
Impact: When constructing connect_pins requests, AI may provide semantically incorrect pin pairings.
Challenge 3: Cascading Effects of Changes
A simple modification can trigger a chain reaction:
Impact: AI struggles to fully predict all cascading effects of a change, even with dryRun support.
Challenge 4: Ambiguity of UE Terminology
Impact: AI may confuse terminology meanings across different contexts, leading to incorrect request parameters.
Challenge 5: Session State Maintenance
Impact: The plugin itself is stateless; each tool call is independent. AI models need to maintain state within the conversation, but context windows are limited.
7.2 Current Mitigation Strategies
Mitigation measures already implemented at the plugin level:
- Detailed Error Messages: When an operation fails, return specific error reasons and a list of available options (such as available pin names, available graph names, etc.)
- dryRun Mode: Key modification operations support a preview mode that returns impact analysis
- Snapshot Mechanism: Supports taking snapshots before operations and restoring after
- SEH Protection: Crash protection for extreme cases
10. FAQ and Troubleshooting
10.1 Operation Issues
Q: Changes to Blueprint did not take effect
- Check whether the
savedfield in the returned JSON istrue - Manually save the asset in the editor (Ctrl+S)
- Reopen the Blueprint graph to view changes
Q: Blueprint compilation error
- Use the
validate_blueprinttool to view specific error details - If a snapshot is available, use
restore_graphto restore - Or use Ctrl+Z in the editor to undo
Q: AI cannot find the specified Blueprint
- Ensure the Blueprint name is correct (case-sensitive)
- Use the
list_blueprintstool to view all available Blueprints - Level Blueprint needs to be referenced by map name
10.2 Performance Issues
Q: First list_blueprints call is slow
The first call triggers a full scan of the asset registry. Subsequent calls use the cache and will be faster.
11. Appendix: Capability Statistics
11.1 Overview Data
11.3 Type Support Coverage
Conclusion
UECopilot's goal is to make AI a trusted co-pilot for UE5 developers — not to replace your judgment, but to help you complete repetitive tasks faster, reduce human error, and maintain accuracy and traceability in large-scale projects.
Recommendations for Users:
- Start small: Try it on simple Blueprints first
- Use snapshots: Take a snapshot before any major operation
- Gradual usage: Progress from reading → simple modifications → complex creation
- Provide feedback: When encountering issues, please provide detailed logs to help the plugin improve continuously
UECopilot - Empowering Unreal Engine development with AI wings