loading…
Search for a command to run...
loading…
An MCP server that exposes pwndbg commands running under LLDB as tools for AI assistants. This enables AI-driven binary analysis, exploit development, and rever
An MCP server that exposes pwndbg commands running under LLDB as tools for AI assistants. This enables AI-driven binary analysis, exploit development, and reverse engineering through pwndbg's enhanced debugging capabilities.
An MCP server that exposes pwndbg commands running under LLDB as tools for AI assistants. This enables AI-driven binary analysis, exploit development, and reverse engineering through pwndbg's enhanced debugging capabilities.
pwndbg_command tool can run any pwndbg or LLDB command directly| Category | Examples |
|---|---|
| Session Management | start, terminate, list sessions |
| Program Loading | load executable, attach to process, load core dump |
| Execution Control | run, step, next, finish, continue, nextjmp, nextcall, nextret |
| Breakpoints & Watchpoints | set, delete, enable/disable |
| Context & Display | pwndbg context — registers, disassembly, stack, backtrace |
| Memory Inspection | telescope, hexdump, vmmap, search, read/write |
| Registers & CPU State | read/write registers, FPU, CPUID |
| Disassembly | nearpc, pdisass, emulate (Unicorn) |
| Stack & Arguments | argv, retaddr, dumpargs, canary, backtrace |
| ELF / Binary Analysis | checksec, GOT/PLT, PIE offsets, ELF headers |
| Heap Analysis | glibc ptmalloc2 — arena, bins, chunks, tcache |
| Exploit Development | cyclic patterns, ROP gadgets, patching, assembler, XOR |
| Process Information | procinfo, ASLR, auxv, libc info, errno |
| WinDbg Compatibility | db, dw, dd, dq memory dump commands |
| Darwin / macOS | commpage, plist |
| Configuration & Meta | config, theme, tips, version |
| LLDB Native | expression eval, type lookup, image list |
| Kernel Debugging | kchecksec, ksymbol, slab, paging (via QEMU/kgdb) |
git clone https://github.com/Micro-Evaluation-Group/pwndbg-lldb-mcp.git
cd pwndbg-lldb-mcp
uv sync
This creates a .venv/ with all dependencies installed. The MCP server must be
run using this venv's Python binary so that mcp and other dependencies are
available. If you're already running inside the activated venv, you can use
python directly; otherwise, use the full path to the venv binary.
Add the MCP server to your project, using the venv's Python binary:
claude mcp add pwndbg-lldb -- /path/to/pwndbg-lldb-mcp/.venv/bin/python /path/to/pwndbg-lldb-mcp/pwndbg_lldb_mcp.py
Or add it globally (available in all projects):
claude mcp add --scope user pwndbg-lldb -- /path/to/pwndbg-lldb-mcp/.venv/bin/python /path/to/pwndbg-lldb-mcp/pwndbg_lldb_mcp.py
Add to ~/Library/Application Support/Claude/claude_desktop_config.json,
pointing to the venv's Python binary:
{
"mcpServers": {
"pwndbg-lldb": {
"command": "/path/to/pwndbg-lldb-mcp/.venv/bin/python",
"args": ["/path/to/pwndbg-lldb-mcp/pwndbg_lldb_mcp.py"]
}
}
}
Once connected, the AI assistant can:
pwndbg_start spawns an LLDB+pwndbg processpwndbg_load loads an executable for analysispwndbg_break sets breakpoints by symbol or addresspwndbg_run, pwndbg_step, pwndbg_next, etc.Read the docs online — built automatically on every push to main.
pip install -e ".[docs]"
make -C docs html
open docs/_build/html/index.html
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"pwndbg-lldb-mcp": {
"command": "npx",
"args": []
}
}
}