Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
pip install -rConfig
{
"mcpServers": {
"binary_ninja_mcp": {
"command": "/ABSOLUTE/PATH/TO/Binary Ninja/plugins/repositories/community/plugins/fosdickio_binary_ninja_mcp/.venv/bin/python",
"args": [
"/ABSOLUTE/PATH/TO/Binary Ninja/plugins/repositories/community/plugins/fosdickio_binary_ninja_mcp/bridge/binja_mcp_bridge.py"
]
}
}
}Exposed MCP Tools (7)
decompile_functionDecompiles a function by name or address, returning HLIL-like code.
Read-only operation that retrieves decompiled code.
get_assembly_functionRetrieves the assembly representation of a function by name or address.
Read-only operation that retrieves assembly code.
define_typesAdds type definitions from a C string type definition.
Modifies the binary analysis by adding type information.
make_function_atCreates a function at a specified address.
Can create new functions, potentially altering program control flow.
get_xrefs_toGet all cross references (code and data) to an address.
Read-only operation that retrieves cross-reference information.
get_commentGet the comment at a specific address.
Read-only operation that retrieves comments.
delete_commentDelete the comment at a specific address.
Deletes a comment at a specific address.
Safety Assessment
Binary Ninja MCP is generally safe for reverse engineering tasks when used with caution. The read-only operations pose minimal risk, but users should exercise care when using tools that modify the binary analysis or create new functions. It is risky if combined with an untrusted LLM that could generate malicious modifications.
- Primarily focuses on reverse engineering tasks.
- Requires user interaction to initiate actions.
- No direct internet access from the core plugin.
- Most operations are read-only, retrieving information from the binary.
- Includes tools that can modify the binary analysis (e.g., adding comments, defining types).
- Potential for misuse if combined with unrestricted LLM prompts.
- Requires careful handling of user-defined types and comments to avoid unintended consequences.
- The `make_function_at` tool could lead to unexpected code execution if used improperly.
