Back to MCP directory
publicPublicdnsLocal runtime

bn_cline_mcp

为Cline提供Binary Ninja分析的MCP服务器

article

README

🚀 二进制忍者命令行MCP服务器(个人版)

本项目是专门为Cline设计的Binary Ninja MCP服务器,适用于个人许可证用户。它允许Cline借助Binary Ninja开展二进制分析工作,为个人开发者提供便利。

🚀 快速开始

✨ 主要特性

  • 专为Cline设计的Binary Ninja MCP服务器,适配个人许可证。
  • 支持使用Binary Ninja进行二进制分析。

📦 安装指南

  1. 安装最新的Binary Ninja MCP插件:点击此处
  2. 在Binary Ninja中打开你的二进制文件,然后启动MCP服务器。
  3. 打开一个终端,运行以下命令启动HTTP服务器:
python binary_ninja_mcp_http_server.py --port 8088
  1. 打开另一个终端,运行以下命令:
npm start
  1. 打开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
        }
    }
}

⚠️ 重要提示

此仓库虽包含MCP服务器,但并非所有文件都会被使用,目前它还只是一个使用无头Binary Ninja的原型。由于许可证为个人版,暂时无法对其进行测试。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client