Logo IDAssistMCP

IDAssistMCP

Cộng đồng
symgraph

Standalone MCP server plugin for IDA Pro.

Nhà phát hànhsymgraph
Kho mãIDAssistMCP
Ngôn ngữPython
Bản fork
12
Sao
52
Công cụ có sẵn
0
Phương thức truyền tảistreamable-http
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    IDAssistMCP cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    52 sao và 12 bản fork từ kho mã được liên kết.

IDAssistMCP

Standalone MCP (Model Context Protocol) server plugin for IDA Pro 9.x that exposes IDA's analysis capabilities to LLM clients like Claude Desktop.

Screenshot

Features

  • 42 MCP tools covering binary analysis, decompilation, cross-references, symbol management, type system, navigation, patching, export, and more
  • 6 consolidated tools with action/format/direction parameters for comments, variables, types, xrefs, bookmarks, and code
  • 8 MCP resources for browsable binary metadata (triage, functions, imports, exports, strings, info, segments, sections)
  • 7 guided prompts for common reverse engineering workflows (function analysis, vulnerability identification, documentation, data flow tracing, function comparison, struct recovery, network protocol analysis)
  • SSE and Streamable HTTP transports via Hypercorn ASGI server
  • Thread-safe IDB modifications via execute_on_main_thread() wrapper
  • LRU analysis cache for expensive operations like decompilation
  • Async task manager for long-running operations
  • Pydantic configuration with environment variable support (IDASSISTMCP_ prefix)

Installation

Prerequisites

  • IDA Pro 9.x with Python 3.10+
  • Hex-Rays decompiler (optional, for decompilation tools)

Option 1: IDA Plugin Manager (recommended)

hcli plugin install idassistmcp

This automatically installs the plugin and its Python dependencies.

Option 2: Manual install (from release tarball)

Download the latest release zip from GitHub Releases and extract it into your IDA plugins directory:

Linux / macOS:

bash
unzip IDAssistMCP-*.zip -d ~/.idapro/plugins/

Windows: Extract the zip into %APPDATA%\Hex-Rays\IDA Pro\plugins\.

Then install dependencies using IDA's bundled Python (not your system Python):

Linux / macOS:

bash
<IDA_INSTALL_DIR>/python3/bin/pip3 install -r ~/.idapro/plugins/IDAssistMCP/requirements.txt

Windows:

cmd
"<IDA_INSTALL_DIR>\python3\python.exe" -m pip install -r "%APPDATA%\Hex-Rays\IDA Pro\plugins\IDAssistMCP\requirements.txt"

Replace <IDA_INSTALL_DIR> with your IDA Pro installation path.

Tip: You can also use the IDAUSR environment variable to specify a custom plugins directory.

Usage

Starting the Server

  1. Open a binary in IDA Pro
  2. Press Ctrl+Shift+M or go to Edit > Plugins > IDAssistMCP
  3. The MCP server URL will be printed to IDA's output window
  4. Press Ctrl+Shift+M again to stop the server

Claude Desktop Configuration

Add to your Claude Desktop claude_desktop_config.json:

json
{
  "mcpServers": {
    "idassistmcp": {
      "url": "http://localhost:9080/mcp"
    }
  }
}

Environment Variables

Configure via environment variables with the IDASSISTMCP_ prefix:

VariableDefaultDescription
IDASSISTMCP_SERVER__HOSTlocalhostServer bind address
IDASSISTMCP_SERVER__PORT9080Server port
IDASSISTMCP_SERVER__TRANSPORTstreamablehttpTransport type (sse or streamablehttp)
IDASSISTMCP_DEBUGfalseEnable debug mode
IDASSISTMCP_LOG_LEVELINFOLog level

Tools Reference

Binary Management (2)

ToolDescription
list_binariesList the currently loaded binary
get_binary_infoDetailed binary metadata (arch, hashes, segments)

Code Analysis (4)

ToolDescription
get_codeGet function code — format: 'decompile' (pseudo-C) or 'disasm' (assembly)
analyze_functionComprehensive analysis: metadata, CFG, callers/callees, decompilation
get_basic_blocksCFG basic blocks with successors/predecessors
get_function_stack_layoutStack frame layout (locals, args, saved regs)

Cross-References (1 consolidated)

