ida-mcp-server

MCP.Pizza Chef: MxIris-Reverse-Engineering

ida-mcp-server is a Model Context Protocol server designed to facilitate interaction and automation with IDA Pro databases using Large Language Models. It enables reading and manipulating IDA database content programmatically, supporting advanced reverse engineering workflows. Currently in early development, it aims to expand capabilities for seamless integration of LLMs with IDA Pro environments, enhancing analysis and automation tasks.

Use This MCP server To

Read and query IDA Pro databases via LLMs Automate reverse engineering tasks using natural language Integrate IDA data into AI-driven analysis workflows Enable LLMs to access and interpret binary analysis context Facilitate multi-step reasoning on disassembled code Support plugin-based extensions for IDA automation Run IDA-related commands through LLM prompts

README

IDA MCP Server

Note

The idalib mode is under development, and it will not require installing the IDA plugin or running IDA (idalib is available from IDA Pro 9.0+).

Overview

A Model Context Protocol server for IDA interaction and automation. This server provides tools to read IDA database via Large Language Models.

Please note that mcp-server-ida is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-ida.

Using PIP

Alternatively you can install mcp-server-ida via pip:

pip install mcp-server-ida

After installation, you can run it as a script using:

python -m mcp_server_ida

IDA-Side

Copy repository/plugin/ida_mcp_server_plugin.py and repository/plugin/ida_mcp_server_plugin directory into IDAs plugin directory

Windows: %APPDATA%\Hex-Rays\IDA Pro\plugins

Linux/macOS: $HOME/.idapro/plugins eg: ~/.idapro/plugins

igors-tip-of-the-week-103-sharing-plugins-between-ida-installs

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

Using uvx
"mcpServers": {
  "git": {
    "command": "uvx",
    "args": [
        "mcp-server-ida"
    ]
  }
}
Using pip installation
"mcpServers": {
  "git": {
    "command": "python",
    "args": [
        "-m", 
        "mcp_server_ida"
    ]
  }
}

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx mcp-server-ida

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/mcp-server-ida/src
npx @modelcontextprotocol/inspector uv run mcp-server-ida

Running tail -n 20 -f ~/Library/Logs/Claude/mcp*.log will show the logs from the server and may help you debug any issues.

Development

If you are doing local development, there are two ways to test your changes:

  1. Run the MCP inspector to test your changes. See Debugging for run instructions.

  2. Test using the Claude desktop app. Add the following to your claude_desktop_config.json:

UVX

{
"mcpServers": {
  "git": {
    "command": "uv",
    "args": [ 
      "--directory",
      "/<path to mcp-server-ida>",
      "run",
      "mcp-server-ida"
    ]
  }
}

Alternatives

ida-pro-mcp

ida-mcp-server-plugin

mcp-server-idapro

pcm

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

ida-mcp-server FAQ

How do I install ida-mcp-server?
You can install ida-mcp-server via pip using 'pip install mcp-server-ida' or run it directly with uvx without installation.
Does ida-mcp-server require IDA Pro to be installed?
The idalib mode under development will not require the IDA plugin or running IDA, but current modes may require IDA Pro 9.0+.
Is ida-mcp-server stable for production use?
It is currently in early development, so functionality and tools may change as development continues.
Can ida-mcp-server work with multiple LLM providers?
Yes, it is designed to be provider-agnostic and can work with OpenAI, Anthropic Claude, and Google Gemini models.
How does ida-mcp-server enhance reverse engineering workflows?
By enabling LLMs to read and interact with IDA databases, it automates complex analysis and reasoning tasks.
What platforms support ida-mcp-server?
It supports platforms where IDA Pro 9.0+ and Python are available, with uvx support for easy execution.
Can I extend ida-mcp-server with custom tools?
Yes, the server architecture supports plugin extensions to add new capabilities.