ZI

zboralski/ida-headless-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 1 forks 质量 67 趋势 4MIT

zboralski/ida-headless-mcp 是从 https://github.com/zboralski/ida-headless-mcp. 导入的 MCP 服务器候选服务器。

概览

zboralski/ida-headless-mcp 是从 https://github.com/zboralski/ida-headless-mcp. 导入的 MCP 服务器候选服务器。

概述(AI 翻译)

通过模型上下文协议进行无头IDA Pro二进制分析。Go负责多会话并发编排,而Python工作者负责IDA操作。

建筑

主要功能:

  • 通过进程隔离实现多会话并发
  • 52 二元分析的MCP工具
  • 自动会话超时(默认4小时,可配置)
  • 分页结果,可配置限制(默认1000)
  • Unity游戏的Il2CppDumper元数据导入
  • 为Flutter/Dart应用导入unflutter元数据

先修条件

  1. IDA Pro 9.0+ 或 IDA Essential 9.2+

  2. idalib:安装并激活:

请参见IDA作为图书馆文档。

  1. Go 1.21+ with protoc tools:

  2. Python 3.10+ 带有依赖关系:

  3. 可选:Il2CppDumper用于Unity游戏分析

  4. 可选:unflutter用于Flutter/Dart应用分析

安装

它运行idalib设置,安装Python依赖,并构建服务器。

手动设置或排查问题:

用途

启动服务器

服务器开始在端口17300运行(可通过config.json、环境或--port配置),暴露了两个传输端口:

  • 可流式HTTP(推荐):http://localhost:17300/

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

IDA Headless MCP Server

Headless IDA Pro binary analysis via Model Context Protocol. Go orchestrates multi-session concurrency while Python workers handle IDA operations.

Architecture

┌─────────────────┐
│  MCP Client     │  Claude Desktop, Claude Code, CLI
│  (HTTP/SSE)     │
└────────┬────────┘
         │ http://localhost:17300/
         ▼
┌─────────────────┐
│   Go Server     │  Session registry, worker manager, watchdog
│   (MCP Tools)   │
└────────┬────────┘
         │ Connect RPC over Unix socket
         ▼
┌─────────────────┐
│ Python Worker   │  IDA + idalib (one per session)
│ (per session)   │
└─────────────────┘

Key features:

  • Multi-session concurrency via process isolation
  • 52 MCP tools for binary analysis
  • Automatic session timeouts (4 hours default, configurable)
  • Paginated results with configurable limit (default 1000)
  • Il2CppDumper metadata import for Unity games
  • unflutter metadata import for Flutter/Dart apps

Prerequisites

  1. IDA Pro 9.0+ or IDA Essential 9.2+

  2. idalib: install and activate:

    ./scripts/setup_idalib.sh
    

    See IDA as a Library documentation.

  3. Go 1.21+ with protoc tools:

    make install-tools
    
  4. Python 3.10+ with dependencies:

    pip3 install -r python/requirements.txt
    
  5. Optional: Il2CppDumper for Unity game analysis

  6. Optional: unflutter for Flutter/Dart app analysis

    # Install unflutter (provides flutter_meta.json for import_flutter)
    git clone https://github.com/zboralski/unflutter.git
    cd unflutter && make install
    

Installation

git clone 
cd ida-headless-mcp
make setup

This runs idalib setup, installs Python dependencies, and builds the server.

For manual setup or troubleshooting:

./scripts/setup_idalib.sh   # Setup idalib (requires IDA Pro/Essential 9.x)
make install-python         # Install Python dependencies
make build                  # Build Go server

Usage

Start Server

./bin/ida-mcp-server

Server starts running on port 17300 (configurable via config.json, env, or --port), exposing both transports:

  • Streamable HTTP (recommended): http://localhost:17300/
  • SSE compatibility endpoint: http://localhost:17300/sse

Configure Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ida-headless": {
      "url": "http://127.0.0.1:17300/",
      "type": "http"
    }
  }
}

Restart Claude Desktop after editing.

Configure Claude Code

Copy .claude/settings.json to ~/.claude/settings.json to grant access to all IDA MCP tools.

Basic Workflow

1. open_binary(path="/path/to/binary.so")
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "ida-headless": { "url": "http://127.0.0.1:17300/", "type": "http" } } }