Cossack9989/binwalk-mcp-server
3.3
If you are the rightful owner of binwalk-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Binwalk MCP Server is a robust Model Context Protocol server designed for advanced firmware analysis using binwalk and related tools.
Tools
6
Resources
0
Prompts
0
Binwalk MCP Server
A powerful Model Context Protocol (MCP) server that provides advanced firmware analysis capabilities using binwalk and related tools. This server enables AI assistants to analyze, extract, and inspect firmware images with comprehensive tooling support.
Features
- Firmware Analysis: Identify file types and analyze firmware structures
- Hexdump Generation: Generate readable hex dumps of firmware regions
- Partition Mapping: Discover and map all partitions within firmware images
- Extraction: Extract firmware contents with optional recursive analysis
- File Type Detection: Identify file types of extracted components using Magika
- Entropy Analysis: Calculate data entropy to detect encryption/compression
- Comprehensive Tooling: Integrated support for multiple firmware analysis tools
Installation
Prerequisites
chmod +x setup.sh
./setup.sh
Usage
fastmcp run server.py:mcp --transport sse --host 0.0.0.0 --port 8000
Available Tools
The server provides the following tools for firmware analysis:
- File Type Identification
get_file_type_from_file
: Identify file type from a local file pathget_file_type_from_bytes
: Identify file type from binary data
- Firmware Mapping
get_mapping
: Get partition mapping of firmware using binwalk
- Hexdump Analysis
get_hexdump
: Generate hexdump of specific firmware regions
- Extraction
extract
: Extract firmware contents with optional recursive analysis
- File Enumeration
list_all_files
: List all files extracted by binwalk with their types
- Entropy Analysis
calculate_entropy
: Calculate entropy of binary data (0.0-1.0 scale)