Headless IDA MCP Server
Analyze binary files and manage functions and variables using IDA Pro's headless mode.
Acknowledgments
This project builds upon the work of:
- Tools code adapted from ida-pro-mcp by mrexodia
- Utilizes the headless-ida library by DennyDai
Headless IDA MCP Server
If you want to run the server directly as a cli app, rather than an IDA plugin interactively,you can chose it.
Project Description
This project uses IDA Pro's headless mode to analyze binary files and provides a suite of tools via MCP to manage and manipulate functions, variables, and more.
Prerequisites
- Python 3.12 or higher
- IDA Pro with headless support (idat) https://github.com/DennyDai/headless-ida
Installation
-
Clone the project locally:
git clone https://github.com/cnitlrt/headless-ida-mcp-server.git cd headless-ida-mcp-server
-
Install dependencies:
uv python install 3.12 uv venv --python 3.12 uv pip install -e .
Configuration
-
Copy the example environment file:
cp .env_example .env
-
Configure the following environment variables in
.env
:IDA_PATH
: Path to IDA Pro's headless executable (idat), e.g.,/home/ubuntu/idapro/idat
PORT
: Port number for the MCP server, e.g.,8888
HOST
: Host address for the MCP server, e.g.,127.0.0.1
TRANSPORT
: MCP transport mode (sse
orstdio
)
Usage
-
Start the server:
uv run headless_ida_mcp_server
-
Connect to the server using an MCP client:
Debug it:
npx -y @modelcontextprotocol/inspector
or
{ "mcpServers": { "ida": { "command": "/path/to/uv", "args": ["--directory","path/to/headless-ida-mcp-server","run","headless_ida_mcp_server"] } } }
Related Servers
MCP Documentation Server
An AI-powered documentation server for code improvement and management, with Claude and Brave Search integration.
SwarmTask
An asynchronous task manager for parallel execution of shell commands with real-time progress monitoring.
UseGrant MCP Server
Interact with the UseGrant API for programmatic access control and permissions management.
Grafana
Search dashboards, investigate incidents and query datasources in your Grafana instance
MCP Bridge API
A lightweight, LLM-agnostic RESTful proxy that unifies multiple MCP servers under a single API.
Clojure MCP
An MCP server providing a complete toolset for Clojure development, requiring a running nREPL server.
SuzieQ
Interact with the SuzieQ network observability platform via its REST API.
Coding Standards
An MCP server for enforcing coding standards and best practices.
Remote MCP Server (Authless)
An authentication-free, remote MCP server deployable on Cloudflare Workers or locally via npm.
App Market Intelligence MCP
Analyze app data from the Apple App Store and Google Play Store for market intelligence and insights.