LLDB MCP server

LLDB MCP server

lldb_mcp•bystableversion

A minimal MCP server that lets an LLM run LLDB debugger commands through two tools and captures the debugger output automatically.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes two MCP commands, lldb_init and lldb, for controlling LLDB.
  • •Automatically captures LLDB command output instead of requiring copy-paste.
  • •Runs commands synchronously through HandleCommand and returns full output or error text.
  • •Applies safety restrictions: the server must be started manually in an LLDB session, some commands are blacklisted, and command chaining is disallowed.

BEST FOR

  • •Debugging programs with LLDB while keeping full manual control over the debugger session.
  • •LLM-assisted debugging workflows with models such as o4-mini and Gemini 2.5 Pro.

ABOUT LLDB_MCP

LLDB MCP server is cataloged as an MCP server attributed to stableversion. A minimal MCP server that lets an LLM run LLDB debugger commands through two tools and captures the debugger output automatically. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for LLDB MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How do I prevent the MCP server from executing arbitrary LLDB commands?

You start the server manually in an LLDB session, some commands are blacklisted in lldb_server.py, and command chaining is not allowed.

What happens when an LLDB command succeeds without producing output?

It returns "Executed successfully" instead of empty output, which would otherwise confuse LLMs.

Upstream README

View this exact version on GitHub

README.md · c3e81d89e829 · Fetched 2026-11-13 10:53:27 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

lldb_mcp

A proper, simple lldb mcp server with minimal dependencies and all functionality! There are only two commands lldb_init and lldb, no need to clutter your tools. Works remarkably well with o4-mini and Gemini 2.5 Pro. You remain fully in control.

The output is automagically captured, no need to copy paste.

Setup

git clone https://github.com/stableversion/lldb_mcp
cd lldb_mcp && python3 -m venv venv && source venv/bin/activate && pip3 install fastmcp
{
  "mcpServers": {
    "lldb": {
      "command": "/path/to/ldb_mcp/venv/bin/python",
      "args": ["/path/to/ldb_mcp/lldb_mcp.py"]
    }
  }
}
(lldb) command script import /path/to/lldb_mcp/lldb_server.py

Architecture

The entire codebase is less than 200 lines of code, because:

  • Synchronous LLDB: Calling debugger.SetAsync(False) makes HandleCommand block and capture all output directly. This avoids complex event listeners (SBListener) and polling.
  • Simple Controller: The LLDBController just runs commands via HandleCommand and returns the full output/error it receives.
  • Standard Libraries: Uses Python's built-in socketserver and json

Safety

lldb can execute ANY arbitrary commands, it should be prevented

  • You have to start the server in a lldb session manually
  • Some commands are blacklisted, check lldb_server.py
  • Chaining of commands is not allowed (o4-mini really likes to)

Notes

  • o4 mini has a tendency to hallucinate --address in memory commands.
  • Some commands "succeeded" without output, this is confusing for llms, so it returns "Executed successfully" instead.
  • "Continue" can run indefinitely until it hits a breakpoint, meaning the mcp can wait forever for output (skip and continue is your friend)

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for LLDB MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/lldb_mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools