Skip to main content

Add your description here

Project description

Acknowledgments

This project builds upon the work of:

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

Installation

  1. Clone the project locally:

    git clone https://github.com/cnitlrt/headless-ida-mcp-server.git 
    cd headless-ida-mcp-server
    
  2. Install dependencies:

    uv python install 3.12
    uv venv --python 3.12
    uv pip install -e .
    

Configuration

  1. Copy the example environment file:

    cp .env_example .env
    
  2. 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 or stdio)

Usage

  1. Start the server:

    uv run headless_ida_mcp_server
    
  2. 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

mseep_headless_ida_mcp_server-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_headless_ida_mcp_server-0.1.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file mseep_headless_ida_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mseep_headless_ida_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d365597bbf9db2e6497620e6276740352542c566cc2557e551bfdfc89a6af2a3
MD5 6662ba3a311f99a7b900a43185cbebc5
BLAKE2b-256 5849a21d7a5b997559c5acf80a467ff12b57dedb7c2934d0088975ee29760c84

See more details on using hashes here.

File details

Details for the file mseep_headless_ida_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_headless_ida_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d59248f8b6d0aa0577d127a6ec8fd8771338f3bffccc7bcbaf9fc2fde8317a5
MD5 a1c8c1bfe9db089c8567d1090d25ab53
BLAKE2b-256 d83feedb897acad0614ab1fcb8aecc0bbc35d82987563d956a5b37ce410c81ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page