ToolActionsDescription
xrefsdirection: to/from/both, include_calls: boolXrefs and optional callers/callees for an address

Comments (1 consolidated)

ToolActionsDescription
commentsaction: get, set, list, removeManage comments (regular, repeatable, function)

Variables (1 consolidated)

ToolActionsDescription
variablesaction: list, renameList locals, or rename local/global variables with scope: auto, local, global

Types (2 — 1 consolidated + 1 standalone)

ToolActions / Description
typesaction: list, set, create_struct, create_enum — manage IDB types
get_classesList struct/class types from type library

Function Discovery (5)

ToolDescription
get_functionsAll functions with filtering and pagination
search_functions_by_nameSearch by name pattern and size filters
get_function_by_nameExact name lookup
get_function_by_addressAddress lookup
get_function_statisticsAggregate statistics (counts, sizes, top-10)

Symbol Management (2)

ToolDescription
rename_symbolRename any symbol (function or data)
batch_renameBatch rename multiple symbols

Binary Info (5)

ToolDescription
get_importsImport table grouped by module
get_exportsExport table
get_stringsString table with pagination
get_segmentsMemory segments with permissions
get_entry_pointsAll binary entry points

Data Analysis (7)

ToolDescription
read_memoryRead raw bytes at address
get_data_atGet typed data at address
search_bytesBinary byte pattern search
search_stringsString search with pagination
create_data_varDefine data variable at address (byte/word/dword/qword/float/ascii/C type)
get_data_varsList defined data variables (non-code items)
defineIDA U/C/P hotkeys - actions: undefine, code, function (bytes untouched)

Patching (3)

ToolDescription
patch_bytesPatch raw bytes in IDB
assemble_codeAssemble instruction text at an address and optionally patch it
export_programExport the patched binary or IDA database to disk

Navigation (4)

ToolDescription
navigate_toMove IDA cursor to address
bookmarksConsolidated bookmark management - actions: list, set, remove
get_current_addressGet address and context at cursor position
get_current_functionGet function info at cursor position

Task Management (4)

ToolDescription
start_taskStart async background task
get_task_statusCheck task progress
cancel_taskCancel running task
list_tasksList all async tasks

Project Structure

IDAssistMCP/
├── idassistmcp_plugin.py              # IDA plugin_t entry point
├── requirements.txt
├── README.md
└── src/
    └── idassist_mcp/
        ├── __init__.py
        ├── server.py                  # FastMCP server + transport
        ├── context.py                 # Single-binary IDA context
        ├── tools.py                   # 42 MCP tools (IDA API)
        ├── resources.py               # 8 MCP resources
        ├── prompts.py                 # 7 guided workflow prompts
        ├── config.py                  # Pydantic settings
        ├── cache.py                   # LRU analysis cache
        ├── tasks.py                   # Async task manager
        ├── logging.py                 # IDA logging wrapper
        ├── utils.py                   # IDA-specific utilities
        └── ui/
            └── tool_registry.py       # Tool catalog for UI

License

See LICENSE file for details.

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "symgraph-idassistmcp": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP IDAssistMCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối IDAssistMCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Trong TypingMind, MCP này kết nối qua URL của máy chủ MCP từ xa.

Thêm URL máy chủ MCP

Dùng cách này khi IDAssistMCP đã chạy trên máy chủ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ của bạn vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ của bạn vào trường URL máy chủ.
  2. Nhập tên kết nối cho IDAssistMCP.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối IDAssistMCP hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của IDAssistMCP trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của IDAssistMCP trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và tiếp tục dùng kết nối MCP hiện có.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng IDAssistMCP giúp tôi làm việc này không?
IDAssistMCP
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng IDAssistMCP.

Câu hỏi thường gặp

Máy chủ MCP IDAssistMCP dùng để làm gì?

IDAssistMCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP IDAssistMCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng IDAssistMCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP IDAssistMCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối IDAssistMCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP IDAssistMCP với TypingMind?

Bạn có thể kết nối IDAssistMCP trong TypingMind bằng cách thêm URL của máy chủ MCP từ xa này. Cách này hữu ích khi bạn muốn dùng kết nối MCP từ xa ngay trong không gian làm việc TypingMind.

MCP IDAssistMCP cung cấp những công cụ nào trong TypingMind?

IDAssistMCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP IDAssistMCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu IDAssistMCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