Skip to main content
Glama
Binary Ninja Cline MCP Server

Binary Ninja Cline MCP Server

by opensensor

二进制_ninja_cline_mcp

适用于 Cline 的 MCP 服务器,可与 Binary Ninja(个人许可证)配合使用

此存储库包含一个 MCP 服务器,允许 Cline 使用 Binary Ninja 分析二进制文件。注意:并非所有文件都会被使用,此外还有一个使用无头 Binary Ninja 的原型,但我的许可证是个人许可证,所以无法测试。

设置

  1. 安装最新的 Binary Ninja MCP 插件https://github.com/fosdickio/binary\_ninja\_mcp

  2. 打开您的二进制文件并从 Binary Ninja 内部启动 MCP 服务器。

  3. 打开终端并运行 python binary_ninja_mcp_http_server.py --port 8088

  4. 打开另一个终端并运行npm start

  5. 打开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 tools
decompile_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

    B3.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count4/5

    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.

    Completeness3/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      A 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.
      11
      181
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      An enterprise-grade MCP server for AI-powered reverse engineering. Enables AI agents to perform comprehensive binary analysis through natural language commands.
      115 PyPI
      224
      MIT
    • F
      license
      C
      quality
      D
      maintenance
      A 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.
      43
      15
      -