io.github.ChiR24

unreal-engine-mcp

MCP server for Unreal Engine 5 with 17 tools for game development automation.

stdiocommunityapplication

Package Details

Transportstdio

Environment Variables

LOG_LEVEL

Logging level: debug, info, warn, error (default: info)

MCP_ROUTE_STDOUT_LOGS

Route standard output to standard error to avoid protocol corruption (default: true)

UE_PROJECT_PATH

Absolute path to your Unreal .uproject file

UE_EDITOR_EXE

Path to UnrealEditor-Cmd.exe (optional)

UE_SCREENSHOT_DIR

Directory to save screenshots (optional)

MCP_AUTOMATION_PORT

Automation bridge WebSocket port (default: 8091)

MCP_AUTOMATION_HOST

Automation bridge WebSocket host (default: 127.0.0.1). Set to 0.0.0.0 for LAN access (requires MCP_AUTOMATION_ALLOW_NON_LOOPBACK=true)

MCP_AUTOMATION_ALLOW_NON_LOOPBACK

SECURITY: Allow binding to non-loopback addresses (e.g., 0.0.0.0) for LAN access. Only enable if you understand the security implications. (default: false)

MCP_AUTOMATION_CLIENT_MODE

Run as client connecting to UE (false) or server listening for UE (true) (default: false)

MCP_AUTOMATION_USE_TLS

Use wss:// for the automation bridge client connection (default: false)

MCP_CONNECTION_TIMEOUT_MS

Connection timeout in milliseconds (default: 5000)

MCP_REQUEST_TIMEOUT_MS

Request timeout in milliseconds (default: 30000)

MCP_AUTOMATION_MAX_MESSAGES_PER_MINUTE

Max inbound automation bridge messages per minute before disconnect (default: 600)

MCP_AUTOMATION_MAX_AUTOMATION_REQUESTS_PER_MINUTE

Max inbound automation request messages per minute before disconnect (default: 120)