Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ctxdebug — MCP-powered reverse engineering platform connecting WinDbg, IDA Pro & x64dbg with 160+ AI-accessible debugging and analysis tools. | Kitploit
Tools/GitHubGitHub/ddudle/ctxdebug
Static AnalysisDynamic Code Analysis (DAST)Reverse EngineeringDebuggersMalware AnalysisBinary AnalysisAI-Assisted Reversing
GitHubddudle/ctxdebug

ctxdebug

MCP-powered reverse engineering platform connecting WinDbg, IDA Pro & x64dbg with 160+ AI-accessible debugging and analysis tools.

View Repository
1925 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

ctxdebug — mission control for reverse engineering

MISSION CONTROL FOR REVERSE ENGINEERING
One stdio interface · 160+ tools · Three debuggers, one mission control.

status python platform mcp license

Quick Start · Architecture · Servers · Workflows · Report an Issue

Website · ctxdebug.xyz  ·  Contact · [email protected]  ·  Status · Public alpha

Built for authorized reverse engineering, debugging and security research.


▎ Overview

ctxdebug is an MCP server platform that connects WinDbg, IDA Pro 9.x, and x64dbg to AI coding assistants for reverse engineering and Windows security research.

One stdio interface. 160+ tools. Three debuggers, one mission control.

The idea. MCO turns your debuggers into MCP (Model Context Protocol) tool servers. You talk to Claude, Kiro, or any MCP-compatible client — it talks to your debuggers. No copy-pasting output. No switching windows. No manual data correlation between tools.

One round trip. You say "analyze this crash dump and find the root cause." MCO opens the dump in WinDbg, runs !analyze -v, extracts the faulting address, pivots to IDA Pro to decompile the crashing function, and returns a combined report with pseudocode and caller chain.


▎ Demo

ctxdebug demo — crash dump to root cause in one round trip

One prompt → WinDbg opens the dump, analyzes the crash, pivots to IDA, and returns the faulting source — root cause in ~1.8s.


▎ Launch Sequence

T-2 — Requirements

  • Python 3.11+
  • OS Windows 10 / 11
  • At least one debugger — WinDbg (Windows SDK) · IDA Pro 9.x · x64dbg

T-1 — Install

root@kitploit:~
git clone https://github.com/DdUdle/ctxdebug.git
cd ctxdebug
pip install -e .

T-0 — Register servers

Individual servers:

root@kitploit:~
claude mcp add windbg       -- python windbg_mcp.py
claude mcp add ida          -- python ida_mcp.py
claude mcp add x64dbg       -- python -m agent --mcp
claude mcp add mco          -- python mco_orchestrator.py
claude mcp add mco-sessions -- python mco_sessions.py

Or use the unified gateway — one server, every tool:

root@kitploit:~
claude mcp add mco-gateway -- python mco_gateway.py

See mcp_config_example.json for full JSON configuration with environment variables.

LIFTOFF — Test it

Once a server is registered, ask your AI client:

root@kitploit:~
Open C:\dumps\crash.dmp, run a full crash analysis,
and decompile the function at the fault address.

MCO chains windbg_open_dump → windbg_analyze_crash → mco_pivot_to_ida automatically and returns pseudocode with the caller chain.


▎ Features


▎ Architecture

System architecture — one MCP connection fans out to three debuggers, an orchestrator, and a session layer

  • Transport — stdio JSON-RPC (MCP 2024-11-05 spec)
  • IDA communication — HTTP REST to localhost:2022, auto-discovers endpoint from 6 candidates
  • x64dbg communication — binary framing over named pipe (X64A magic + uint32 length + 8-byte padding + JSON)
  • Agent reasoning — ReAct loop with pluggable LLM backends (Claude, Groq, OpenRouter, local Ollama, or heuristics-only)
  • Sessions — SQLite with FTS5 full-text search, WAL mode, thread-safe
  • Gateway — spawns sub-servers as child processes, proxies all tool calls through one stdio connection

▎ Fleet — Servers


▎ Ground Setup — Debuggers

WinDbg

Needs cdb.exe from the Windows SDK. Default path:

root@kitploit:~
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe

Set WINDBG_MCP_CDB if your path differs. No pre-launch needed — tools open dumps or attach on demand.

IDA Pro 9.x
  1. Open IDA Pro 9.x with a binary loaded.

  2. In the Python console, run:

    root@kitploit:~
    exec(open(r'path\to\mco\ida_server_plugin.py').read())
    
  3. HTTP server starts on port 2022.

x64dbg
  1. Build the C++ plugin:

    root@kitploit:~
    cd agent\plugins
    build_plugin.bat
    
  2. Copy mco_agent.dp64 to x64dbg's plugin directory.

  3. Restart x64dbg — the plugin exposes named pipe \\.\pipe\x64dbg_ai_agent.


▎ Key Workflows

Crash → source code (one command)

root@kitploit:~
mco_crash_to_source(dump_path="C:\\dumps\\crash.dmp")

