
一个包含MCP服务器的二进制忍者插件,使你能够与你最喜欢的LLM/MCP客户端无缝集成。
概览
该仓库包含 Binary Ninja 插件、MCP 服务器和桥接器,使 Binary Ninja 的功能能够无缝集成到您喜欢的 LLM 客户端。 - Binary Ninja 与 MCP 客户端之间的无缝实时集成 - 增强的逆向工程工作流程并辅以 AI 辅助 - 支持所有 MCP 客户端(Cline、Claude 桌面、Roo Code 等)- 打开多个二进制文件并自动切换活跃目标 看看YouTube上的演示视频,用这个扩展解决夺旗挑战。 该仓库包含两个独立组件: 1. 一个 Binary Ninja 插件,提供一个 MCP 服务器,通过 HTTP 端点展示 Binary Ninja 的功能。该插件可与任何实现 MCP 协议的客户端一起使用。2. 一个独立的 MCP 桥接组件,将你最喜欢的 MCP 客户端连接到 Binary Ninja MCP 服务器。 - 二进制忍者 - Python 3。
概述(AI 翻译)
该仓库包含 Binary Ninja 插件、MCP 服务器和桥接器,使 Binary Ninja 的功能能够无缝集成到您喜欢的 LLM 客户端。
特色
- Binary Ninja 与 MCP 客户端之间的无缝实时集成
- 增强的逆向工程工作流程,辅以人工智能辅助
- 支持所有 MCP 客户端(Cline、Claude 桌面、Roo Code 等)
- 打开多个二进制并自动切换活跃目标
示例
解决夺旗挑战
看看YouTube上的演示视频,用这个扩展解决夺旗挑战。
组成部分
该仓库包含两个独立组件:
- 一个二进制忍者插件,提供一个MCP服务器,通过HTTP端点暴露二进制忍者的功能。该插件可与任何实现MCP协议的客户端使用。
- 一个独立的MCP桥接组件,将你最喜欢的MCP客户端连接到Binary Ninja MCP服务器。
先修条件
- 二进制忍者
- Python 3.12+
- MCP客户端(支持自动设置的客户端如下)
安装
MCP客户端
请在安装 Binary Ninja MCP 之前先安装 MCP 客户端,以便自动设置 MCP 客户端。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Binary Ninja MCP
This repository contains a Binary Ninja plugin, MCP server, and bridge that enables seamless integration of Binary Ninja’s capabilities with your favorite LLM client.
Features
- Seamless, real-time integration between Binary Ninja and MCP clients
- Enhanced reverse engineering workflow with AI assistance
- Support for every MCP client (Cline, Claude desktop, Roo Code, etc.)
- Open multiple binaries and switch the active target automatically
Examples
Solving a CTF Challenge
Check out this demo video on YouTube that uses the extension to solve a CTF challenge.
Components
This repository contains two separate components:
- A Binary Ninja plugin that provides an MCP server that exposes Binary Ninja’s capabilities through HTTP endpoints. This can be used with any client that implements the MCP protocol.
- A separate MCP bridge component that connects your favorite MCP client to the Binary Ninja MCP server.
Prerequisites
- Binary Ninja
- Python 3.12+
- MCP client (those with auto-setup support are listed below)
Installation
MCP Client
Please install the MCP client before you install Binary Ninja MCP so that the MCP clients can be auto-setup. We currently support auto-setup for these MCP clients:
1. Cline (recommended)
2. Roo Code
3. Claude Desktop (recommended)
4. Cursor
5. Windsurf
6. Claude Code
7. LM Studio
Extension Installation
After the MCP client is installed, you can install the MCP server using the Binary Ninja Plugin Manager or manually. Both methods support auto-setup of MCP clients.
If your MCP client is not set, you should install it first then try to reinstall the extension.
Binary Ninja Plugin Manager
You may install the extension through Binary Ninja’s Plugin Manager (Plugins > Manage Plugins).
Manual Install
To manually install the extension, this repository can be copied into the Binary Ninja plugins folder.
[Optional] Manual Setup of the MCP Client
You do NOT need to set this up manually if you use a supported MCP client and follow the installation steps before.
You can also manage MCP client entries from the command line:
python scripts/mcp_client_installer.py --install # auto setup supported MCP clients
python scripts/mcp_client_installer.py --uninstall # remove entries and delete `.mcp_auto_setup_done`
python scripts/mcp_client_installer.py --config # print a generic JSON config snippet
Using npm package (Recommended)
The recommended way to set up the MCP client is using the official npm package:
npx -y binary-ninja-mcp
For MCP clients, use this configuration:
{
"mcpServers": {
"binary-ninja-mcp": {
"command": "npx",
安装
npx -y binary-ninja-mcp --host localhost --port 9009配置
{
"mcpServers": {
"binary-ninja-mcp": {
"command": "npx",
"args": ["-y", "binary-ninja-mcp", "--host", "localhost", "--port", "9009"]
}
}
}