Python bridge for interacting with Unreal Engine 5.5 using the Model Context Protocol (MCP).
- Make sure Python 3.10+ is installed
- Install
uvif you haven't already:curl -LsSf https://astral.sh/uv/install.sh | sh - Create and activate a virtual environment:
uv venv source .venv/bin/activate # On Unix/macOS # or .venv\Scripts\activate # On Windows
- Install dependencies:
uv pip install -e .
At this point, you can configure your MCP Client (Claude Desktop, Cursor, Windsurf) to use the Unreal MCP Server as per the Configuring your MCP Client.
There are several scripts in the scripts folder. They are useful for testing the tools and the Unreal Bridge via a direct connection. This means that you do not need to have an MCP Server running.
You should make sure you have installed dependencies and/or are running in the uv virtual environment in order for the scripts to work.
- Make sure Unreal Engine editor is loaded loaded and running before running the server.
- Check logs in
unreal_mcp.logfor detailed error information
To add new tools, modify the UnrealMCPBridge.py file to add new command handlers, and update the unreal_mcp_server.py file to expose them through the HTTP API.