loading…
Search for a command to run...
loading…
Enables binary comparison capabilities by leveraging IDA Pro and BinDiff to analyze similarities and differences between files. Users can perform automated func
Enables binary comparison capabilities by leveraging IDA Pro and BinDiff to analyze similarities and differences between files. Users can perform automated function analysis to identify changed functions and compare original binaries against patched versions.
A Model Context Protocol (MCP) server that provides binary comparison capabilities using IDA Pro and BinDiff.
.deb package (e.g., bindiff_8_amd64.deb) from the official releases.sudo dpkg -i bindiff_8_amd64.deb
which bindiff
The tool attempts to auto-detect IDA and BinDiff. You can override these by setting environment variables or editing src/config.py.
IDADIR: Path to IDA installation (e.g., /Applications/IDA91/IDA Professional 9.1.app/Contents/MacOS).BINDIFF_PATH: Path to bindiff binary (e.g., /usr/local/bin/bindiff)./opt/idapro-9.1).IDADIR: Required. Set to your IDA installation base directory containing libidalib.so (e.g., /opt/idapro-9.1).BINDIFF_PATH: Path to bindiff executable (default checks $PATH).idalib is present in $IDADIR/idalib.IDADIR: Path to the IDA Pro installation directory (containing idat and idalib).BINDIFF_PATH: Path to the bindiff executable.MCP_TIMEOUT: Timeout for analysis steps in seconds (default: 3600).uv:uv sync
Start the server in SSE mode so it can be accessed by remote or local clients via HTTP:
Linux (Docker/Server):
IDADIR=/app/ida-pro-9.1 BINDIFF_PATH=/usr/bin/bindiff uv run bindiff-mcp --transport sse --host 0.0.0.0 --port 8001
macOS:
IDADIR="/Applications/IDA91/IDA Professional 9.1.app/Contents/MacOS" BINDIFF_PATH=/usr/local/bin/bindiff uv run bindiff-mcp --transport sse --host 0.0.0.0 --port 8001
Configure your MCP client to connect via the /sse endpoint:
{
"mcpServers": {
"bindiff-mcp": {
"type": "remote",
"url": "http://127.0.0.1:8001/sse"
}
}
}
src/server.py: Main MCP server entry point.src/core/: Core logic for IDA export, BinDiff execution, and parsing.src/config.py: Configuration handling.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"bindiff-mcp-tool": {
"command": "npx",
"args": []
}
}
}