DAP Bridge
Enables AI coding agents to natively launch, control, and inspect debugging sessions across multiple programming languages by translating Model Context Protocol (MCP) tool calls into standard Debug Adapter Protocol (DAP) requests.
mcp-dap is a high-performance, single-binary server written in Rust that bridges AI coding agents (such as Claude, Cursor, or Gemini) to battle-tested debug adapters. It acts as an intermediary, translating MCP tool calls from AI agents into standard DAP requests, thereby allowing these agents to natively launch, control, and inspect debugging sessions across various programming languages without needing to reinvent debugging logic. This server boasts features like a single static binary, automatic truncation of large variable values to protect LLM context windows, and the injection of surrounding source lines at breakpoints for efficient debugging. It supports a full debugging session lifecycle, operates asynchronously and concurrently, and enhances security through an adapter allow-list.