Radial-HKS/MCP-Unreal-Server
Built by Metorial, the integration platform for agentic AI.
Radial-HKS/MCP-Unreal-Server
Server Summary
Automatic discovery of Unreal nodes
Real-time node status monitoring
Execute Python code
Support for attended and unattended execution modes
File execution and statement evaluation
Detailed logging to file and console
Node connection health monitoring
A server implementation for interacting with Unreal Engine instances through remote Python execution.
π Unreal Instance Management
π» Remote Execution
π Logging & Monitoring
mcp_unreal.log
)# Clone repository
git clone https://github.com/your-org/mcp-unreal-server.git
cd mcp-unreal-server
# Install dependencies
pip install -r requirements.txt
Configure multicast parameters in RemoteExecutionConfig
:
# Default multicast settings (modify in server.py)
config.multicast_group_endpoint = ("239.0.0.1", 6766)
Modify logging configuration in server.py
:
# Adjust log levels
file_handler.setLevel(logging.DEBUG) # File logging
console_handler.setLevel(logging.INFO) # Console logging
python -m src.mcp_server_unreal.server
{
"host": "239.0.0.1",
"port": 6766
}
{
"node_id": "",
"code": "print('Hello Unreal')",
"unattended": true
}
types.Resource(
uri="unreal://",
name=f"Unreal Instance: {node_id}",
description="Unreal Engine instance",
mimeType="application/x-unreal"
)
Mode | Description |
---|---|
MODE_EXEC_FILE | Execute Python file |
MODE_EXEC_STATEMENT | Execute Python statement |
MODE_EVAL_STATEMENT | Evaluate Python expression |
Common Issues:
mcp_unreal.log
for node status changesApache-2.0 License