Skip to main content
Glama
darknoon
by darknoon

MCP Debugger

Image demonstrating the debugger

An Model Context Protocol (MCP) server that provides debugging capabilities for Python, C, C++, Rust, Swift, and more through the Debug Adapter Protocol (DAP).

  • Get breakpoints, step-by-step evaluation, and segfault stack traces.

  • Read program stdout/stderr in pages (lines: 0-100, etc...) without flooding the context window.

  • Programs run async, debug multiple applications at once.

Installation

Cursor:

Install MCP Server

Claude Code:

claude mcp add --transport stdio Debugger -- npx -y mcp-debugger-dap@latest

Manual configuration:

"Debugger": {
  "command": "npx",
  "args": ["-y", "mcp-debugger-dap@latest"]
}

Related MCP server: MCP Debugger

Supported debuggers

mcp-debugger-dap supports either Python (debugpy) or LLDB supported languages (tested: C, C++, Rust, Swift). Probably more such as Objective-C, Zig, etc... are supported through LLDB.

Python (debugpy)

Python 3 and pip must be installed.

The debugpy wheel is automatically downloaded to ~/.mcp-debugger.

LLDB

LLDB support requires a recent binary of lldb-dap.

For macOS users: On macOS Sequoia+ I confirmed tested, before this YMMV, comes included with XCode Command Line Tools.

For Linux users: I recommend the Helix editor guide to installing lldb-dap.

Demo

The demo/ directory contains example scripts demonstrating race conditions and other bugs that can be debugged using this MCP server.

cd demo
# Use Claude Code or another MCP client to debug:
# "Let's use the debugger to find the race condition in order_processor.py"

References

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/darknoon/mcp-debugger'

If you have feedback or need assistance with the MCP directory API, please join our Discord server