Headless IDA MCP Server

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

致谢

该项目建立在以下工作基础之上:

无头 IDA MCP 服务器

如果您想直接将服务器作为 cli 应用程序运行,而不是以交互方式运行 IDA 插件,您可以选择它。

项目描述

该项目使用 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 传输模式( ssestdio

用法

  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

local-only server

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

通过 IDA Pro 的无头模式提供远程二进制分析功能的服务器,允许用户通过多客户端协议管理和操作函数、变量和其他二进制元素。

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

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server for reading and analyzing binary files, with initial support for Unreal Engine asset files (.uasset).
    Last updated -
    Python
    • Linux
    • Apple
  • A
    security
    F
    license
    A
    quality
    A server that provides advanced mathematical and financial calculation capabilities for AI code assistants, enabling them to perform complex calculations like symbolic calculus, numerical methods, and financial analysis without implementing algorithms directly.
    Last updated -
    18
    1
    JavaScript
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server for IDA interaction and automation. This server provides tools to read IDA database via Large Language Models.
    Last updated -
    19
    415
    Python
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables AI assistants to interact with IDA Pro for reverse engineering and binary analysis tasks.
    Last updated -
    8
    14
    Python
    MIT License
    • Linux
    • Apple

View all related MCP servers

ID: eh9p5e0v47