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.1.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.1-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.1.tar.gz.

File metadata

File hashes

Hashes for mseep_headless_ida_mcp_server-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3d456480fab333df6aa9b42c218176bd016850f2b0573d31173c75da56558881
MD5 0cc88841c1649fa796e22270338fb38d
BLAKE2b-256 05ee30f812ce2cfcee1a86b6574c0b51ba755697d39696963879b07bc9a76062

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_headless_ida_mcp_server-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b48867ffd11ce029e3c83964bbbafa17156bbc3058820f2e75a9f7da62bd52e
MD5 22cae8b7fa493bbdff0731eb4e80d174
BLAKE2b-256 8e1bfb646c82c9dc3cfad80245d94823cf813181ecd3f5da194c69b57ac56d47

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