FM

fdrechsler/mcp-server-idapro

Developer tools

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

103 stars 27 forks 品質 65 トレンド 15MIT

fdrechsler/mcp-server-idapro は、https://github.com/fdrechsler/mcp-server-idapro. からインポートされたMCPサーバー候補です。

概要

fdrechsler/mcp-server-idapro は、https://github.com/fdrechsler/mcp-server-idapro. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)サーバーで、AIアシスタントがIDA Proとリバースエンジニアリングやバイナリ解析タスクで連携できるようにします。

概要

このプロジェクトは、AIアシスタントと、ソフトウェアのリバースエンジニアリングに使われる人気の逆アセンブラ・デバッガであるIDA Proとの橋渡し役を担っています。このプロジェクトは主に3つのコンポーネントで構成されています。

  1. IDA Pro リモートコントロールプラグイン(ida_remote_server.py):IDA Proの機能を遠隔操作するHTTPサーバーを作成するIDA Proプラグインです。
  2. IDAリモートクライアント(idaremoteclient.ts):IDA Proリモートコントロールサーバーとやり取りするためのTypeScriptクライアントです。
  3. MCPサーバー(index.ts):IDA Proの機能をAIアシスタントに公開するモデルコンテキストプロトコルサーバーです。

特徴

  • AIアシスタントからIDA ProでPythonスクリプトを実行する
  • バイナリに関する情報取得:
  • 弦
  • 輸入
  • 輸出
  • 機能
  • 高度な二値解析機能:
  • 命令内の即時値を検索する
  • バイナリ内のテキスト文字列検索
  • 特定のバイトシーケンスを検索
  • アドレス範囲のディスアセンブリ取得
  • 標準化されたインターフェースを通じてIDA Proの運用を自動化
  • コンポーネント間の安全な通信

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

README

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

IDA Pro MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to interact with IDA Pro for reverse engineering and binary analysis tasks.

Overview

This project provides a bridge between AI assistants and IDA Pro, a popular disassembler and debugger used for reverse engineering software. It consists of three main components:

  1. IDA Pro Remote Control Plugin (ida_remote_server.py): An IDA Pro plugin that creates an HTTP server to remotely control IDA Pro functions.
  2. IDA Remote Client (idaremoteclient.ts): A TypeScript client for interacting with the IDA Pro Remote Control Server.
  3. MCP Server (index.ts): A Model Context Protocol server that exposes IDA Pro functionality to AI assistants.

Features

  • Execute Python scripts in IDA Pro from AI assistants
  • Retrieve information about binaries:
    • Strings
    • Imports
    • Exports
    • Functions
  • Advanced binary analysis capabilities:
    • Search for immediate values in instructions
    • Search for text strings in the binary
    • Search for specific byte sequences
    • Get disassembly for address ranges
  • Automate IDA Pro operations through a standardized interface
  • Secure communication between components

Prerequisites

  • IDA Pro 8.3 or later
  • Node.js 18 or later
  • TypeScript

Example usage ida_remote_server.py

curl -X POST -H "Content-Type: application/json" -d '{"script":"print(\"Script initialization...\")"}' http://127.0.0.1:9045/api/execute
{"success": true, "output": "Script initialization...\n"}

Example usage MCP Server

Installation

1. Install the IDA Pro Remote Control Plugin

  1. Copy ida_remote_server.py to your IDA Pro plugins directory:

    • Windows: %PROGRAMFILES%\IDA Pro\plugins
    • macOS: /Applications/IDA Pro.app/Contents/MacOS/plugins
    • Linux: /opt/idapro/plugins
  2. Start IDA Pro and open a binary file.

  3. The plugin will automatically start an HTTP server on 127.0.0.1:9045.

2. Install the MCP Server

  1. Clone this repository:

    git clone 
    cd ida-server
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    
  4. Configure the MCP server in your AI assistant’s MCP settings file:

    {
      "mcpServers": {
        "ida-pro": {
          "command": "node",
          "args": ["path/to/ida-server/dist/index.js"],
          "env": {}
        }
      }
    }
    

Usage

Once installed and configured, the MCP server provides the following tool to AI assistants:

run_ida_command

Executes an IDA Pro Python script.

Parameters:

  • scriptPath (required): Absolute path to the script file to execute
GitHub で README 全文を見る

インストール

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

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

設定

{ "mcpServers": { "ida-pro": { "command": "node", "args": ["path/to/ida-server/dist/index.js"], "env": {} } } }