Model Context Protocol server for reading and analyzing binary files
A Model Context Protocol server for reading and analyzing binary files. This server provides tools for reading and analyzing various binary file formats, with initial support for Unreal Engine asset files (.uasset).
git clone https://github.com/berlinbra/binary-reader-mcp.git
cd binary-reader-mcp
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
The server provides several tools through the Model Context Protocol:
## Example usage through MCP
tool: read-unreal-asset
arguments:
file_path: "path/to/your/asset.uasset"
## 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
To add support for a new binary format:
BinaryReaderread_header, read_metadata)git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.