Skip to main content
Glama
berlinbra

Binary Reader MCP

by berlinbra

二进制阅读器 MCP

用于读取和分析二进制文件的模型上下文协议 (MCP) 服务器。该服务器提供用于读取和分析各种二进制文件格式的工具,并初步支持虚幻引擎资源文件 (.uasset)。

特征

  • 读取并分析虚幻引擎.uasset 文件

  • 提取二进制文件元数据和结构

  • 自动检测文件格式

  • 用于添加新二进制格式支持的可扩展架构

Related MCP server: IDA Pro 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. 读取虚幻资源文件

# 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 文件。

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

View all MCP Connectors

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