re-kaitai
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@re-kaitaiDecode this firmware blob"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
re-kaitai
MCP server exposing Kaitai Struct for custom binary format reverse engineering.
Tools
Tool | What it does |
| Confirm kaitai-struct-compiler is installed |
| List bundled .ksy formats |
| Download a .ksy from the kaitai-formats gallery |
| Compile .ksy → Python at runtime |
| Parse a binary with a compiled or precompiled format |
| Same as parse_with_format, named for the intent |
| Parse two files and return a structural diff |
Related MCP server: mcp-pwntools
Install
# System dependency
brew install kaitai-struct-compiler # macOS
scoop install kaitai-struct-compiler # Windows
# Linux: download prebuilt from https://github.com/kaitai-io/kaitai_struct_compiler/releases
# Python
pip install kaitaistruct
pip install -e ./servers/re-kaitaiUsage pattern (in Claude Code)
1. "Decode this firmware blob"
2. Claude identifies the file magic (e.g. LZMA header)
3. Claude downloads the matching .ksy: download_format("lzma")
4. Claude compiles: compile_format("/path/lzma.ksy")
5. Claude parses: parse_with_format(path="/path/blob", ksy_path="/path/lzma.ksy")
6. Claude inspects the parse tree, iterates on the .ksy, re-parsesThe Kaitai workflow is iterative: compile → parse → fix the schema → re-compile → parse again.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/Heretek-RE/re-kaitai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server