ida-pro-mcp-dsh
Enables LLMs to perform binary analysis and reverse engineering via IDA Pro's headless idalib, providing 66 MCP tools like decompile, disasm, and xrefs without requiring the IDA GUI.
README
ida-pro-mcp-dsh
ida-pro-mcp 的 DeepSeek Harness 适配层。
一键把 mrexodia/ida-pro-mcp 的 headless idalib MCP server 挂进 DSH,模型直接拿到
66 个 mcp__idalib__* 逆向工具(decompile / disasm / xrefs_to / idb_open /
survey_binary / find_bytes / …),纯无头 idalib 驱动,无需 IDA GUI。
这不是 ida-pro-mcp 的分叉,也不包含其代码。 本仓库只提供 DSH 侧接线 (一个
cordis.patch.yml)。实际 MCP server 来自上游仓库,经pip install安装。
安装
dsh plugin --profile web add "github:Xilin3/ida-pro-mcp-dsh#main"
重启 dsh web 后生效。模型将看到 mcp__idalib__* 系列工具。
依赖(先装上游)
pip install "https://github.com/mrexodia/ida-pro-mcp/archive/refs/heads/main.zip"
并激活 idalib(让 Python 能找到 IDA 的 idalib.dll):
# Windows:推荐直接设 IDADIR 指向 IDA 安装目录(最高优先级,见下方「自定义」)
# 或运行 IDA 自带的激活脚本,把安装目录写进 ida-config.json:
uv run "C:\Program Files\IDA Professional 9.3\idalib\python\py-activate-idalib.py"
- Python ≥ 3.11
- IDA Pro 8.3+(9 推荐),IDA Free 不支持
idalib-mcp需在 PATH 上(pip 安装后位于 Python 的Scripts目录)
使用
每个工具都要带 database 参数(idb_open 返回的 session id):
mcp__idalib__idb_open("/path/to/binary.exe", preferred_session_id="xxx")
mcp__idalib__survey_binary(database="xxx") # 开图第一步:段/入口/字符串/函数总览
mcp__idalib__decompile("main", database="xxx")
mcp__idalib__xrefs_to("ImportantExport", database="xxx")
也可以启动时直接带二进制:把 args 改成 ['--stdio', '/path/to/binary']。
自定义
本 bundle 的配置行 id 为 mcp-idalib,默认 command: idalib-mcp。要指定本地
idalib-mcp 路径或 IDA 安装目录,在 profile 的 cordis.patch.yml 用户层覆盖
(Cordis patch 语义:同 id 最后写入者胜):
- insert:
- id: mcp-idalib
name: '@deepseek-ai/dsh-mcp-client'
config:
serverName: idalib
transport: stdio
command: 'C:\Users\<you>\AppData\Local\Programs\Python\Python312\Scripts\idalib-mcp.exe'
args:
- '--stdio'
env:
PYTHONUTF8: '1'
IDADIR: 'D:\IDA Professional 9.3' # 指向 IDA 安装目录,最高优先级
toolCallTimeoutMs: 600000
IDADIR 会被上游 idapro 包最高优先级读取,直接定位 idalib.dll,绕开
DSH MCP client 对环境的清洗(scrubbed env)。
卸载
在 DSH 的 Settings → Plugins 管理面板移除本 bundle,或从 profile package.json 的
dsh.profile.bundles 删除对应行后重启。
归属 / License
- 上游:mrexodia/ida-pro-mcp,MIT © 2025 Duncan Ogilvie 及贡献者。
- 本适配层:MIT,仅含 DSH 接线(
cordis.patch.yml)与文档,不含上游代码。 - 详见 LICENSE。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.