Back to Home
ctagard icon

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

Run Command
dap-mcp --mode full

Security 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

Stats

Interest Score0
Security Score4
Cost ClassMedium
Avg Tokens510
Stars0
Forks0
Last Update2025-11-30

Tags

DebuggingAI AgentsDAPMCPDeveloper Tool