Skip to main content
Glama
rsprudencio

Binary Ninja MCP Server

by rsprudencio

バイナリ忍者MCPサーバー

Binary Ninjaとの連携と自動化のためのモデルコンテキストプロトコルサーバー。このサーバーは、大規模言語モデルを介してBinary Ninjaと連携するためのツールを提供します。

概要

Binary Ninja MCPサーバーは、大規模言語モデルがモデルコンテキストプロトコル(MCP)を介してBinary Ninjaとやり取りできるようにするプラグインおよびサーバー実装です。以下の機能を提供します。

  • 関数のアセンブリコードを取得する

  • 関数のデコンパイルされたコード(HLIL)を取得する

  • 関数と変数の名前を変更する

  • コメントを追加する

Related MCP server: IDA Pro MCP Server

インストール

uvの使用(推奨)

uvを使用する場合、特別なインストールは必要ありません。 binja_mcp を直接実行するためにuvxを使用します。

PIPの使用

あるいは、pip 経由でbinja-mcpをインストールすることもできます。

pip install binja-mcp

インストール後、次のコマンドを使用してスクリプトとして実行できます。

python -m binja_mcp

Binary Ninjaプラグインのインストール

このリポジトリをクローンするか、クローンしたリポジトリを Binary Ninja のプラグイン ディレクトリにリンクします。

  • Linux: ~/.binaryninja/plugins/

  • macOS: ~/Library/Application Support/Binary Ninja/plugins/

  • Windows: %APPDATA%\Binary Ninja\plugins\

構成

Claude Desktop/Cursor での使用

これをclaude_desktop_config.jsonまたは Cursor MCP サーバーに追加します。

"mcpServers": {
  "binja": {
    "command": "uvx",
    "args": [
        "-n",
        "mcp-server-binja"
    ]
  }
}
"mcpServers": {
  "binja": {
    "command": "python",
    "args": [
        "-m", 
        "mcp_server_binja"
    ]
  }
}

使用法

  1. Binary Ninjaを開いてバイナリをロードする

  2. ツールメニューまたはキーボードショートカットを使用してMCPサーバーを起動します。

  3. Claude Desktop、Cursor、またはお好みのMCPクライアントを使用してバイナリと対話します。

利用可能なコマンド

MCP インターフェイスを通じて次のコマンドが使用できます。

  • binja_get_function_assembly : 名前付き関数のアセンブリコードを取得する

  • binja_get_function_decompiled : 名前付き関数のデコンパイルされたコードを取得する

  • binja_get_global_variable : グローバル変数に関する情報を取得する

  • binja_get_current_function_assembly : 現在の関数のアセンブリを取得する

  • binja_get_current_function_decompiled : 現在の関数のデコンパイルされたコードを取得する

発達

ローカル開発を行っている場合、変更をテストする方法は 2 つあります。

  1. MCP インスペクターを実行して変更をテストします。

npx @modelcontextprotocol/inspector uvx binja_mcp
  1. claude_desktop_config.jsonに次のコードを追加して、Claude デスクトップ アプリの使用をテストします。

{
  "mcpServers": {
    "binja": {
      "command": "uv",
      "args": [ 
        "--directory",
        "/<path to mcp-server-binja>/src",
        "run",
        "mcp-server-binja"
      ]
    }
  }
}

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A server that enables seamless integration of Binary Ninja's reverse engineering capabilities with LLM assistance, allowing AI tools like Claude to interact with binary analysis features in real-time.
    417
    GPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that allows LLMs to autonomously reverse engineer applications by exposing Ghidra's functionality, including decompiling binaries, analyzing code, and renaming methods and data.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • A Model Context Protocol server for Wix AI tools

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to control Unreal E…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rsprudencio/binja_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server