Unreal-Blender MCP is a unified server for controlling both Blender and Unreal Engine via AI agents using the MCP (Machine Control Protocol) approach.
Unreal-Blender MCP is a unified server for controlling both Blender and Unreal Engine via AI agents using the MCP (Machine Control Protocol) approach.
This project extends the blender-mcp framework to include support for Unreal Engine, allowing AI agents like Claude and ChatGPT to simultaneously control both platforms through a single interface.
This project includes blender-mcp
as a Git submodule. When cloning the repository, use the following commands:
# Clone with submodules git clone --recursive https://github.com/tahooki/unreal-blender-mcp.git # Or clone normally and then initialize submodules git clone https://github.com/tahooki/unreal-blender-mcp.git cd unreal-blender-mcp git submodule update --init --recursive
The system consists of three main components:
[AI Agent] [MCP Server (8300)]
|
|--HTTP--> [Blender Addon (8400)]
|
|--HTTP--> [Unreal Plugin (8500)]
This project uses an extension approach to maintain compatibility with upstream changes:
BlenderMCPServer
while keeping the original code intactThis approach allows easy updates from the original projects without code conflicts.
pip install uv
if you don't have it)# Clone with submodules (recommended) git clone --recursive https://github.com/tahooki/unreal-blender-mcp.git cd unreal-blender-mcp # Or if you already cloned without --recursive: git clone https://github.com/tahooki/unreal-blender-mcp.git cd unreal-blender-mcp git submodule update --init --recursive
# Create a virtual environment and activate it uv venv # On Windows: .\venv\Scripts\activate # On macOS/Linux: source venv/bin/activate # Install project dependencies uv pip install -e .
Choose ONE of the following options:
blender-mcp/addon.py
filepython -c "from src.unreal_blender_mcp.blender_addon import BlenderAddonManager; BlenderAddonManager().install_to_blender(force=True)"
UEPythonServer
folder in this projectPlugins
directory
Plugins
directory, create oneChoose ONE of the following options:
# Make sure your virtual environment is activated python main.py
# Make sure your virtual environment is activated python run_extended_server.py # Optional: Customize server options python run_extended_server.py --host 127.0.0.1 --port 8080 --log-level DEBUG
N
to open the sidebar panelAdd the following to Claude for Desktop's configuration:
{ "mcpServers": { "unreal-blender": { "command": "uvx", "args": [ "unreal-blender-mcp" ] }, "unreal-blender-ext": { "command": "python", "args": [ "/path/to/unreal-blender-mcp/run_extended_server.py" ] } } }
Replace /path/to/
with your actual project path.
Open Cursor Settings
Navigate to MCP section
Add the following commands:
uvx unreal-blender-mcp
python /path/to/unreal-blender-mcp/run_extended_server.py
Replace /path/to/
with your actual project path.
Refer to your AI tool's documentation for integrating with MCP servers, and point it to:
http://localhost:8000
(or custom port if specified)Once all components are running:
Use your AI agent to interact with Blender by asking it to:
Use your AI agent to interact with Unreal Engine by asking it to:
Try more complex operations that involve both platforms working together
If you encounter issues:
For more detailed information on development and extending the system, see the Project Document and workflow directory.
Feature | Standard Server | Extended Server |
---|---|---|
Blender Control | ✅ | ✅ |
Unreal Control | ✅ | ✅ |
Custom Blender Commands | ❌ | ✅ |
Enhanced Scene Info | ❌ | ✅ |
Auto Feature Detection | ❌ | ✅ |
Upstream Compatibility | ✅ | ✅ |
Choose the standard server for basic functionality or the extended server for advanced features.
See the Project Document and workflow directory for detailed development information.
For extending this project:
src/unreal_blender_mcp/blender_addon/extended_addon.py
src/unreal_blender_mcp/server_extension/extended_server.py
This project is licensed under the MIT License - see the LICENSE file for details.
The following improvements are planned for future releases:
Currently, the Unreal Engine communication relies primarily on direct Python code execution. A planned enhancement is to implement a structured API similar to the Blender integration:
This enhancement will create a more consistent experience across both engines and improve the overall reliability of the system. See the workflow documentation for more details on this planned development.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!