AgentHubAgentHub

unreal-engine-mcp

MCP ServerMCP Registry官方收录

io.github.ChiR24/unreal-engine-mcp · v0.5.30

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

概览

unreal-engine-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "unreal-engine-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "unreal-engine-mcp-server"
      ]
    }
  }
}

环境变量

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)

相关资源

统一 Manifest

{
  "id": "io.github.ChiR24/unreal-engine-mcp",
  "type": "mcp-server",
  "version": "0.5.30",
  "displayName": "unreal-engine-mcp",
  "description": "MCP server for Unreal Engine 5 with 23 tools for game development automation.",
  "repository": {
    "url": "https://github.com/ChiR24/Unreal_mcp.git",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "unreal-engine-mcp-server",
        "version": "0.5.30",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "LOG_LEVEL",
            "description": "Logging level: debug, info, warn, error (default: info)"
          },
          {
            "name": "MCP_ROUTE_STDOUT_LOGS",
            "description": "Route standard output to standard error to avoid protocol corruption (default: true)"
          },
          {
            "name": "UE_PROJECT_PATH",
            "description": "Absolute path to your Unreal .uproject file"
          },
          {
            "name": "UE_EDITOR_EXE",
            "description": "Path to UnrealEditor-Cmd.exe (optional)"
          },
          {
            "name": "UE_SCREENSHOT_DIR",
            "description": "Directory to save screenshots (optional)"
          },
          {
            "name": "MCP_AUTOMATION_PORT",
            "description": "Automation bridge WebSocket port (default: 8091)"
          },
          {
            "name": "MCP_AUTOMATION_HOST",
            "description": "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)"
          },
          {
            "name": "MCP_AUTOMATION_ALLOW_NON_LOOPBACK",
            "description": "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)"
          },
          {
            "name": "MCP_AUTOMATION_CLIENT_MODE",
            "description": "Run as client connecting to UE (false) or server listening for UE (true) (default: false)"
          },
          {
            "name": "MCP_AUTOMATION_USE_TLS",
            "description": "Use wss:// for the automation bridge client connection (default: false)"
          },
          {
            "name": "MCP_CONNECTION_TIMEOUT_MS",
            "description": "Connection timeout in milliseconds (default: 5000)"
          },
          {
            "name": "MCP_REQUEST_TIMEOUT_MS",
            "description": "Request timeout in milliseconds (default: 30000)"
          },
          {
            "name": "MCP_AUTOMATION_MAX_MESSAGES_PER_MINUTE",
            "description": "Max inbound automation bridge messages per minute before disconnect (default: 600)"
          },
          {
            "name": "MCP_AUTOMATION_MAX_AUTOMATION_REQUESTS_PER_MINUTE",
            "description": "Max inbound automation request messages per minute before disconnect (default: 120)"
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.ChiR24/unreal-engine-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.ChiR24%2Funreal-engine-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
unreal-engine-mcp — MCP Server 安装与配置 · AgentHub