MCP Directory

LLDB-MCP

Integrate the LLDB debugger with Claude via MCP for AI-assisted debugging sessions.

Unverified
stdio (local)
No auth
Stale
Python

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
git clone https://github.com/stass/lldb-mcp.git && cd lldb-mcp && pip install mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "lldb-mcp": {
      "command": "python3",
      "args": [
        "/path/to/lldb-mcp/lldb_mcp.py"
      ]
    }
  }
}

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

  • Python 3.7+
  • LLDB installed on the system
  • Claude desktop app with MCP support
  • The mcp Python package (pip install mcp)

About LLDB-MCP

LLDB-MCP is a tool that integrates the LLDB debugger with Claude's Model Context Protocol (MCP). This integration allows Claude to start, control, and interact with LLDB debugging sessions directly, enabling AI-assisted debugging workflows. It provides commands for managing sessions, loading programs, setting breakpoints and watchpoints, controlling execution, and examining memory, registers, variables, and stack traces.

Tools & capabilities (28)

lldb_start

Start a new LLDB session.

lldb_terminate

Terminate an LLDB session.

lldb_list_sessions

List all active LLDB sessions.

lldb_load

Load a program into LLDB.

lldb_attach

Attach to a running process.

lldb_load_core

Load a core dump file.

lldb_run

Run the loaded program.

lldb_continue

Continue program execution.

lldb_step

Step to next line or instruction.

lldb_next

Step over function calls.

lldb_finish

Execute until the current function returns.

lldb_kill

Kill the running process.

lldb_set_breakpoint

Set a breakpoint.

lldb_breakpoint_list

List all breakpoints.

lldb_breakpoint_delete

Delete a breakpoint.

lldb_watchpoint

Set a watchpoint on a variable or memory address.

lldb_backtrace

Show call stack.

lldb_print

Print value of expression.

lldb_examine

Examine memory.

lldb_info_registers

Display registers.

lldb_frame_info

Get detailed information about a stack frame.

lldb_disassemble

Disassemble code.

lldb_process_info

Get information about the current process.

lldb_thread_list

List all threads in the current process.

lldb_thread_select

Select a specific thread.

lldb_command

Execute an arbitrary LLDB command.

lldb_expression

Evaluate an expression in the current frame.

lldb_help

Get help for LLDB commands.

When to use it

  • AI-assisted debugging of crashing programs (e.g. automatically diagnosing a buffer overflow)
  • Post-mortem analysis of core dump files
  • Inspecting memory, registers, and stack frames during a debugging session
  • Attaching to and controlling running processes through natural language

Security notes

The server can attach to running processes and execute arbitrary LLDB commands on the host. Check for permission issues when attaching to processes. Enable debug mode with the --debug flag for detailed logging.

LLDB-MCP FAQ

How do I run LLDB commands that don't have a dedicated function?

Use the lldb_command tool to execute arbitrary LLDB commands directly.

How do I enable detailed logging?

Start the server with the --debug flag to enable debug mode for detailed logging.

What should I do if LLDB commands are timing out?

Check that LLDB is installed correctly and verify the path to LLDB when starting a new session.

Alternatives to LLDB-MCP

Compare all alternatives →

Microsoft's official browser-automation MCP using Playwright's accessibility tree (no vision model).

Featured
Verified
stdio (local)
No auth
TypeScript
12 tools
Updated 13 days agoRepo

Up-to-date, version-specific library documentation injected into your coding agent.

Verified
stdio (local)
API key
TypeScript
2 tools
Updated 17 days agoRepo

LSP-powered coding agent toolkit: semantic symbol search, references and structural edits.

Verified
stdio (local)
No auth
Python
11 tools
Updated 15 days agoRepo