Skip to main content
Glama
berlinbra

Binary Reader MCP

バイナリリーダー MCP

バイナリファイルの読み取りと解析のためのモデルコンテキストプロトコルサーバー。このサーバーは、様々なバイナリファイル形式の読み取りと解析のためのツールを提供し、Unreal Engineアセットファイル(.uasset)を初期サポートしています。

特徴

  • Unreal Engine の .uasset ファイルを読み取って分析する

  • バイナリファイルのメタデータと構造を抽出する

  • ファイル形式の自動検出

  • 新しいバイナリ形式のサポートを追加するための拡張可能なアーキテクチャ

Related MCP server: File Operations MCP Server

インストール

  1. リポジトリをクローンします。

git clone https://github.com/berlinbra/binary-reader-mcp.git
cd binary-reader-mcp
  1. 仮想環境を作成してアクティブ化します。

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. 依存関係をインストールします:

pip install -r requirements.txt

使用法

サーバーは、モデル コンテキスト プロトコルを通じていくつかのツールを提供します。

1. Unreal Assetファイルを読む

# Example usage through MCP
tool: read-unreal-asset
arguments:
    file_path: "path/to/your/asset.uasset"

2. 一般的なバイナリファイルを読む

# Example usage through MCP
tool: read-binary-metadata
arguments:
    file_path: "path/to/your/file.bin"
    format: "auto"  # or "unreal", "custom"

発達

プロジェクト構造

binary-reader-mcp/
├── README.md
├── requirements.txt
├── main.py
├── src/
│   ├── __init__.py
│   ├── binary_reader/
│   │   ├── __init__.py
│   │   ├── base_reader.py
│   │   ├── unreal_reader.py
│   │   └── utils.py
│   ├── api/
│   │   ├── __init__.py
│   │   ├── routes.py
│   │   └── schemas.py
│   └── config.py
└── tests/
    ├── __init__.py
    ├── test_binary_reader.py
    └── test_api.py

新しいバイナリ形式のサポートの追加

新しいバイナリ形式のサポートを追加するには:

  1. BinaryReaderを継承する新しいリーダークラスを作成します。

  2. 必要なメソッド( read_headerread_metadata )を実装する

  3. フォーマット自動検出ロジックに新しいフォーマットを追加する

  4. ツールリストを更新して新しい形式を追加します

貢献

  1. リポジトリをフォークする

  2. 機能ブランチを作成します( git checkout -b feature/amazing-feature

  3. 変更をコミットします ( git commit -m 'Add some amazing feature' )

  4. ブランチにプッシュする ( git push origin feature/amazing-feature )

  5. プルリクエストを開く

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

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

Latest Blog Posts

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/berlinbra/binary-reader-mcp'

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