Unreal Engine plugin for AI agent control via Machine Control Protocol
Top 75.0% on sourcepulse
This project provides an unofficial Unreal Engine plugin to control the engine via AI agents using a Machine Control Protocol (MCP). It targets AI researchers and developers seeking programmatic control over Unreal Engine environments for tasks like scene manipulation and asset creation, enabling AI-driven game development and simulation.
How It Works
UnrealMCP implements a TCP server within Unreal Engine, exposing a JSON-based command protocol. External AI systems, such as Claude for Desktop, can connect to this server to send commands for scene manipulation, asset creation, and Python script execution. This approach allows for direct, programmatic interaction with the Unreal Engine, abstracting complex API calls into a simpler, AI-friendly interface.
Quick Start & Requirements
Plugins
directory. Regenerate project files, build the project, and enable the plugin within Unreal Engine.claude_desktop_config.json
to point to the plugin's run_unreal_mcp.bat
script.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The plugin is explicitly marked as "VERY WIP" and primarily tested on Windows. AI model compatibility beyond Claude for Desktop is experimental, and the author notes potential errors with Unreal Python scripting due to limited examples. Direct AI modification of projects carries inherent risks, necessitating strict source control and backups.
1 month ago
1 day