
taida957789/ida-mcp-server-plugin
API developmentЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
taida957789/ida-mcp-server-plugin — это кандидат на MCP-сервер, импортированный из https://github.com/taida957789/ida-mcp-server-plugin.
Обзор
taida957789/ida-mcp-server-plugin — это кандидат на MCP-сервер, импортированный из https://github.com/taida957789/ida-mcp-server-plugin.
Обзор (машинный перевод)
IDA Pro MCP Server — это плагин, позволяющий удалённый запрос и управление IDA Pro через интерфейс Model Context Protocol (MCP). Этот плагин позволяет AI-ассистентам (таким как Claude) напрямую взаимодействовать с IDA Pro для задач бинарного анализа.
Обзор
Этот сервер предоставляет ряд инструментов, позволяющих ассистентам ИИ выполнять следующие операции:
- Получение байтовых данных с конкретных адресов
- Получить код для дизассемблера
- Получить декомпилированный псевдокод
- Имена функций запросов
- Получить информацию о сегментах
- Список всех функций
- Поиск перекрёстных ссылок
- Получить таблицы импорта/экспорта
- Получить точки входа
- Определить/разопределить функции
- Получить различные типы данных (dword, word, байт, 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/
Configure Claude / VSCode
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
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 Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"IDAPro": {
"url": "http://127.0.0.1:3000/sse",
"type": "sse"
}
}
}