1. Conduid
  2. Developer Tools
  3. Mdb MCP
MCP server · Developer Tools

Mdb MCP

Multi Debugger MCP server that enables LLMs to interact with GDB and LLDB for binary debugging and analysis.

63Good

Scored yesterday · breakdown

About Mdb MCP

Mdb MCP is an MCP server published by smadi0x86 in the Developer Tools category: multi Debugger MCP server that enables LLMs to interact with GDB and LLDB for binary debugging and analysis.

The repository has 74 stars and 9 forks, with the last commit 10 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/smadi0x86/MDB-MCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Mdb MCP

Powered by Claude · Grounded in docs

I know everything about Mdb MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MDB-MCP

CI

An MCP server that gives your AI assistant a real debugger. It drives GDB or LLDB, so the assistant can set breakpoints, run your program, read memory and walk the stack the same way you would.

Install

You need uv and at least one debugger:

# Debian / Ubuntu
sudo apt install gdb lldb python3-lldb

# macOS (LLDB ships with the Xcode command line tools)
xcode-select --install

Then add the server to your client. For Claude Code:

claude mcp add mdb -- uvx --from git+https://github.com/smadi0x86/MDB-MCP mdb-mcp

For Claude Desktop, Cursor or Windsurf:

{
  "mcpServers": {
    "mdb": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/smadi0x86/MDB-MCP", "mdb-mcp"]
    }
  }
}

VS Code takes the same entry under "servers" in .vscode/mcp.json, with "type": "stdio" added. On Windows with WSL, set "command": "wsl" and put the full path to uvx at the start of args.

Tools

debugger_status      which debuggers are usable, and the open sessions
debugger_start       start a gdb or lldb session, optionally loading a program
debugger_command     run any gdb or lldb command
debugger_interrupt   pause a running program, like Ctrl-C
debugger_terminate   kill the program and close the session

Everything else is a normal debugger command, so break main, bt, x/16gx $sp and frame variable all work. Commands that resume the program wait for it to stop (10 seconds by default, adjustable per call). If it is still running after that, the assistant can interrupt it or keep waiting.

GDB is the default on Linux and LLDB on macOS. Either can be picked explicitly. GDB loads your ~/.gdbinit, so pwndbg and GEF keep working.

Try it

make -C examples

Then ask your assistant why examples/crash segfaults (give it the absolute path).

Configuration

To use a debugger other than the one on your PATH, set it in the server's env in your client config:

"env": {
  "MDB_GDB_PATH": "gdb-multiarch",
  "MDB_LLDB_PATH": "/opt/homebrew/opt/llvm/bin/lldb"
}

Troubleshooting

If LLDB shows up as unavailable, debugger_status tells you why. On Debian and Ubuntu it is usually a missing python3-lldb, which has to match your LLDB version.

The program can't read from your keyboard. Feed it a file instead:

run < input.txt                    # gdb
process launch -i input.txt        # lldb

If attaching to a running process fails on Linux, check /proc/sys/kernel/yama/ptrace_scope. A value of 1 only allows debugging child processes.

Security

A debugger can run shell commands (shell, python, platform shell, script), and the programs you debug run as your user. Only debug code you trust, and keep tool approval on for debugger_command unless you are in a sandbox.

Development

uv sync
uv run pytest                      # tests for a missing debugger are skipped
uv run ruff check . && uv run ruff format --check .

The demo above is recorded from real tool calls with demo/record.py. See the top of that file for how to regenerate it.

License

GPL-3.0

MseeP.ai Security Assessment Badge

README fetched from the repository 6 hours ago. The original is authoritative.

Questions

About Mdb MCP

How do I install Mdb MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mdb MCP safe to use with an AI agent?

Its trust score is 63 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mdb MCP still maintained?

Yes — the last commit was 10 days ago. The repository has 74 stars and 9 forks and 2 open issues.