================== /// MCP /// /// LLD /// ================== [server:online] [protocol:ready]
lldb-mcp
by stass
LLDB MCP server – exposes LLDB debugging through Claude’s Model Context Protocol.
51
4
SpecializedInstallation
1. Prerequisites
• Python 3.8 or newer must be available on the host where the MCP server will run.
• LLDB must be installed and on your PATH (the server spawns and controls the LLDB debugger).
2. Clone the repository
git clone https://github.com/stass/lldb-mcp.git
cd lldb-mcp
3. (Recommended) create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
4. Install Python dependencies
pip install -r requirements.txt # if the repo includes a requirements.txt
# If no requirements file is present the project has no external runtime deps.
5. Configuration (optional)
• LLDB_MCP_PORT – TCP port to expose (default 43981).
• LLDB_MCP_TOKEN – shared secret sent by clients for auth (leave empty to disable auth).
6. Run the server
python -m lldb_mcp # generic package entry-point
# or, if a script named server.py is present:
python server.py
7. Connect a Model Context Protocol client to ws://<host>:<port>/ to begin a debugging session.
Documentation
License: BSD 2-Clause "Simplified" License
Updated 7/30/2025