Skip to main content
Glama

MCP Unreal Server

by radial-hks

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

Installation

# Clone repository git clone https://github.com/your-org/mcp-unreal-server.git cd mcp-unreal-server # Install dependencies pip install -r requirements.txt

Configuration

Network Settings

Configure multicast parameters in RemoteExecutionConfig:

# Default multicast settings (modify in server.py) config.multicast_group_endpoint = ("239.0.0.1", 6766)

Logging

Modify logging configuration in server.py:

# Adjust log levels file_handler.setLevel(logging.DEBUG) # File logging console_handler.setLevel(logging.INFO) # Console logging

Usage

Starting the Server

python -m src.mcp_server_unreal.server

Supported Tools

  1. Connect to Unreal Instance
{ "host": "239.0.0.1", "port": 6766 }
  1. Execute Python Code
{ "node_id": "<unreal-node-id>", "code": "print('Hello Unreal')", "unattended": true }

API Documentation

Resource Format

types.Resource( uri="unreal://<node_id>", name=f"Unreal Instance: {node_id}", description="Unreal Engine instance", mimeType="application/x-unreal" )

Execution Modes

ModeDescription
MODE_EXEC_FILEExecute Python file
MODE_EXEC_STATEMENTExecute Python statement
MODE_EVAL_STATEMENTEvaluate 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

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

멀티캐스트 네트워크를 통해 자동으로 Unreal 노드를 검색하고 관리하는 기능을 갖춘 Unreal Engine 환경에서 원격 Python 코드 실행을 가능하게 하는 서버 구현입니다.

  1. 특징
    1. 설치
      1. 구성
        1. 네트워크 설정
        2. 벌채 반출
      2. 용법
        1. 서버 시작
        2. 지원되는 도구
      3. API 문서
        1. 리소스 형식
        2. 실행 모드
      4. 문제 해결
        1. 특허

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            A 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 -
            8
            Python
          • -
            security
            A
            license
            -
            quality
            A 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 -
            81
            MIT License
            • Linux
            • Apple
          • A
            security
            F
            license
            A
            quality
            A 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 -
            29
            3
            Python
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            A server that enables control of Unreal Engine 5.5+ using natural language commands, allowing users to create Blueprints, manipulate actors, work with nodes, manage project settings, and create UMG widgets through the Model Context Protocol.
            Last updated -
            1
            Python
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/radial-hks/MCP-Unreal-Server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server