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.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

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.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c3e81d89e829 · 采集于 2026-11-13 10:53:27 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

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