MCP.so
登录

Lldb MCP Server

@stableversion

基本信息

分类

其他

传输方式

stdio

作者

stableversion

关于 Lldb MCP Server

A proper, clean LLDB MCP server with minimal dependencies and all functionality!

Lldb MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Lldb MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Lldb_mcp?

Lldb_mcp is a simple MCP server for the LLDB debugger with minimal dependencies. It provides two commands (lldb_init and lldb) and works well with o4-mini and Gemini 2.5 Pro. Output is captured automatically, so no copy-paste is needed.

How to use Lldb_mcp?

Clone the repository, create a Python virtual environment, install fastmcp, then configure your MCP client with the path to the virtual environment’s Python and the lldb_mcp.py script. Additionally, import lldb_server.py into a running LLDB session. The server must be started manually inside an LLDB session.

Key features of Lldb_mcp

  • Minimal dependencies (less than 200 lines of code)
  • Only two commands: lldb_init and lldb
  • Automatic output capture – no manual copy-paste
  • Synchronous LLDB operation avoids complex event listeners
  • Command chaining is disallowed for safety
  • Returns “Executed successfully” when a command produces no output

Use cases of Lldb_mcp

  • Debugging programs using LLMs that can issue LLDB commands
  • Automating LLDB interactions via MCP protocol without manual terminal work
  • Using o4-mini or Gemini 2.5 Pro to control LLDB debugging sessions
  • Safe, manually‑started LLDB command execution with a blacklist of dangerous commands

常见问题

1

How does Lldb_mcp handle command execution?

Lldb_mcp calls `HandleCommand` with `SetAsync(False)` to block and capture all output directly. This avoids complex event listeners and polling.

2

What are the runtime requirements for Lldb_mcp?

Python 3, the `fastmcp` library, and a running LLDB session. The server must be started manually inside an LLDB session.

3

Where does data live?

All LLDB commands are executed in the local LLDB session; no data is sent to external servers except what the MCP protocol exchanges with the client.

4

What are known limitations of Lldb_mcp?

Some commands may succeed without output (handled by returning “Executed successfully”). The “Continue” command can run indefinitely until a breakpoint is hit, causing the MCP to wait forever. o4-mini may hallucinate the `--address` flag in memory commands.

5

How does Lldb_mcp ensure safety?

The server must be started manually in a LLDB session. Certain commands are blacklisted (see `lldb_server.py`), and command chaining is not allowed.

评论

其他 分类下的更多 MCP 服务器