
fdrechsler/mcp-server-idapro
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
fdrechsler/mcp-server-idapro — это кандидат на MCP-сервер, импортированный из https://github.com/fdrechsler/mcp-server-idapro.
Обзор
fdrechsler/mcp-server-idapro — это кандидат на MCP-сервер, импортированный из https://github.com/fdrechsler/mcp-server-idapro.
Обзор (машинный перевод)
Сервер Model Context Protocol (MCP), который позволяет ассистентам ИИ взаимодействовать с IDA Pro для выполнения задач реверс-инжиниринга и бинарного анализа.
Обзор
Этот проект служит мостом между AI-ассистентами и IDA Pro — популярным дизассемблером и отладчиком, используемым для обратного инжиниринга. Он состоит из трёх основных компонентов:
- IDA Pro Remote Control Plugin (
ida_remote_server.py): Плагин IDA Pro, который создаёт HTTP-сервер для удалённого управления функциями IDA Pro. - IDA Remote Client (
idaremoteclient.ts): TypeScript-клиент для взаимодействия с IDA Pro Remote Control Server. - MCP Server (
index.ts): Сервер протокола контекста модели, который предоставляет функциональность IDA Pro для AI-ассистентов.
Особенности
- Выполнение скриптов на Python в IDA Pro от AI-ассистентов
- Получить информацию о бинарных файлах:
- Струнные
- Импорт
- Экспорт
- Функции
- Расширенные возможности бинарного анализа:
- Поиск немедленных значений в инструкциях
- Поиск текстовых строк в бинарном файле
- Поиск определённых байтовых последовательностей
- Получить дизассемблирование для диапазонов адресов
- Автоматизация операций IDA Pro через стандартизированный интерфейс
- Безопасная связь между компонентами
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
IDA Pro MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with IDA Pro for reverse engineering and binary analysis tasks.
Overview
This project provides a bridge between AI assistants and IDA Pro, a popular disassembler and debugger used for reverse engineering software. It consists of three main components:
- IDA Pro Remote Control Plugin (
ida_remote_server.py): An IDA Pro plugin that creates an HTTP server to remotely control IDA Pro functions. - IDA Remote Client (
idaremoteclient.ts): A TypeScript client for interacting with the IDA Pro Remote Control Server. - MCP Server (
index.ts): A Model Context Protocol server that exposes IDA Pro functionality to AI assistants.
Features
- Execute Python scripts in IDA Pro from AI assistants
- Retrieve information about binaries:
- Strings
- Imports
- Exports
- Functions
- Advanced binary analysis capabilities:
- Search for immediate values in instructions
- Search for text strings in the binary
- Search for specific byte sequences
- Get disassembly for address ranges
- Automate IDA Pro operations through a standardized interface
- Secure communication between components
Prerequisites
- IDA Pro 8.3 or later
- Node.js 18 or later
- TypeScript
Example usage ida_remote_server.py
curl -X POST -H "Content-Type: application/json" -d '{"script":"print(\"Script initialization...\")"}' http://127.0.0.1:9045/api/execute
{"success": true, "output": "Script initialization...\n"}
Example usage MCP Server
Installation
1. Install the IDA Pro Remote Control Plugin
-
Copy
ida_remote_server.pyto your IDA Pro plugins directory:- Windows:
%PROGRAMFILES%\IDA Pro\plugins - macOS:
/Applications/IDA Pro.app/Contents/MacOS/plugins - Linux:
/opt/idapro/plugins
- Windows:
-
Start IDA Pro and open a binary file.
-
The plugin will automatically start an HTTP server on
127.0.0.1:9045.
2. Install the MCP Server
-
Clone this repository:
git clone cd ida-server -
Install dependencies:
npm install -
Build the project:
npm run build -
Configure the MCP server in your AI assistant’s MCP settings file:
{ "mcpServers": { "ida-pro": { "command": "node", "args": ["path/to/ida-server/dist/index.js"], "env": {} } } }
Usage
Once installed and configured, the MCP server provides the following tool to AI assistants:
run_ida_command
Executes an IDA Pro Python script.
Parameters:
scriptPath(required): Absolute path to the script file to execute
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"ida-pro": {
"command": "node",
"args": ["path/to/ida-server/dist/index.js"],
"env": {}
}
}
}