ida-pro-mcp-dsh
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ida-pro-mcp-dshUse ida-pro-mcp-dsh to open the binary at C:\malware\sample.exe, then decompile the function named 'check_key'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ida-pro-mcp-dsh
DeepSeek Harness adapter layer for ida-pro-mcp.
One-click plug the headless idalib MCP server from mrexodia/ida-pro-mcp into DSH, giving the model direct access to
66 mcp__idalib__* reverse engineering tools (decompile / disasm / xrefs_to / idb_open /
survey_binary / find_bytes / …), purely headless idalib-driven, no IDA GUI required.
This is not a fork of ida-pro-mcp, nor does it contain its code. This repository only provides the DSH wiring (a
cordis.patch.yml). The actual MCP server comes from the upstream repository, installed viapip install.
Installation
dsh plugin --profile web add "github:Xilin3/ida-pro-mcp-dsh#main"Restart dsh web for it to take effect. The model will see the mcp__idalib__* series of tools.
Related MCP server: IDA Auto MCP
Dependencies (install upstream first)
pip install "https://github.com/mrexodia/ida-pro-mcp/archive/refs/heads/main.zip"And activate idalib (so Python can find IDA's 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 recommended), IDA Free is not supported
idalib-mcpmust be on PATH (after pip install, located in Python'sScriptsdirectory)
Usage
Every tool requires the database parameter (the session id returned by idb_open):
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")You can also start with a binary directly: change args to ['--stdio', '/path/to/binary'].
Customization
The configuration line id for this bundle is mcp-idalib, with a default command: idalib-mcp. To specify a local
idalib-mcp path or IDA installation directory, override it in the user layer of the profile's cordis.patch.yml
(Cordis patch semantics: same id, last writer wins):
- 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: 600000IDADIR is read by the upstream idapro package with the highest priority, directly locating idalib.dll,
bypassing the DSH MCP client's environment scrubbing (scrubbed env).
Uninstallation
Remove this bundle from DSH's Settings → Plugins management panel, or delete the corresponding line from the profile's package.json
dsh.profile.bundles and restart.
Attribution / License
Upstream: mrexodia/ida-pro-mcp, MIT © 2025 Duncan Ogilvie and contributors.
This adapter layer: MIT, contains only DSH wiring (
cordis.patch.yml) and documentation, no upstream code.See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
- WauldoOAuthcom.wauldo
Stateless agentic tools over MCP: concept extraction, long-context, knowledge graph, planning.
Multiple MCP tools, persistent graph memory, token-saving data pointers, and more.
MCP-Native LLM Orchestration Agent
65+ AI tools as MCP: research, write, code, scrape, translate, RAG, agent memory, workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to autonomously reverse engineer applications by exposing Ghidra's core functionality through MCP tools. Supports decompiling binaries, analyzing code structure, and automatically renaming methods and data.2Apache 2.0
- FlicenseNot gradedqualityCmaintenanceA headless IDA Pro MCP server that enables AI agents to automatically open, analyze, and query multiple binary files simultaneously without manual GUI interaction. It provides 36 tools for tasks like decompilation, disassembly, and cross-reference analysis through IDA's idalib library.13-
- AlicenseNot gradedqualityCmaintenanceEnables LLM clients like Claude to interact with IDA Pro for binary analysis, decompilation, cross-references, patching, and more via 41 MCP tools, 8 resources, and 7 guided prompts.52MIT
- AlicenseAqualityCmaintenanceA multi-backend MCP server that exposes binary analysis capabilities from IDA Pro and Ghidra, allowing LLMs to directly drive reverse-engineering tools via natural language.11163Apache 2.0