Skip to main content
Glama

MCP Unreal Server

by radial-hks

MCP アンリアル サーバー

リモート Python 実行を通じて Unreal Engine インスタンスと対話するためのサーバー実装。

特徴

  • 🚀 Unreal インスタンス管理

    • マルチキャストによるUnrealノードの自動検出

    • リアルタイムノードステータス監視

    • LSP 互換クライアントによるリソース一覧

  • 💻リモート実行

    • Unreal Engine 環境で Python コードを実行する

    • 有人実行モードと無人実行モードの両方をサポート

    • ファイル実行とステートメント評価モード

  • 📊ログ記録と監視

    • 詳細なログをファイルに記録します ( 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

構成

ネットワーク設定

RemoteExecutionConfigでマルチキャスト パラメータを構成します。

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

ログ記録

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

サポートされているツール

  1. Unrealインスタンスに接続する

{ "host": "239.0.0.1", "port": 6766 }
  1. Pythonコードを実行する

{ "node_id": "<unreal-node-id>", "code": "print('Hello Unreal')", "unattended": true }

APIドキュメント

リソース形式

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

実行モード

モード

説明

MODE_EXEC_FILE

Pythonファイルを実行する

MODE_EXEC_ステートメント

Pythonステートメントを実行する

MODE_EVAL_STATEMENT

Python式を評価する

トラブルシューティング

よくある問題:

  • ノードが検出されません: MCP プラグインを使用して Unreal インスタンスが実行されていることを確認します

  • 実行タイムアウト: マルチキャストトラフィックのファイアウォール設定を確認してください

  • 接続が切断された場合: ノードのステータスの変化についてはmcp_unreal.log監視します。

ライセンス

Apache 2.0 ライセンス

Deploy Server
A
security – no known vulnerabilities
-
license - not tested
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 Engine 環境でのリモート Python コード実行を可能にするサーバー実装。マルチキャスト ネットワークを介した自動 Unreal ノード検出および管理機能を備えています。

  1. 特徴
    1. インストール
      1. 構成
        1. ネットワーク設定
        2. ログ記録
      2. 使用法
        1. サーバーの起動
        2. サポートされているツール
      3. APIドキュメント
        1. リソース形式
        2. 実行モード
      4. トラブルシューティング
        1. ライセンス

          Related MCP Servers

          • -
            security
            -
            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
          • -
            security
            -
            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 -
            93
            MIT License
            • Linux
            • Apple
          • A
            security
            -
            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
            4
            • Linux
            • Apple
          • -
            security
            -
            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
            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