Ida MCP Server

Alias package for re-mcp-ida — installs re-mcp-ida

Local serverstdioPython

What is the Ida MCP server?

If you already use Ida, the ida mcp server is the piece that lets your assistant work with it directly. Alias package for re-mcp-ida — installs re-mcp-ida.

What the server does

Both backends share a common tool interface — core analysis tools use the same names, parameters, and response shapes — so LLM workflows are portable across backends. Each backend also has tools for platform-specific features (e.g. IDA: file region mapping, executable rebuilding, IDC evaluation, IDAPython scripting; Ghidra: Function ID analysis, data type archives).

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Database — open/close/save/list databases, file region mapping, metadata
  • Functions — list, query, decompile, disassemble, rename, prototypes, chunks, stack frames
  • Decompiler — pseudocode variable renaming/retyping, decompiler comments, microcode
  • Ctree — AST exploration and pattern matching
  • Cross-References — xref queries, call graphs, xref creation/deletion
  • Search — string extraction, byte patterns, text in disassembly, immediate values, string-to-code references, string list rebuilding
  • Data — raw byte reading, hex dumps, segment listing, pointer tables
  • Patching — byte patching, instruction assembly, function/code creation, data loading
  • Segments — create, modify, and rebase segments
  • Demangling — C++ symbol name demangling
  • Analysis — auto-analysis, fixups, exception handlers, segment registers
  • Signatures — FLIRT signatures/type libraries (IDA), Function ID/data type archives (Ghidra)

Credentials and setup notes

Configuration is passed through the environment: IDADIR, GHIDRA_INSTALL_DIR. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.12+ - uv package manager (recommended) or pip - macOS, Windows, or Linux - At least one supported backend installed on the same machine

Installation

The server ships on PyPI as re-mcp-ida, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Where it fits

Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Ida's toolset — Database, Functions, Decompiler and 11 more — is a fair guide to whether it matches your workflow.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Ida.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
Databaseopen/close/save/list databases, file region mapping, metadata
Functionslist, query, decompile, disassemble, rename, prototypes, chunks, stack frames
Decompilerpseudocode variable renaming/retyping, decompiler comments, microcode
CtreeAST exploration and pattern matching
Cross-Referencesxref queries, call graphs, xref creation/deletion
Searchstring extraction, byte patterns, text in disassembly, immediate values, string-to-code references, string list rebuilding
Dataraw byte reading, hex dumps, segment listing, pointer tables
Patchingbyte patching, instruction assembly, function/code creation, data loading
Segmentscreate, modify, and rebase segments
DemanglingC++ symbol name demangling
Analysisauto-analysis, fixups, exception handlers, segment registers
SignaturesFLIRT signatures/type libraries (IDA), Function ID/data type archives (Ghidra)
Exportbatch decompilation/disassembly, output file generation
Snapshotstake, list, and restore database snapshots

How to install the Ida MCP server

{
  "mcpServers": {
    "ida": {
      "command": "uvx",
      "args": ["re-mcp-ida"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.12+ - uv package manager (recommended) or pip - macOS, Windows, or Linux - At least one supported backend installed on the same machine
VariableDescriptionRequired
IDADIRFilesystem location the server is allowed to use.Optional
GHIDRA_INSTALL_DIRFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use Ida to Database.
  • Use Ida to Functions.
  • Use Ida to Decompiler.

Frequently asked questions

It connects Ida to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Database, Functions, Decompiler, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Ida directly.