IDA MCP 服务器
用于 IDA 交互的 LLM 驱动服务器

描述

一个用于 IDA 交互和自动化的模型上下文协议服务器。 该服务器提供通过大型语言模型读取 IDA 数据库的工具。

详情

类型

Reverse Engineering Tool

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 into IDAs plugin directory.

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>/src", "run", "mcp-server-ida" ] } }

Screenshots

图片已屏蔽 (相对路径)
图片已屏蔽 (相对路径)
图片已屏蔽 (相对路径)