MCP Unreal Server
A MCP Server implementation for interacting with Unreal Engine instances through remote Python execution.
Overview
MCP Unreal Server is a server implementation designed for interacting with Unreal Engine instances through remote Python execution, enabling developers to manage and execute code in Unreal environments seamlessly.
To use MCP Unreal Server, clone the repository, install the dependencies, configure the network settings, and start the server. You can then connect to Unreal instances and execute Python code remotely.
- 🚀 Unreal Instance Management: Automatic discovery of Unreal nodes, real-time status monitoring, and resource listing. - 💻 Remote Execution: Execute Python code in both attended and unattended modes, with support for file execution and statement evaluation. - 📊 Logging & Monitoring: Detailed logging to file and console, with health monitoring of node connections.
- Managing multiple Unreal Engine instances in a networked environment.
- Executing Python scripts to automate tasks within Unreal Engine.
- Monitoring the health and status of Unreal nodes in real-time.
Add to your AI client
Use these steps to connect MCP Unreal Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-unreal-server-radial-hks": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-unreal-server-radial-hks": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-unreal-server-radial-hks": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-unreal-server-radial-hks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-unreal-server-radial-hks": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-unreal-server-radial-hks": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-unreal-server-radial-hks"
]
}
}
}FAQ
How do I start the server?
Use the command `python -m src.mcp_server_unreal.server` to start the server.
What should I do if no nodes are discovered?
Ensure that Unreal instances are running with the MCP plugin enabled.
Can I execute Python files?
Yes, you can execute Python files using the `MODE_EXEC_FILE` execution mode.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3291,"uuid":"2a6ee08b-8242-42f7-af74-4e94f857541d","name":"MCP-Unreal-Server","title":"MCP Unreal Server","description":"A MCP Server implementation for interacting with Unreal Engine instances through remote Python execution.","avatar_url":"https://avatars.githubusercontent.com/u/26715267?v=4","created_at":"2025-03-18T15:05:39.784Z","updated_at":"2025-03-18T15:06:26.995Z","status":"created","author_name":"radial-hks","author_avatar_url":"https://avatars.githubusercontent.com/u/26715267?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/radial-hks/MCP-Unreal-Server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"3\",\"license\":\"\",\"language\":\"HTML\",\"is_official\":false,\"latest_commit_time\":\"2025-04-12 22:29:45\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]