This repository currently provides a specification-first documentation set for UE5 + Blender automation via MCP.
Implementation is being built to match these docs. Until the code lands, treat:
- Docs as the contract (what tools/commands/configs will do).
- Anything not explicitly specified as undefined behavior.
UE5-MCP (Model Context Protocol) is a tool-and-protocol layer that enables AI-assisted automation across:
- Blender: scene generation, asset creation, texturing/material workflows, export.
- Unreal Engine 5: level assembly, terrain/PCG automation, Blueprint generation, profiling/optimization.
The goal is to let you express intent in natural language (or structured tool calls) and have MCP produce deterministic, inspectable actions in Blender/UE5.
- A workflow automation system that exposes well-defined tools (commands/APIs) for Blender and UE5.
- A provider-agnostic AI orchestration layer (OpenAI/Claude/SD, etc.) with safety controls.
- A bridge between DCC output (Blender) and engine ingestion (UE5), preserving materials, transforms, and metadata.
- A replacement for Blender or UE5 authoring.
- A guarantee of “one prompt builds an entire shippable game.”
- A runtime plugin intended for packaged games; the initial target is editor-time automation.
- Scene Generation (Blender):
mcp.generate_scene+ object placement + procedural textures. - Asset Export/Transfer: export to
.fbx,.obj,.gltfwith metadata conventions. - Level Design Automation (UE5): terrain generation and asset population.
- Blueprint Automation (UE5): generate/edit Blueprints from behavioral specifications.
- Profiling & Optimization (UE5): produce reports and suggested remediations.
See:
workflow.mdfor the end-to-end pipelinecommands.mdfor the command surfaceapi_reference.mdfor programmatic APIs
New to UE5-MCP? See the Quickstart Guide for detailed setup instructions.
# Clone the repository
git clone https://github.com/jxoesneon/UE5-MCP.git
cd UE5-MCP
# Install with uv (recommended)
uv sync
source .venv/bin/activate
# Or with pip
pip install .pip install ue5_mcp-1.0.0-py3-none-any.whl-
Install prerequisites
- Blender 3.x+
- UE 5.1+
- Python 3.11+
-
Create configuration files
Create
~/.mcp/blender_mcp_config.json:{ "blender": { "transport": { "executable_path": "blender" } }, "ue5": { "transport": { "host": "localhost", "port": 8080 } } } -
Set up target connections
For Blender: No additional setup needed if Blender is in your PATH.
For UE5:
- Enable
Python Editor Script Pluginin UE5 - Copy
modules/mcp_target_ue5/plugin/ue5_mcp_server.pyto your project'sContent/Python/folder - Run
py ue5_mcp_serverin the UE5 Output Log
- Enable
-
Verify installation
# Check CLI
mcp --version
# If the 'mcp' command is not found, try:
python -m mcp --version
# Test Blender connection (dry-run)
mcp blender generate-scene "A cube" --dry-run
# Test UE5 connection
curl http://localhost:8080/health- Quickstart Guide - Get started in 10 minutes
- Blender Setup - Detailed Blender configuration
- UE5 Setup - Detailed UE5 configuration
mcp.generate_scene "A medieval village with a river"mcp.export_asset "bridge_model" "fbx" "./exports/bridge.fbx"mcp.generate_terrain 2000 2000 "high"mcp.generate_blueprint "A door opens when the player interacts."
- Secrets: API keys must be supplied via config or environment variables; never commit them.
- Least privilege: default behavior should avoid destructive operations (delete/overwrite) unless explicitly enabled.
- Auditability: every tool execution should emit structured logs (inputs, outputs, side effects, timings).
- Reproducibility: generated assets/scripts should be traceable to prompts + tool parameters + versioned templates.
See configurations.md and ai_integration.md.
Setup Guides:
docs/setup/quickstart.md: Get started in 10 minutesdocs/setup/blender_setup.md: Detailed Blender configurationdocs/setup/ue5_setup.md: Detailed UE5 configuration and plugin setup
Reference:
architecture.md: component boundaries, data flows, and security postureworkflow.md: end-to-end asset → engine pipelinecommands.md: CLI/tool surface and semanticsapi_reference.md: programmatic APIs and contractsconfigurations.md: config schema, precedence, secretsdependencies.md: reproducible dependencies and toolchain requirementstroubleshooting.md: diagnostic playbooksROADMAP.md: end-to-end implementation roadmap (phases, acceptance criteria, risks)
Target-Specific:
blender_mcp.md: Blender integration specificationue5_mcp.md: UE5 integration specificationmodules/mcp_target_ue5/plugin/README.md: UE5 plugin documentation
See ROADMAP.md for a phased, end-to-end implementation plan with acceptance criteria, risks, and spec mappings.
See CONTRIBUTING.md.
If you’d like to support ongoing development, you can donate via Ko-fi.
See LICENSE.md.