
fdrechsler/mcp-server-idapro
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
fdrechsler/mcp-server-idapro は、https://github.com/fdrechsler/mcp-server-idapro. からインポートされたMCPサーバー候補です。
概要
fdrechsler/mcp-server-idapro は、https://github.com/fdrechsler/mcp-server-idapro. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)サーバーで、AIアシスタントがIDA Proとリバースエンジニアリングやバイナリ解析タスクで連携できるようにします。
概要
このプロジェクトは、AIアシスタントと、ソフトウェアのリバースエンジニアリングに使われる人気の逆アセンブラ・デバッガであるIDA Proとの橋渡し役を担っています。このプロジェクトは主に3つのコンポーネントで構成されています。
- IDA Pro リモートコントロールプラグイン(
ida_remote_server.py):IDA Proの機能を遠隔操作するHTTPサーバーを作成するIDA Proプラグインです。 - IDAリモートクライアント(
idaremoteclient.ts):IDA Proリモートコントロールサーバーとやり取りするためのTypeScriptクライアントです。 - MCPサーバー(
index.ts):IDA Proの機能をAIアシスタントに公開するモデルコンテキストプロトコルサーバーです。
特徴
- AIアシスタントからIDA ProでPythonスクリプトを実行する
- バイナリに関する情報取得:
- 弦
- 輸入
- 輸出
- 機能
- 高度な二値解析機能:
- 命令内の即時値を検索する
- バイナリ内のテキスト文字列検索
- 特定のバイトシーケンスを検索
- アドレス範囲のディスアセンブリ取得
- 標準化されたインターフェースを通じてIDA Proの運用を自動化
- コンポーネント間の安全な通信
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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": {}
}
}
}