Facilitates executing Python code remotely within Unreal Engine instances, supporting multiple execution modes including file execution and statement evaluation.
Enables remote Python code execution in Unreal Engine environments, supporting both attended and unattended execution modes, file execution, and statement evaluation through an automatic node discovery system.
MCP Unreal Server
A server implementation for interacting with Unreal Engine instances through remote Python execution.
Features
- 🚀 Unreal Instance Management
- Automatic discovery of Unreal nodes via multicast
- Real-time node status monitoring
- Resource listing through LSP-compatible clients
- 💻 Remote Execution
- Execute Python code in Unreal Engine environments
- Support for both attended and unattended execution modes
- File execution and statement evaluation modes
- 📊 Logging & Monitoring
- Detailed logging to file (
mcp_unreal.log
) - Console logging with different verbosity levels
- Node connection health monitoring
- Detailed logging to file (
Installation
Configuration
Network Settings
Configure multicast parameters in RemoteExecutionConfig
:
Logging
Modify logging configuration in server.py
:
Usage
Starting the Server
Supported Tools
- Connect to Unreal Instance
- Execute Python Code
API Documentation
Resource Format
Execution Modes
Mode | Description |
---|---|
MODE_EXEC_FILE | Execute Python file |
MODE_EXEC_STATEMENT | Execute Python statement |
MODE_EVAL_STATEMENT | Evaluate Python expression |
Troubleshooting
Common Issues:
- No nodes discovered: Verify Unreal instances are running with MCP plugin
- Execution timeout: Check firewall settings for multicast traffic
- Connection drops: Monitor
mcp_unreal.log
for node status changes
License
Apache-2.0 License
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
A server implementation that enables remote Python code execution in Unreal Engine environments, featuring automatic Unreal node discovery and management through a multicast network.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that allows management and execution of Blender Python scripts, enabling users to create, edit and run scripts in a headless Blender environment through natural language interfaces.Last updated -8Python
- -securityAlicense-qualityA server that enables AI assistants to understand and interact with Unity projects in real-time, providing access to scene hierarchy, project settings, and the ability to execute code directly in the Unity Editor.Last updated -78MIT License
- AsecurityAlicenseAqualityA server built on the Model Context Protocol that enables controlling the Unitree Go2 robot using natural language commands, which are translated into ROS2 instructions for the robot to perform corresponding actions.Last updated -1233PythonApache 2.0
- AsecurityFlicenseAqualityA Model Context Protocol server that enables natural language interactive control of Universal Robots collaborative robots, allowing users to control robot motion, monitor status, and execute programs through direct commands to large language models.Last updated -293Python