pwndbg-lldb-mcp
Click on "Install 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., "@pwndbg-lldb-mcpload /tmp/buffer and check heap chunks"
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.
pwndbg-lldb-mcp
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.
Features
146 tools spanning 18 categories of pwndbg and LLDB functionality
Session isolation — each debugging session runs in its own LLDB process, identified by UUID
Async PTY communication — commands are sent over a pseudo-terminal with prompt detection and 30-second timeouts
Escape hatch — the
pwndbg_commandtool can run any pwndbg or LLDB command directly
Tool Categories
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) |
Related MCP server: gdb_mcp
Quick Start
Prerequisites
Python 3.10+
An MCP-compatible AI client (e.g. Claude Desktop, Claude Code)
Install
git clone https://github.com/Micro-Evaluation-Group/pwndbg-lldb-mcp.git
cd pwndbg-lldb-mcp
uv syncThis 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.
Claude Code
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.pyOr 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.pyClaude Desktop
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"]
}
}
}Usage
Once connected, the AI assistant can:
Start a session —
pwndbg_startspawns an LLDB+pwndbg processLoad a binary —
pwndbg_loadloads an executable for analysisSet breakpoints —
pwndbg_breaksets breakpoints by symbol or addressRun and step —
pwndbg_run,pwndbg_step,pwndbg_next, etc.Inspect state — registers, memory, stack, heap, disassembly
Exploit development — ROP gadgets, cyclic patterns, patching, shellcode
Documentation
Read the docs online — built automatically on every push to main.
Quick Start — installation, configuration, usage
Architecture — PTY communication, session model, tool categories
API Reference — all 146 tools with full docstrings
Build locally
pip install -e ".[docs]"
make -C docs html
open docs/_build/html/index.htmlLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that exposes GDB debugging as tools. An AI assistant can set breakpoints, run programs, step through code, inspect variables and memory, and examine registers — all via structured tool calls. Reverse debugging with rr is also supported.Last updated343MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to control GDB debugging sessions, including breakpoint management, thread analysis, and variable inspection, using the GDB/MI protocol.Last updated221MIT
- Alicense-qualityBmaintenanceA 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.Last updated128Apache 2.0
- AlicenseBqualityBmaintenanceMCP server that wraps gdb to enable LLMs to drive live debugging sessions, including starting sessions on binaries, attaching to processes, and running commands.Last updated73MIT
Related MCP Connectors
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
MCP server for AI dialogue using various LLM models via AceDataCloud
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Micro-Evaluation-Group/pwndbg-lldb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server