TI

taida957789/ida-mcp-server-plugin

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

191 stars 34 forks 品質 65 トレンド 17MIT

taida957789/ida-mcp-server-plugin は、[[T0]からインポートされたMCPサーバー候補です。

概要

taida957789/ida-mcp-server-plugin は、[[T0]からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

IDA Pro MCP Serverは、Model Context Protocol(MCP)インターフェースを通じてIDA Proのリモートクエリと制御を可能にするプラグインです。このプラグインは、ClaudeのようなAIアシスタントがIDA Proと直接やり取りし、バイナリ解析作業を行うことを可能にします。

概要

このサーバーは、AIアシスタントが以下の操作を行うための一連のツールを提供しています:

  • 特定のアドレスからバイトデータを取得
  • ディスアセンブルコードを取得する
  • デコンパイルされた疑似コードを取得する
  • クエリ関数名
  • セグメント情報の取得
  • すべての関数をリストアップ
  • 相互参照の検索
  • インポート/エクスポートテーブルの取得
  • 侵入ポイントを確保
  • 関数の定義/非定義
  • さまざまなデータ型(dword、word、byte、qword、float、double、string)を取得する
  • バイナリファイル内のすべての文字列を取得する
  • 指定されたアドレスでの命令の長さを取得する

設置

注: このプラグインはIDA Proバージョン9.0+向けに設計され、テストされています。

  1. Pythonおよび関連する依存関係がインストールされていることを確認する:

  2. ida-mcp-server.pyファイルをIDA Proプラグインディレクトリにコピーします:

  • ウィンドウ:%Programfiles%\IDA Pro 9.0\plugins\
  • Linux:~/.idapro/plugins/
  • macOS: ~/Library/Application Support/IDA Pro/plugins/

Configure Claude / VSCode

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

IDA Pro MCP Server

IDA Pro MCP Server is a plugin that allows remote querying and control of IDA Pro through the Model Context Protocol (MCP) interface. This plugin enables AI assistants (such as Claude) to interact directly with IDA Pro for binary analysis tasks.

Overview

This server provides a series of tools that allow AI assistants to perform the following operations:

  • Get byte data from specific addresses
  • Get disassembly code
  • Get decompiled pseudocode
  • Query function names
  • Get segment information
  • List all functions
  • Find cross-references
  • Get import/export tables
  • Get entry points
  • Define/undefine functions
  • Get various data types (dword, word, byte, qword, float, double, string)
  • Get all strings in the binary file
  • Get the length of the instruction at the specified address

Installation

Note: This plugin is designed for and tested with IDA Pro version 9.0+.

  1. Ensure Python and related dependencies are installed:
pip install -r requirements.txt
  1. Copy the ida-mcp-server.py file to the IDA Pro plugins directory:
    • Windows: %Programfiles%\IDA Pro 9.0\plugins\
    • Linux: ~/.idapro/plugins/
    • macOS: ~/Library/Application Support/IDA Pro/plugins/

Configure Claude / VSCode

Add the following configuration to the mcp.json file in Claude or VSCode:

{
  "mcpServers": {
    "IDAPro": {
      "url": "http://127.0.0.1:3000/sse",
      "type": "sse"
    }
  }
}

Usage

  1. Open a binary file in IDA Pro
  2. The plugin will automatically load and start the MCP server locally (port 3000)
  3. Connect your AI assistant (e.g., Claude) to this server
  4. Use the AI assistant to perform binary analysis tasks

Available Analysis Tools

IDA Pro MCP Server provides the following tools:

  • get_bytes: Get bytes at a specified address
  • get_disasm: Get disassembly at a specified address
  • get_decompiled_func: Get pseudocode of the function containing the specified address
  • get_function_name: Get function name at a specified address
  • get_segments: Get all segment information
  • get_functions: Get all functions in the binary
  • get_xrefs_to: Get all cross-references to a specified address
  • get_imports: Get all imported functions
  • get_exports: Get all exported functions
  • get_entry_point: Get the entry point of the binary
  • make_function: Create a function at a specified address
  • undefine_function: Undefine a function at a specified address
  • get_dword_at: Get the dword at a specified address
  • get_word_at: Get the word at a specified address
  • get_byte_at: Get the byte at a specified address
  • get_qword_at: Get the qword at a specified address
  • get_float_at: Get the float at a specified address
  • get_double_at: Get the double at a specified address
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "IDAPro": { "url": "http://127.0.0.1:3000/sse", "type": "sse" } } }