Add your description here
Project description
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/idatPORT: Port number for the MCP server, e.g.,8888HOST: Host address for the MCP server, e.g.,127.0.0.1TRANSPORT: MCP transport mode (sseorstdio)
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"] } } }
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_headless_ida_mcp_server-0.1.1.tar.gz.
File metadata
- Download URL: mseep_headless_ida_mcp_server-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d456480fab333df6aa9b42c218176bd016850f2b0573d31173c75da56558881
|
|
| MD5 |
0cc88841c1649fa796e22270338fb38d
|
|
| BLAKE2b-256 |
05ee30f812ce2cfcee1a86b6574c0b51ba755697d39696963879b07bc9a76062
|
File details
Details for the file mseep_headless_ida_mcp_server-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mseep_headless_ida_mcp_server-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b48867ffd11ce029e3c83964bbbafa17156bbc3058820f2e75a9f7da62bd52e
|
|
| MD5 |
22cae8b7fa493bbdff0731eb4e80d174
|
|
| BLAKE2b-256 |
8e1bfb646c82c9dc3cfad80245d94823cf813181ecd3f5da194c69b57ac56d47
|