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 번역)

AI 보조자가 역설계 및 이진 분석 작업을 위해 IDA Pro와 상호작용할 수 있도록 하는 모델 컨텍스트 프로토콜(MCP) 서버입니다.

개요

이 프로젝트는 AI 어시스턴트와 소프트웨어 역설계에 사용되는 인기 있는 디스어셈블러 및 디버거인 IDA Pro를 연결하는 역할을 합니다. 세 가지 주요 구성 요소로 구성됩니다:

  1. IDA Pro 원격 제어 플러그인 (ida_remote_server.py): IDA Pro 기능을 원격으로 제어할 수 있는 HTTP 서버를 생성하는 IDA Pro 플러그인입니다.
  2. IDA 원격 클라이언트 (idaremoteclient.ts): IDA Pro 원격 제어 서버와 상호작용하는 TypeScript 클라이언트입니다.
  3. MCP 서버 (index.ts): AI 어시스턴트에 IDA Pro 기능을 노출하는 모델 컨텍스트 프로토콜 서버입니다.

특징

  • AI 어시스턴트에서 IDA Pro에서 파이썬 스크립트를 실행하기
  • 이진법에 대한 정보 검색:
  • 현악기
  • 수입
  • 수출
  • 기능
  • 고급 이진 분석 기능:
  • 명령어에서 즉시 값을 찾기
  • 이진 내 텍스트 문자열 검색
  • 특정 바이트 시퀀스 탐색
  • 주소 범위에 대한 디스어셈블리
  • 표준화된 인터페이스를 통해 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": {} } } }