dap-mcp
by ctagard
Overview
Provides AI agents with the ability to debug code by exposing the Debug Adapter Protocol (DAP) over Model Context Protocol (MCP), enabling functionalities like setting breakpoints, inspecting variables, and stepping through code via natural language.
Installation
dap-mcp --mode fullSecurity Notes
The server's core functionality involves highly privileged operations such as evaluating arbitrary code (`debug_evaluate`) and executing native debugger commands (`debug_execute_command`) within the debugged process. By default, it runs in 'full' mode, enabling all control tools including variable modification and code execution. This means an untrusted or compromised AI agent could execute arbitrary commands on the system where DAP-MCP is running. The `snapcraft.yaml` uses 'classic' confinement, meaning the snap has full system access. While these capabilities are inherent to a debugging tool, they pose a significant security risk if the AI client or operating environment is not fully trusted. Configuration options exist to disable dangerous features (e.g., `readonly` mode, `allowExecute: false`), but the default settings expose maximum functionality.
Similar Servers
mcp_flutter
Connects Flutter applications with AI coding assistants to enable real-time debugging, UI inspection, and dynamic tool interaction for development workflows.
mcp-shark
Aggregate multiple Model Context Protocol (MCP) servers into a single unified interface with a powerful monitoring UI.
gdb-mcp-server
Provides an AI-assisted debugging server for GDB using the Model Context Protocol, enabling AI agents to interact with and control GDB sessions.
inspector
An interactive developer tool for testing, debugging, and monitoring MCP (Model Context Protocol) servers, including their tools, prompts, resources, and UI widgets.