Skip to main content

Hex-Rays IDA MCP

Official Hex-Rays IDA MCP Server, see the announcement blog post for more information.

Installation

Requirements

  • Installed in your PATH
  • IDA 9.4 or higher with idalib and Python 3.11+
  • We recommend disabling other IDA MCP servers to reduce agent confusion

Automatic installation

Install the Hex-Rays IDA MCP using hcli:

uvx ida-hcli mcp install
# or if you have hcli installed:
hcli mcp install

This will install the GUI plugin and interactively offer you to install the supported agent plugins.

Manual installation

Manual installation instructions...

IDA GUI Plugin

To support IDA GUI instances when using IDA MCP, install the plugin:

uvx ida-hcli plugin install ida-mcp@https://github.com/HexRaysSA/ida-mcp
# or if you have hcli installed:
hcli plugin install ida-mcp@https://github.com/HexRaysSA/ida-mcp

Note: Without the plugin, IDA MCP still works headlessly, in a worker that uses the Python environment of the MCP server. With the plugin installed, headless workers run inside idat with IDA's own Python, so IDA plugins and the packages installed for IDA are available, and the agent can ask for gui=true to open a file in the IDA GUI. Set IDA_NEXUS_IDALIB_ONLY=1 to keep workers in the server's Python environment regardless.

Claude Code

# Add Hex-Rays marketplace
claude plugin marketplace add HexRaysSA/claude-marketplace
# Install plugin
claude plugin install ida-mcp@HexRaysSA
# Update to latest version
claude plugin update ida-mcp@HexRaysSA

Codex CLI

# Add Hex-Rays marketplace
codex plugin marketplace add HexRaysSA/codex-marketplace
# Install plugin
codex plugin add ida-mcp@HexRaysSA

GitHub Copilot CLI

# Add Hex-Rays marketplace
copilot plugin marketplace add HexRaysSA/copilot-marketplace
# Install plugin
copilot plugin install ida-mcp@HexRaysSA
# Update to latest version
copilot plugin update ida-mcp

Pi

# Install extension
pi install git:github.com/HexRaysSA/ida-mcp@latest
# Update to latest version
pi update --extensions

oh-my-pi

# Install extension
omp plugin install github:HexRaysSA/ida-mcp#latest
# Update to latest version
omp plugin upgrade

Other agents

Configure a regular stdio MCP server in your MCP JSON configuration:

{
  "mcpServers": {
    "ida": {
      "command": "uvx",
      "args": [
        "--exclude-newer=1s",
        "ida-mcp",
        "stdio",
        "--agent=my-agent"
      ]
    }
  }
}

uvx resolves the latest stable ida-mcp release from PyPI, so this configuration does not need to be updated for each release.

--agent=my-agent is a human-chosen label (like claude-code, cursor, my-custom-agent, etc.) used to differentiate sessions in the dashboard.

CLI

# MCP server over standard input/output
uvx ida-mcp stdio --agent=my-agent

# MCP server over Streamable HTTP
uvx ida-mcp http --host 127.0.0.1 --port 8737

# Inspect session log
uvx ida-mcp dashboard --open

# Export session logs for troubleshooting
uvx ida-mcp logs

Usage

Start your agent harness and ask it something like:

Reverse /path/to/sample.elf for me in IDA

To test the GUI integration, open something in IDA and ask your harness:

What do I have open in the IDA GUI?

Developers: IDA Nexus

The IDA MCP project is built on IDA Nexus, which allows multiple clients to seamlessly share and operate on IDA databases.

You can build your own tools on top of the ida-nexus library, see the documentation for more information.

Metadata

Release files for ida-mcp 20261023.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ida-mcp 20261023.0.2
File Size Uploaded Provenance
ida_mcp-20261023.0.2.tar.gz 128.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ida-mcp 20261023.0.2
File Interpreter ABI Platform
ida_mcp-20261023.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 183.8 kB

Release files / ida_mcp-20261023.0.2.tar.gz

Download URL ida_mcp-20261023.0.2.tar.gz
Size 128.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3f7f8ec2a76b13a613faf57d82fe75ac29d606b9dd5c393defddb41fc0dc9751
BLAKE2b-256 checksum
How to use checksums
61920b8e66f4b59c557352c8b53ec04ae9040660b25862f8044b10efb1dedc55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / ida_mcp-20261023.0.2-py3-none-any.whl

Download URL ida_mcp-20261023.0.2-py3-none-any.whl
Size 55.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01a74ef987c400271816b6b35f7034164cc168463621fc5987fbc4c6a7b1ec5a
BLAKE2b-256 checksum
How to use checksums
8b4159ab068ce7cfc727bd3f99e61e584d364b06705e1c8f73ce4d8299df4434
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for ida-mcp 20261023.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ida_mcp-20261023.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page