ida-pro-mcp
CLAUDE.md12k starsChanged 4 months agoMITView on GitHub
Guidance for working in this repository. IDA Pro MCP Server: exposes IDA Pro / idalib functionality to MCP clients. Main pieces: - src/ida_pro_mcp/server.py: MCP server entrypoint - src/ida_pro_mcp/idalib_server.py: headless idalib server - src/ida_pro_mcp/ida_mcp/: IDA/plugin-side APIs Important API modules: - api_core.py: IDB metadata, functions, strings, imports - api_analysis.py: decompilation, disassembly, xrefs, paths, pattern search - api_memory.py: bytes/ints/strings, patching - api_types.py: structs, type inference, type application - api_modify.py: comments, renaming, asm patching - api_stack.py: stack frame operations - api_sigmaker.py: signature creation, scanning,…
Trending
More talk lately.about the whole repository
Who's talking about mrexodia/ida-pro-mcp
- mandiant/capa-rules“identify anti-LLM analysis techniques via strings”GitHub · Jan 23, 2026 · 5 reactions
- whoisqwerz/pocket_disasm“Difference with ida-pro-mcp”GitHub · Jul 13, 2026 · 2 reactions
- CherryHQ/cherry-studio“[Bug]: MCP Cannot Be Auto-Approved”GitHub · Feb 7, 2026 · 2 reactions
- dnSpyEx/dnSpy“Plugins feature (MCP Server capability)”GitHub · May 12, 2025 · 2 reactions
- @pythonhub.dev“mrexodia / ida-pro-mcp AI-powered reverse engineering assistant that bridges IDA Pro with language models …”Bluesky · Aug 8, 2026 · 1 likes
The biggest 5 of 45 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 45
Talked about on GitHub, Bluesky and Hacker News (45 times).
On GitHub · 41
- Jan 23, 2026identify anti-LLM analysis techniques via strings — mandiant/capa-rules5 reactions · 3 comments
- Jul 13, 2026Difference with ida-pro-mcp — whoisqwerz/pocket_disasm2 reactions · 5 comments
- Feb 7, 2026[Bug]: MCP Cannot Be Auto-Approved — CherryHQ/cherry-studio2 reactions · 1 comment
- May 12, 2025Plugins feature (MCP Server capability) — dnSpyEx/dnSpy2 reactions · 2 comments
- Aug 4, 2026Сделайте mcp для opencode для умного поиска — munirov/cremniy1 reaction
36 more on GitHub
- Jul 21, 2026feat: integrate IDA, Ghidra, WinDbg, Jadx and Playwright MCPs — ljagiello/ctf-skills1 reaction
- Sep 14, 2025feat: add IDA Pro MCP marketplace submission — RooCodeInc/Roo-Code1 reaction
- Apr 29, 2025[讨论]: 请问现在的mcp功能能否通过 ida-pro-mcp 控制ida pro — CherryHQ/cherry-studio1 reaction
- Oct 4, 2026codex-plugins.github.mrexodia.ida-pro-mcp: init at 1.5.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.mrexodia.ida-pro-mcp: 1.5.0-unstable-2026-08-28 → 1.5.0 — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.mrexodia.ida-pro-mcp: init at 1.5.0-unstable-2026-08-28 — sudosubin/agents.nix0 reactions
- Sep 20, 2026Fix stop() blocking when a keep-alive client is idle — mrexodia/zeromcp0 reactions
- Sep 14, 2026epic: MCP interface redesign for resources, prompts, capability discovery and low-token agent UX — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: close core IDA/Hex-Rays capability gaps with a typed native API surface — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: competitive parity matrix and reproducible MCP reverse-engineering benchmark suite — jacek4yang/reverse-mcpsays it tested it0 reactions
- Sep 14, 2026epic: versioned IDA backends, cross-platform support, DotSlash toolchain and ABI verification — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: safe mutation, refactoring, patch planning and snapshot/rollback workflows — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: single-executable runtime, crash recovery, revision safety and multi-agent HTTP — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: semantic reverse index, evidence search and persistent analysis cache — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: function signatures, similarity search and cross-IDB binary comparison — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: crypto, API-hash and recovered-string intelligence — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: structure, class, vtable and type recovery engine — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: recursive decompilation, type propagation and bounded data-flow analysis — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: Hex-Rays microcode deobfuscation, CFG repair and unflattening — jacek4yang/reverse-mcp0 reactions
- Sep 14, 2026epic: agent-native composite analysis workflows and token-efficient context engine — jacek4yang/reverse-mcp0 reactions
- Aug 26, 2026ida-pro-mcp@2026-08-17T08.52.24: hash check failed — bright-angel/scoop-bucket0 reactions · 1 comment
- Jul 26, 2026feat: integrate IDA, Ghidra, WinDbg, Jadx, Burp Suite and Playwright MCPs — ljagiello/ctf-skills0 reactions
- Jun 12, 2026This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber — openai/codex0 reactions · 3 comments
- Jun 5, 2026content(mcp): add IDA Pro MCP Server — JSONbored/awesome-claude0 reactions · 3 comments
- May 25, 2026[Question] How to work with it? — blacktop/ida-mcp-rs0 reactions · 1 comment
- May 9, 2026llm for security: codex全自动ctf — wsxk/wsxk.github.io0 reactions
- May 7, 2026Add support for IDAs debug api tools — buzzer-re/Rikugan0 reactions
- Apr 24, 2026[发布] — hello7689410/linping0 reactions · 1 comment
- Apr 21, 2026llm for security 1: ctf — wsxk/wsxk.github.io0 reactions
- Feb 8, 2026feature request: block or replace a set of string — fosdickio/binary_ninja_mcp0 reactions
- Nov 29, 2025Add `async` support — mrexodia/zeromcp0 reactions · 1 comment
- Nov 22, 2025See what FastMCP does with an invalid endpoint configured — mrexodia/zeromcp0 reactions
- Nov 15, 2025[Feature Request]: Add Binja Debugger Integration — fosdickio/binary_ninja_mcp0 reactions
- Sep 17, 2025set_comment不支持给不能反编译的函数的汇编行设置注释 — Captain-AI-Hub/IDA-MCP0 reactions
- Sep 14, 2025[MCP] Add Mcp https://github.com/mrexodia/ida-pro-mcp/ — RooCodeInc/Roo-Code0 reactions · 2 comments
- Aug 16, 2025ida mcp — wsxk/wsxk.github.io0 reactions
On Bluesky · 3
- Aug 8, 2026mrexodia / ida-pro-mcp AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.… — @pythonhub.dev1 likes and repost
- Mar 29, 2025It does exist, and it's by the x64dbg guy github.com/mrexodia/ida... — @philpax.me1 likes and repost
- May 26, 2026GitHub - mrexodia/ida-pro-mcp: AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP. — @r-blueteamsec.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Mar 26, 2025Ida Pro MCP – Simple MCP Server to Allow Vibe Reversing in Ida Pro1 point
In this repositoryOne other file it gives its agents.
- idapythonSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
All IDA SDK calls must run on the main thread.
- Very specific: line 44
Use full type hints and Annotated[...] descriptions.
- Very specific: line 56
Use shared pagination / filtering helpers from utils.py
- Distinctive: line 95
Use the headless test runner:
- Distinctive: line 122
Prefer semantic assertions, not weak "field exists" checks
- Distinctive: line 123
Prefer round-trip tests for mutating APIs
- Distinctive: line 124
If tests expose clearly wrong API behavior, fix the API instead of weakening the test
- Distinctive: line 129
When adding generic tests, also try a non-fixture binary to avoid ELF-specific assumptions:
- Very specific: line 157
If IDA uses the wrong Python, use idapyswitch
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Guidance for working in this repository.
What this project is
IDA Pro MCP Server: exposes IDA Pro / idalib functionality to MCP clients.
Main pieces:
src/ida_pro_mcp/server.py: MCP server entrypointsrc/ida_pro_mcp/idalib_server.py: headless idalib serversrc/ida_pro_mcp/ida_mcp/: IDA/plugin-side APIs
Important API modules:
api_core.py: IDB metadata, functions, strings, importsapi_analysis.py: decompilation, disassembly, xrefs, paths, pattern searchapi_memory.py: bytes/ints/strings, patchingapi_types.py: structs, type inference, type applicationapi_modify.py: comments, renaming, asm patchingapi_stack.py: stack frame operationsapi_sigmaker.py: signature creation, scanning, xref signatures (uses sigmaker.py)api_debug.py: debugger control, unsafe / low priority for testsapi_python.py: execute Python in IDA contextapi_resources.py:ida://MCP resources
Core implementation rules
IDA thread safety
All IDA SDK calls must run on the main thread. Use:
from .rpc import tool
from .sync import idasync
@tool
@idasync
def my_tool(...):
...API conventions
- Prefer batch-first APIs.
- Many functions accept either a comma-separated string or a list.
- Use full type hints and
Annotated[...]descriptions. - The function docstring becomes the MCP tool description.
Example:
def my_api(addrs: Annotated[str, "Addresses (0x401000, main) or list"]) -> list[dict]:
...Common helpers
- Parse addresses with
parse_address() - Normalize batch input with
normalize_list_input()/normalize_dict_list() - Use shared pagination / filtering helpers from
utils.py
Unsafe operations
Debugger or destructive operations should be marked unsafe:
from .rpc import tool, unsafe
@unsafe
@tool
@idasync
def dangerous_op(...):
...Development commands
Run
uv run ida-pro-mcp
uv run ida-pro-mcp --transport http://127.0.0.1:8744/sse
uv run idalib-mcp --stdio path/to/binary
uv run idalib-mcp --host 127.0.0.1 --port 8745 path/to/binary
uv run ida-pro-mcp --unsafeMCP inspector
uv run mcp dev src/ida_pro_mcp/server.pyInstall / uninstall
uv run ida-pro-mcp --install
uv run ida-pro-mcp --uninstallTesting and coverage
Run tests
Use the headless test runner:
uv run ida-mcp-test tests/crackme03.elf -q
uv run ida-mcp-test tests/typed_fixture.elf -q
uv run ida-mcp-test tests/crackme03.elf -c api_analysis
uv run ida-mcp-test tests/typed_fixture.elf -p "*stack*"Notes:
- Use
uv run ... - Non-interactive output should show failures only plus a summary
- Binary-specific tests should use
@test(binary="...")with the executable basename
Coverage
Measure coverage across both maintained fixtures:
uv run coverage erase
uv run coverage run -m ida_pro_mcp.test tests/crackme03.elf -q
uv run coverage run --append -m ida_pro_mcp.test tests/typed_fixture.elf -q
uv run coverage report --show-missingCurrent fixture intent:
tests/crackme03.elf: compact general regression fixturetests/typed_fixture.elf: typed globals / structs / locals / stack coverage fixture
Test expectations
- Prefer semantic assertions, not weak "field exists" checks
- Prefer round-trip tests for mutating APIs
- If tests expose clearly wrong API behavior, fix the API instead of weakening the test
- Focus on IDA-facing modules, not server/config plumbing
- Expect some IDA / Hex-Rays variance; guarded assertions or runtime skips are acceptable when justified
Generic-test sanity check
When adding generic tests, also try a non-fixture binary to avoid ELF-specific assumptions:
uv run ida-mcp-test "C:\CodeBlocks\x64dbg\bin\x64\x64dbg.dll" -qScope priorities
High priority:
api_analysis.pyapi_types.pyapi_modify.pyapi_stack.pyapi_memory.pyapi_core.pyapi_resources.pyutils.pyframework.py
Lower priority:
api_debug.py- MCP transport / hosting details
- install / config mutation logic
Practical notes
- Server/plugin Python: 3.11+
- IDA Pro 8.3+; 9.0 recommended
- IDA Free is not supported
- If IDA uses the wrong Python, use
idapyswitch
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

