Headless IDA MCP Server

by cnitlrt
Verified

local-only server

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

Integrations

  • Uses environment variables for configuration, allowing users to customize server settings such as IDA paths, binary paths, and network options through a .env file

  • Uses Git for project installation, requiring users to clone the repository to set up the server

  • References GitHub repositories for core components including the original tools code and headless-ida library that the project builds upon

謝辞

このプロジェクトは、以下の作業に基づいて構築されています。

  • ツールコードは mrexodia のida-pro-mcpから改変しました
  • DennyDaiのheadless-idaライブラリを利用する

ヘッドレスIDA MCPサーバー

IDA プラグインを対話的に実行するのではなく、サーバーを CLI アプリとして直接実行する場合は、それを選択できます。

プロジェクトの説明

このプロジェクトは、IDA Pro のヘッドレス モードを使用してバイナリ ファイルを分析し、関数や変数などを管理および操作するためのツール スイートを MCP 経由で提供します。

前提条件

インストール

  1. プロジェクトをローカルに複製します。
    git clone https://github.com/cnitlrt/headless-ida-mcp-server.git cd headless-ida-mcp-server
  2. 依存関係をインストールします:
    uv python install 3.12 uv venv --python 3.12 uv pip install -e .

構成

  1. サンプル環境ファイルをコピーします。
    cp .env_example .env
  2. .envで次の環境変数を設定します。
    • IDA_PATH : IDA Pro のヘッドレス実行可能ファイル (idat) へのパス (例: /home/ubuntu/idapro/idat
    • PORT : MCPサーバーのポート番号(例: 8888
    • HOST : MCP サーバーのホスト アドレス (例: 127.0.0.1
    • TRANSPORT : MCPトランスポートモード( sseまたはstdio

使用法

  1. サーバーを起動します。
    uv run headless_ida_mcp_server
  2. MCP クライアントを使用してサーバーに接続します。デバッグします:
    npx -y @modelcontextprotocol/inspector
    または
    { "mcpServers": { "ida": { "command": "/path/to/uv", "args": ["--directory","path/to/headless-ida-mcp-server","run","headless_ida_mcp_server"] } } }

-
security - not tested
F
license - not found
-
quality - not tested

IDA Pro のヘッドレス モードを通じてリモート バイナリ分析機能を提供するサーバー。ユーザーは、マルチクライアント プロトコルを介して関数、変数、その他のバイナリ要素を管理および操作できます。

  1. Headless IDA MCP Server
    1. Project Description
    2. Prerequisites
    3. Installation
    4. Configuration
    5. Usage
ID: eh9p5e0v47