dbgmcp: MCP servers for GDB, LLDB, and PDB debuggers

dbgmcp: MCP servers for GDB, LLDB, and PDB debuggers

dbgmcp•byramenhost

A collection of Model Context Protocol servers that connect the GDB, LLDB, and PDB debuggers to LLM agents.

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

WHAT IT DOES

  • •Provides separate MCP servers for each supported debugger, which can be enabled or disabled as needed.
  • •Lets agents load programs into the debugger and execute arbitrary debugger commands.
  • •Supports multiple simultaneous connections.

BEST FOR

  • •Debugging with an LLM agent using GDB, LLDB, or PDB from an MCP-capable client.
  • •Running debugger commands through an AI agent, with the caveat that agents can execute arbitrary commands including shell commands.

ABOUT DBGMCP

dbgmcp: MCP servers for GDB, LLDB, and PDB debuggers is cataloged as an MCP server attributed to ramenhost. A collection of Model Context Protocol servers that connect the GDB, LLDB, and PDB debuggers to LLM agents. 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 dbgmcp: MCP servers for GDB, LLDB, and PDB debuggers 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

What debuggers does dbgmcp support?

It supports GDB (GNU Debugger), LLDB (LLVM Debugger), and PDB (Python Debugger), with a separate server binary for each.

Are there safety risks when letting an AI agent use these debuggers?

Yes. The README cautions that AI agents can execute arbitrary commands inside debuggers, including shell commands, so users should proceed at their own risk.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5f24159295db · 采集于 2026-11-13 10:16:44 UTC

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

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

GitHub release (latest by date) Follow @ramenhost

dbgmcp

A collection of MCP servers to connect various debuggers to LLM agents using Model Context Protocol. Supported debuggers include:

  • GDB (GNU Debugger)
  • LLDB (LLVM Debugger)
  • PDB (Python Debugger)

https://github.com/user-attachments/assets/fa745e69-2bd9-482c-b5f1-59b42e458760

Features

  • Separate servers for each debugger. Enable or disable them as needed.
  • Load programs into the debugger.
  • Execute arbitrary commands in the debugger.
  • Supports multiple simultaneous connections.

[!CAUTION] AI agents can execute arbitrary commands inside debuggers, including shell commands. Use at your own risk.

Installation

Simple way is to pick a pre-built binary for your platform from the releases page. Currently, pre-built binaries are available for the following platforms:

  • Linux x86_64 (x86_64-unknown-linux-musl)

The binaries are named according to the debugger they support:

  • gdb-mcp
  • lldb-mcp
  • pdb-mcp.

If pre-built binaries are not available for your platform, you can build the project from source.

Building from source

Requires Rust and Cargo to be installed. You can install them using rustup.

git clone https://github.com/ramenhost/dbgmcp
cd dbgmcp

cargo build --release

This will create MCP server binaries in target/release/ folder.

Usage

Claude Desktop

  1. Open the Claude desktop settings. Click on “Developer” in the left-hand bar of the settings pane, and then click on “Edit Config”. The will create a claude_desktop_config.json file and display it in filesystem.
  2. Add required MCP servers to the claude_desktop_config.json. Below configuration includes all debuggers in Claude (GDB, LLDB and PDB). You can include only the servers you need.
{
  "mcpServers": {
    "gdb": {
      "command": "/path/to/gdb-mcp",
      "args": []
    },
    "lldb": {
      "command": "/path/to/lldb-mcp",
      "args": []
    },
    "pdb": {
      "command": "/path/to/pdb-mcp",
      "args": []
    }
  }
}
  1. Restart Claude or refresh the page.

For more details, see Claude docs.

VS Code Github Copilot

  1. Enable MCP support in VS Code settings. To enable MCP support in VS Code, enable the chat.mcp.enabled setting.
  2. Create a .vscode/mcp.json file in your workspace.
  3. Add required MCP servers to the mcp.json file. Below configuration includes all debuggers in VS Code (GDB, LLDB and PDB). You can include only the servers you need.
{
    "servers": {
        "gdb": {
            "type": "stdio",
            "command": "/path/to/gdb-mcp",
            "args": []
        },
        "lldb": {
            "type": "stdio",
            "command": "/path/to/lldb-mcp",
            "args": []
        },
        "pdb": {
            "type": "stdio",
            "command": "/path/to/pdb-mcp",
            "args": []
        }
    }
}
  1. Restart VS Code or reload the window.
  2. Now, the debugger tools are avilable in Agent mode of Github Copilot chat.

For more details, see VS Code docs.

Credits

  • GDB functionality is rust rewrite of mcp-gdb

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 dbgmcp: MCP servers for GDB, LLDB, and PDB debuggers 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/dbgmcp)

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