
taida957789/ida-mcp-server-plugin 是从 https://github.com/taida957789/ida-mcp-server-plugin. 导入的 MCP 服务器候选
概览
taida957789/ida-mcp-server-plugin 是从 https://github.com/taida957789/ida-mcp-server-plugin. 导入的 MCP 服务器候选
概述(AI 翻译)
IDA Pro MCP 服务器是一个插件,允许通过模型上下文协议(MCP)接口远程查询和控制 IDA Pro。该插件使 AI 助手(如 Claude)能够直接与 IDA Pro 交互进行二进制分析任务。
概述
该服务器提供一系列工具,使AI助手能够执行以下操作:
- 从特定地址获取字节数据
- 获取反汇编代码
- 获取反编译的伪代码
- 查询函数名称
- 获取分段信息
- 列出所有功能
- 查找交叉引用
- 获取导入/导出表
- 获取入口点
- 定义/取消定义函数
- 获取多种数据类型(dword、word、byte、qword、float、double、string)
- 获取二进制文件中的所有字符串
- 获取指定地址处指令长度
安装
注: 该插件是为 IDA Pro 9.0+ 版本设计和测试的。
-
确保安装了 Python 及相关依赖:
-
将
ida-mcp-server.py文件复制到 IDA Pro 插件目录:
- 窗口:
%Programfiles%\IDA Pro 9.0\plugins\ - Linux:
~/.idapro/plugins/ - macOS:
~/Library/Application Support/IDA Pro/plugins/
配置Claude / VSCode
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
IDA Pro MCP Server
IDA Pro MCP Server is a plugin that allows remote querying and control of IDA Pro through the Model Context Protocol (MCP) interface. This plugin enables AI assistants (such as Claude) to interact directly with IDA Pro for binary analysis tasks.
Overview
This server provides a series of tools that allow AI assistants to perform the following operations:
- Get byte data from specific addresses
- Get disassembly code
- Get decompiled pseudocode
- Query function names
- Get segment information
- List all functions
- Find cross-references
- Get import/export tables
- Get entry points
- Define/undefine functions
- Get various data types (dword, word, byte, qword, float, double, string)
- Get all strings in the binary file
- Get the length of the instruction at the specified address
Installation
Note: This plugin is designed for and tested with IDA Pro version 9.0+.
- Ensure Python and related dependencies are installed:
pip install -r requirements.txt
- Copy the
ida-mcp-server.pyfile to the IDA Pro plugins directory:- Windows:
%Programfiles%\IDA Pro 9.0\plugins\ - Linux:
~/.idapro/plugins/ - macOS:
~/Library/Application Support/IDA Pro/plugins/
- Windows:
Configure Claude / VSCode
Add the following configuration to the mcp.json file in Claude or VSCode:
{
"mcpServers": {
"IDAPro": {
"url": "http://127.0.0.1:3000/sse",
"type": "sse"
}
}
}
Usage
- Open a binary file in IDA Pro
- The plugin will automatically load and start the MCP server locally (port 3000)
- Connect your AI assistant (e.g., Claude) to this server
- Use the AI assistant to perform binary analysis tasks
Available Analysis Tools
IDA Pro MCP Server provides the following tools:
get_bytes: Get bytes at a specified addressget_disasm: Get disassembly at a specified addressget_decompiled_func: Get pseudocode of the function containing the specified addressget_function_name: Get function name at a specified addressget_segments: Get all segment informationget_functions: Get all functions in the binaryget_xrefs_to: Get all cross-references to a specified addressget_imports: Get all imported functionsget_exports: Get all exported functionsget_entry_point: Get the entry point of the binarymake_function: Create a function at a specified addressundefine_function: Undefine a function at a specified addressget_dword_at: Get the dword at a specified addressget_word_at: Get the word at a specified addressget_byte_at: Get the byte at a specified addressget_qword_at: Get the qword at a specified addressget_float_at: Get the float at a specified addressget_double_at: Get the double at a specified address
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"IDAPro": {
"url": "http://127.0.0.1:3000/sse",
"type": "sse"
}
}
}