Headless IDA MCP Server
致谢
该项目建立在以下工作基础之上:
工具代码改编自 mrexodia 的ida-pro-mcp
利用 DennyDai 的headless-ida库
无头 IDA MCP 服务器
如果您想直接将服务器作为 cli 应用程序运行,而不是以交互方式运行 IDA 插件,您可以选择它。
项目描述
该项目使用 IDA Pro 的无头模式来分析二进制文件,并通过 MCP 提供一套工具来管理和操作函数、变量等。
Related MCP server: idalib-mcp-headless
先决条件
Python 3.12 或更高版本
支持无头的 IDA Pro(idat) https://github.com/DennyDai/headless-ida
安装
克隆项目到本地:
git clone https://github.com/cnitlrt/headless-ida-mcp-server.git cd headless-ida-mcp-server安装依赖项:
uv python install 3.12 uv venv --python 3.12 uv pip install -e .
配置
复制示例环境文件:
cp .env_example .env在
.env中配置以下环境变量:IDA_PATH: IDA Pro 的无头可执行文件 (idat) 的路径,例如/home/ubuntu/idapro/idatPORT:MCP 服务器的端口号,例如8888HOST:MCP 服务器的主机地址,例如127.0.0.1TRANSPORT:MCP 传输模式(sse或stdio)
用法
启动服务器:
uv run headless_ida_mcp_server使用 MCP 客户端连接到服务器:
调试:
npx -y @modelcontextprotocol/inspector或者
{ "mcpServers": { "ida": { "command": "/path/to/uv", "args": ["--directory","path/to/headless-ida-mcp-server","run","headless_ida_mcp_server"] } } }


This server cannot be deployed
Maintenance
Related MCP Connectors
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP server enabling AI agents to manage Bitrix24 features via standardized protocol
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceA headless IDA Pro MCP server that enables AI agents to automatically open, analyze, and query multiple binary files simultaneously without manual GUI interaction. It provides 36 tools for tasks like decompilation, disassembly, and cross-reference analysis through IDA's idalib library.12-
- FlicenseNot gradedqualityDmaintenanceA headless MCP server that manages multiple independent IDA Pro worker processes for reverse engineering, supporting database operations and debug tools.20-
- AlicenseNot gradedqualityDmaintenanceHeadless MCP server for IDA Pro enabling on-demand database loading and programmatic reverse engineering workflows via MCP tools.18MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that exposes IDA Pro's disassembler and Hex-Rays decompiler as tools and resources, enabling parallel binary analysis with multiple agents through a supervisor.22 PyPI1MIT