Opens the dump, runs !analyze -v, extracts the faulting address, decompiles the crashing function in IDA, and returns pseudocode with callers.

Anti-debug detection & bypass

root@kitploit:~
mco_bossix_report()
bossix_hide()            # PEB patch
bossix_patch(address)    # NOP / flip JCC at check

Pivot any address to pseudocode

root@kitploit:~
mco_pivot_to_ida(address="0x7FF712340000")

Autonomous, goal-driven analysis

root@kitploit:~
agent_analyze(goal="Find the unpacking loop and identify the OEP")

The agent plans a sequence of tool calls, executes them, and reports findings — with or without an LLM backend.

Session recording

root@kitploit:~
session_start(name="chrome uaf analysis")
# ... do your work ...
session_end(notes="UAF at CRenderObject::Destroy")
session_export_markdown(session_id=1)

▎ x64dbg Server Modes


▎ Environment Variables


▎ Project Structure

root@kitploit:~
mco/
├── windbg_mcp.py           # WinDbg MCP server (production, 3000+ lines)
├── ida_mcp.py              # IDA Pro MCP server
├── ida_server_plugin.py    # IDA Python plugin (starts HTTP server)
├── mco_orchestrator.py     # Cross-debugger meta-tools
├── mco_sessions.py         # Session recording (SQLite + FTS5)
├── mco_gateway.py          # Unified gateway proxy
├── agent/
│   ├── __main__.py         # x64dbg MCP entry point + LLM backend selection
│   ├── core.py             # ReAct agent (Observe → Think → Act)
│   ├── memory.py           # Persistent memory store (~/.x64ai/)
│   ├── bridge.py           # Named-pipe IPC to x64dbg plugin
│   ├── mcp_server.py       # Tool definitions (38+)
│   ├── skills/             # Modular skill implementations
│   └── plugins/
│       ├── x64dbg_plugin.cpp
│       └── build_plugin.bat
├── mcp_config_example.json # Ready-to-use MCP client config
└── pyproject.toml

▎ Development

root@kitploit:~
git clone https://github.com/DdUdle/ctxdebug.git
cd ctxdebug
pip install -e ".[dev]"
pytest

▎ Contributing

Contributions are welcome. Please open an issue before starting large changes so the approach can be discussed first.


▎ License

MIT — see LICENSE.

Three debuggers. One mission control. Go for launch. 🔥

Download Tool
CapabilityWhat it does
Real-time debugger controlRun, pause, step, and inspect a live process through x64dbg. Set breakpoints on entire API groups (memory, network, crypto, bossix) instead of one address at a time.
Cross-debugger pivotingTake an address from a WinDbg crash dump and jump straight to IDA Pro decompilation, callers, and callees with one tool call.
Autonomous analysis agentThe x64dbg server ships an optional ReAct reasoning agent (agent_analyze) that plans and executes multi-step goals — "find the unpacking loop", "identify anti-debug checks" — chaining tool calls on its own. Works with Claude, Groq, local Ollama, or heuristics-only.
Persistent memoryThe agent remembers packer signatures, anti-debug patterns, and past-session insights, and recalls them automatically on new targets.
Session recordingEvery tool call can be logged to SQLite with full-text search (FTS5). Replay a timeline, diff two sessions, or export a full Markdown report.
Anti-debug detect & bypassStatic scan (IDA imports/patterns) + dynamic scan (x64dbg PEB/RDTSC) combined into one report, with automatic PEB patching and instruction-level bypass patches.
ServerFileWhat it doesTools
windbgwindbg_mcp.pyCrash dumps, heap analysis, shadow stack, kernel debugging70+
idaida_mcp.pyDecompilation, xrefs, type recovery, binary patching32+
x64dbgagent/Dynamic analysis, ReAct agent, anti-debug bypass, memory patching38+
mcomco_orchestrator.pyCross-debugger compound workflows7
mco-sessionsmco_sessions.pySession recording, FTS search, Markdown export13
mco-gatewaymco_gateway.pyUnified proxy — all servers through one connectionall
ModeCommand
Tool-only (default)python -m agent --mcp
Claude reasoningpython -m agent --mcp --llm claude --api-key sk-...
Local Ollamapython -m agent --mcp --llm local --llm-model deepseek-r1
Groq (free tier)python -m agent --mcp --llm groq
OpenRouterpython -m agent --mcp --llm openrouter
Interactive CLIpython -m agent --cli
VariableServerPurpose
WINDBG_MCP_CDBwindbgPath to cdb.exe
IDA_MCP_HOSTidaIDA HTTP host (default: localhost)
IDA_MCP_PORTidaIDA HTTP port (default: 2022)
X64DBG_PATHx64dbgPath to x64dbg.exe
X64DBG_PIPEx64dbgNamed pipe path
ANTHROPIC_API_KEYx64dbgOnly needed with --llm claude
GROQ_API_KEYx64dbgOnly needed with --llm groq
MCO_SESSIONS_DBsessionsSQLite database path
MCO_SERVERSgatewayComma-separated subset of servers to enable