unreal-mcp
by chongdashu·★ 1,879·Score 45
MCP server enabling AI assistants to control Unreal Engine through natural language commands.
Overview
This MCP server provides comprehensive tools for controlling Unreal Engine through natural language commands via AI assistants like Cursor, Windsurf and Claude Desktop. It enables actor management, blueprint development, node graph manipulation, and editor control. The project consists of a C++ plugin integrated with Unreal Editor and a Python MCP server that implements the Model Context Protocol.
Try asking AI
After installing, here are 7 things you can ask your AI assistant:
When to choose this
Choose this if you're working with Unreal Engine and want to leverage AI assistants for automating scene setup, blueprint development, and editor control through natural language commands.
When NOT to choose this
Don't choose this if you need stable APIs for production or if you're not using Unreal Engine, as it's currently experimental and requires Unreal Engine integration.
Tools this server exposes
12 tools extracted from the READMEcreate_actorCreate actors (cubes, spheres, lights, cameras, etc.) in the Unreal Engine scene
delete_actorDelete actors from the current level
set_actor_transformSet actor properties like position, rotation, and scale
query_actor_propertiesQuery properties and find actors by name
list_actorsList all actors in the current level
create_blueprint_classCreate new Blueprint classes with custom components
add_blueprint_componentAdd and configure components to Blueprints
compile_blueprintCompile Blueprint scripts to validate and build them
add_blueprint_nodeAdd nodes to Blueprint graphs
add_blueprint_variableCreate variables with custom types in Blueprints
focus_viewportFocus viewport on specific actors or locations
spawn_blueprint_actorSpawn Blueprint actors in the world
Comparable tools
Installation
Installation
- **Prerequisites**
- Unreal Engine 5.5+ - Python 3.12+ - MCP Client (Claude Desktop, Cursor, Windsurf)
- **Plugin Setup**
- Copy MCPGameProject/Plugins/UnrealMCP to your project's Plugins folder - Enable the plugin in Unreal Editor: Edit > Plugins > UnrealMCP - Generate and build Visual Studio project files
- **Python Server Setup**
- Set up Python environment - Navigate to Python folder - Install dependencies - Run unreal_mcp_server.py
- **Configure MCP Client**
Add to your client configuration:
{
"mcpServers": {
"unrealMCP": {
"command": "uv",
"args": [
"--directory",
"<path/to/the/folder/PYTHON>",
"run",
"unreal_mcp_server.py"
]
}
}
}Configuration locations:
- Claude Desktop:
~/.config/claude-desktop/mcp.json - Cursor:
.cursor/mcp.json - Windsurf:
~/.config/windsurf/mcp.json
FAQ
- Is this production ready?
- No, this project is currently in EXPERIMENTAL status. Breaking changes may occur without notice, features may be incomplete, and production use is not recommended at this time.
- Which Unreal Engine versions are supported?
- This project supports Unreal Engine 5.5 and newer versions.
- How do I connect the Python server to the Unreal Engine plugin?
- The Python server connects to the C++ plugin via TCP socket on port 55557. The plugin acts as a native TCP server for MCP communication.
Compare unreal-mcp with
Last updated · Auto-generated from public README + GitHub signals.