Binary Ninja Cline MCP Server
二进制_ninja_cline_mcp
适用于 Cline 的 MCP 服务器,可与 Binary Ninja(个人许可证)配合使用
此存储库包含一个 MCP 服务器,允许 Cline 使用 Binary Ninja 分析二进制文件。注意:并非所有文件都会被使用,此外还有一个使用无头 Binary Ninja 的原型,但我的许可证是个人许可证,所以无法测试。
设置
安装最新的 Binary Ninja MCP 插件https://github.com/fosdickio/binary\_ninja\_mcp
打开您的二进制文件并从 Binary Ninja 内部启动 MCP 服务器。
打开终端并运行 python binary_ninja_mcp_http_server.py --port 8088
打开另一个终端并运行
npm start打开Cline并添加以下工具:{示例:
{
"mcpServers": {
"BN MCP": {
"command": "node",
"args": ["/home/matteius/binary_ninja_cline/bn_cline_mcp/binaryninja-mcp-bridge.js"],
"env": {
"BN_HTTP_SERVER": "http://localhost:8088"
},
"autoApprove": [],
"disabled": false,
"timeout": 30
}
}
}
Available Tools
4 toolsdecompile_functionC
Decompile a function to C
Inputs: path (required), function (required).
disassemble_functionC
Disassemble a function from a binary
Inputs: path (required), function (required).
get_binary_infoC
Get binary metadata
Inputs: path (required).
list_functionsC
List functions in a binary
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: decompile_function produces C code, disassemble_function outputs assembly, get_binary_info retrieves metadata, and list_functions enumerates functions. There is no overlap in functionality, making tool selection unambiguous.
All tools follow a consistent verb_noun pattern with snake_case (e.g., decompile_function, disassemble_function). The naming is predictable and readable throughout the set.
With 4 tools, the count is reasonable for a binary analysis server, covering core operations like listing, disassembling, decompiling, and metadata retrieval. It might benefit from additional tools (e.g., for editing or searching), but it's well-scoped for basic tasks.
The tools cover fundamental read-only operations for binary analysis (list, disassemble, decompile, info), but there are notable gaps such as no tools for modifying binaries, searching for patterns, or handling symbols. This limits advanced workflows but supports basic inspection.
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Large Language Models to interact with Binary Ninja for reverse engineering tasks like viewing assembly code, decompiled code, renaming functions, and adding comments.3MIT
- AlicenseAqualityCmaintenanceA multi-backend MCP server that exposes binary analysis capabilities from IDA Pro and Ghidra, allowing LLMs to directly drive reverse-engineering tools via natural language.11181Apache 2.0
- AlicenseNot gradedqualityBmaintenanceAn enterprise-grade MCP server for AI-powered reverse engineering. Enables AI agents to perform comprehensive binary analysis through natural language commands.115 PyPI224MIT
- FlicenseCqualityDmaintenanceA radare2 MCP server for binary analysis and reverse engineering, enabling AI agents to interact with radare2 through natural language or structured commands for tasks like static analysis, debugging, and patching.4315-