Unreal Engine MCP Bridge
Enables interaction with Unreal Engine through Python scripts, allowing for programmatic control of engine features including spawning actors, creating Blueprints, setting up game elements, and automating editor operations.
Provides a bridge to control Unreal Engine 5.5+ using natural language commands, enabling capabilities such as creating/manipulating Blueprints, spawning/modifying actors, working with Blueprint nodes and connections, managing project settings and input mappings, and creating/modifying UMG widgets.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Unreal Engine MCP Bridgespawn a red cube at the player's location"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Unreal Engine MCP (Model Context Protocol) Bridge
This project provides a bridge between text-based AI models and Unreal Engine 5.5+ using the Model Context Protocol (MCP). It allows you to control Unreal Engine using natural language commands and Python scripts.
Overview
The Unreal MCP Bridge enables:
Creating and manipulating Blueprints
Spawning and modifying actors in the level
Working with Blueprint nodes and connections
Managing project settings and input mappings
Creating and modifying UMG widgets
And much more!
Related MCP server: unreal-mcp
Requirements
Unreal Engine 5.5 or later with Python support enabled
Python 3.10 or later
uvpackage manager (recommended) or pip
Installation
Clone this repository to your local machine
Install dependencies using
uv:
uv pip install -e .Or using pip:
pip install -e .Make sure Unreal Engine is running with Python support enabled
Usage
Starting the MCP Server
To start the MCP server, run:
python unreal_mcp_server.pyThis will start the server and register all available tools for interacting with Unreal Engine.
Using Example Scripts
The examples directory contains several example scripts that demonstrate how to use the MCP to interact with Unreal Engine:
add_cube.py: Spawns a cube actor in the level with customizable propertiescreate_rotating_cube_blueprint.py: Creates a Blueprint with a cube that rotates continuouslycreate_simple_game.py: Creates a simple game with a player character, collectibles, and score display
To run an example script:
python examples/add_cube.pyAvailable Tool Categories
The MCP Bridge provides tools in several categories:
Editor Tools
Tools for working with the Unreal Editor and actors in the level:
Getting and finding actors
Spawning and deleting actors
Setting actor transforms and properties
Taking screenshots
Selecting actors
Blueprint Tools
Tools for creating and modifying Blueprint assets:
Creating new Blueprints
Adding and removing components
Setting component properties
Compiling Blueprints
Node Tools
Tools for working with Blueprint graph nodes and connections:
Adding various node types (events, functions, variables)
Connecting nodes
Finding and deleting nodes
Project Tools
Tools for project-level operations:
Creating input mappings
Setting project settings
Creating and managing levels
Setting up GameModes
UMG Tools
Tools for creating and modifying UMG widgets:
Creating Widget Blueprints
Adding various widget types (Text, Button, Image, etc.)
Binding widget events
Managing widget properties
Extending the MCP
You can extend the MCP by adding new tools to the appropriate tool modules in the tools directory. Each tool should be registered with the MCP server in unreal_mcp_server.py.
Troubleshooting
Make sure Unreal Engine is running before starting the MCP server
Check that Python support is enabled in your Unreal Engine project
Verify that the MCP server is running and listening for commands
Look for error messages in the console output
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceMCP server for controlling Unreal Engine 5 from AI agents, providing 120+ commands for spawning actors, editing Blueprints, managing assets, and more via CLI or MCP.Last updated193MIT
- Flicense-qualityDmaintenanceEnables natural language interaction with Unreal Engine, providing 127 tools across 16 subsystems for tasks like actor manipulation, asset management, blueprint creation, and more, using built-in Python and Remote Control plugins.Last updated3
- AlicenseBqualityCmaintenanceAn MCP server that gives AI agents broad control over Unreal Engine 5.7, enabling actor/asset/level management, Blueprint and material creation, screenshots, automation, and arbitrary editor Python execution.Last updated35MIT
- FlicenseAqualityCmaintenanceBridges Large Language Models with Unreal Engine 5 via the Model Context Protocol, enabling AI to control scenes, inject C++ code, and manage assets through UE5's Web Remote Control interface.Last updated20
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automate…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gingerol/UnrealEngine-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server