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_FILEPythonファイルを実行する
MODE_EXEC_ステートメントPythonステートメントを実行する
MODE_EVAL_STATEMENTPython式を評価する

トラブルシューティング

よくある問題:

  • ノードが検出されません: MCP プラグインを使用して Unreal インスタンスが実行されていることを確認します
  • 実行タイムアウト: マルチキャストトラフィックのファイアウォール設定を確認してください
  • 接続が切断された場合: ノードのステータスの変化についてはmcp_unreal.log監視します。

ライセンス

Apache 2.0 ライセンス

-
security - not tested
F
license - not found
-
quality - not tested

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
            A
            license
            -
            quality
            A Python-based server allowing seamless integration with JIRA for managing and interacting with projects through custom APIs.
            Last updated -
            3
            Python
            Apache 2.0
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude to execute Python code using boto3 to query and manage AWS resources directly from conversations.
            Last updated -
            6
            Python
            MIT License
            • Linux
          • A
            security
            A
            license
            A
            quality
            A server that provides a persistent Python REPL environment through the MCP protocol, allowing execution of Python code, variable management, and package installation.
            Last updated -
            3
            3
            Python
            MIT License
          • -
            security
            F
            license
            -
            quality
            Unreal-Blender MCP is a unified server for controlling both Blender and Unreal Engine via AI agents using the MCP (Machine Control Protocol) approach.
            Last updated -
            Python
            • Linux
            • Apple

          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