- Home
- MCP servers
- LLDB
LLDB
- python
75
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"stass-lldb-mcp": {
"command": "python3",
"args": [
"/path/to/lldb-mcp/lldb_mcp.py"
]
}
}
}LLDB MCP integrates the LLDB debugger with Claude's MCP, letting you start, control, and interact with debugging sessions directly from your client. This enables AI-assisted debugging workflows where you can load programs, set breakpoints, inspect memory, and step through code using natural language prompts.
How to use
You interact with LLDB MCP through an MCP client that connects to the LLDB session via the configured server. Start a new LLDB session, load your program, set breakpoints, and then control execution with commands like run, continue, step, and finish. You can inspect variables, memory, and registers, analyze stack traces, and disassemble code. Use natural language prompts to create and manage breakpoints, view backtraces, print values, and explore program state. Each session has a unique identifier, so reference the correct session when issuing commands.
Basic workflow
- Start a new LLDB session
- Load the program you want to debug
- Set breakpoints at relevant functions or lines
- Run the program to start execution
- Inspect variables, memory, and registers as needed
- Use step, next, or finish to control execution flow
- Examine the call stack with backtrace to understand the crash or bug
- Terminate the session when you are finished
Available tools
lldb_start
Start a new LLDB session and prepare the environment for debugging.
lldb_terminate
Terminate the current LLDB session and clean up resources.
lldb_list_sessions
List all active LLDB sessions managed by the MCP server.
lldb_load
Load a program into the current LLDB session for debugging.
lldb_attach
Attach the debugger to a running process.
lldb_load_core
Load a core dump for post-mortem analysis.
lldb_run
Run the loaded program under LLDB control.
lldb_continue
Continue program execution from the current point.
lldb_step
Step to the next instruction or line within the current frame.
lldb_next
Step over the next function call.
lldb_finish
Run until the current function returns.
lldb_kill
Terminate the running process being debugged.
lldb_set_breakpoint
Set a breakpoint at a specified location.
lldb_breakpoint_list
List all breakpoints currently set.
lldb_breakpoint_delete
Delete a breakpoint by location.
lldb_watchpoint
Set a watchpoint on a variable or memory address.
lldb_backtrace
Show the current call stack.
lldb_print
Print the value of an expression or variable.
lldb_examine
Examine memory content at a given address or region.
lldb_info_registers
Display the current register values.
lldb_frame_info
Get detailed information about the current stack frame.
lldb_disassemble
Disassemble code in the current context.
lldb_process_info
Get information about the current debugging process.
lldb_thread_list
List all threads in the current process.
lldb_thread_select
Select a specific thread for subsequent commands.
lldb_command
Execute an arbitrary LLDB command.
lldb_expression
Evaluate an expression in the current frame.
lldb_help
Get help for LLDB commands.