Binary Ninja Cline MCP Server
バイナリ_ninja_cline_mcp
Binary Ninja (個人ライセンス) で動作する Cline 用の MCP サーバー
このリポジトリには、ClineがBinary Ninjaを使ってバイナリを解析できるMCPサーバーが含まれています。注:すべてのファイルが使用されるわけではありません。ヘッドレスBinary Ninjaを使用するプロトタイプもありますが、私のライセンスはPersonalなのでテストできません。
設定
Binary Ninja MCP プラグインの最新版をインストールしますhttps://github.com/fosdickio/binary\_ninja\_mcp
バイナリを開き、Binary Ninja 内から MCP サーバーを起動します。
ターミナルを開き、pythonbinary_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-