# IDA MCP (Hex-Rays)

_OFFICIAL VENDOR · DEV_TOOLS · by Hex-Rays_

Hex-Rays' official, open source MCP server for IDA. Agents disassemble, decompile and script IDA databases through IDAPython, headless or beside the GUI. Announced September 2026.

## Install

```sh
uvx ida-hcli mcp install
```

## Config snippet

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

**Supported hosts:** CLAUDE_CODE, CODEX, VSCODE, OTHER

## Review

_Written from the maker's own published material. Not a hands-on test._

There are plenty of community IDA MCP servers. Hex-Rays has now published its own, announced on 25 September 2026 and open source under MIT. That matters for anyone who wants a supported route rather than a weekend project.
  
  Its design is different from the tool-per-action servers. The agent works mostly by writing IDAPython, with a small set of tools around it for opening, listing and saving databases and searching the API reference. Hex-Rays says this uses about 20 per cent fewer tokens than popular alternatives, but that number comes from its own malware-analysis benchmark.
  
  A nice touch is shared sessions. A human in the GUI and one or more agents can work on the same database, and headless runs reuse the session. Install is `uvx ida-hcli mcp install`, which also sets up the GUI plugin and offers agent plugins.
  
  Two warnings from the vendor are worth repeating. The Python interpreter is not isolated, so a script written by an agent can reach beyond the database, and Hex-Rays recommends a VM for untrusted data. And you need IDA 9.4 or higher with idalib, so this is for existing IDA owners.

## Verdict

> The reference choice if you already own IDA. Run it in a VM when the samples are hostile.

## Good at

- Official and open source (MIT)
- Shares databases between agents and the IDA GUI
- Headless mode for pipelines and air-gapped use
- Hex-Rays reports about 20 per cent fewer tokens than alternatives, from its own benchmark

## Watch out

- Needs IDA 9.4 or higher with idalib, which is paid software
- Agent scripts are not isolated from the wider system, so use a VM for untrusted samples
- The token figure is Hex-Rays' own benchmark, not independent
- Some frontier models may refuse security work

## Use cases

- Triage a suspicious binary and name its key functions
- Decompile and explain a function
- Run IDAPython against a database from an agent
- Batch analyse samples headlessly in a pipeline
- Work in the GUI while an agent annotates the same database

## Getting started

## Requirements
  
  Git and uv on your PATH, and IDA 9.4 or higher with idalib and Python 3.11+.
  
  ## Install
  
  ```
  uvx ida-hcli mcp install
  ```
  
  This installs the GUI plugin and offers to set up your agent plugins. For other agents use the stdio config above.
  
  ## Test it
  
  Ask your agent: "Reverse /path/to/sample.elf for me in IDA."

---

Repo: https://github.com/HexRaysSA/ida-mcp
Homepage: https://docs.hex-rays.com/core/mcp
Canonical: https://delv.tools/mcp/hex-rays-ida