Skip to main content
Glama

Binary Ninja MCP Server

by rsprudencio

バイナリ忍者MCPサーバー

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

概要

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

  • 関数のアセンブリコードを取得する
  • 関数のデコンパイルされたコード(HLIL)を取得する
  • 関数と変数の名前を変更する
  • コメントを追加する

インストール

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 ファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

アセンブリ コードや逆コンパイルされたコードの表示、関数の名前変更、コメントの追加などのリバース エンジニアリング タスクのために、大規模言語モデルが Binary Ninja と対話できるようにするモデル コンテキスト プロトコル サーバー。

  1. 概要
    1. インストール
      1. uvの使用(推奨)
      2. PIPの使用
      3. Binary Ninjaプラグインのインストール
    2. 構成
      1. Claude Desktop/Cursor での使用
    3. 使用法
      1. 利用可能なコマンド
        1. 発達
          1. ライセンス

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
              Last updated -
              12
              Python
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides integration with Jira, allowing Large Language Models to interact with Jira projects, boards, sprints, and issues through natural language.
              Last updated -
              5
              87
              2
              TypeScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables large language models to interact with Linear's issue tracking system, allowing management of issues, projects, teams, and other Linear resources.
              Last updated -
              TypeScript
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.
              Last updated -
              • Apple

            View all related MCP servers

            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