What protocols does dap-mcp support?
dap-mcp integrates the Debug Adapter Protocol (DAP) for debugger communication and the Model Context Protocol (MCP) for AI-assisted context management.
@KashunCheng
基本信息
Model Context Protocol (MCP) server that interacts with a Debugger
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"dap_mcp": {
"command": "python",
"args": [
"-m",
"dap_mcp",
"--config",
"config.json"
]
}
}
}** Launch the debuggee program.
** Set a breakpoint at a specified file and line (with an optional condition).
** Remove a breakpoint from a specified file and line.
** List all breakpoints currently set in the debugger.
** Continue program execution after hitting a breakpoint.
** Step into a function call.
** Step out of the current function.
** Step over to the next line of code.
** Evaluate an expression in the current debugging context.
** Switch to a different stack frame.
** View source code around a specified line (using the last provided file if none is specified).
** Terminate the debugging session.
dap-mcp is an MCP server that integrates the Model Context Protocol (MCP) with the Debug Adapter Protocol (DAP) to manage debugging sessions. It is designed for developers who want to leverage LLMs to streamline debugging workflows.
Install with pip install dap-mcp, then run with python -m dap_mcp --config config.json. Optionally use uvx dap-mcp@latest --config config.json. Configure debugger settings, source directories, and debuggee parameters via a JSON configuration file.
dap-mcp integrates the Debug Adapter Protocol (DAP) for debugger communication and the Model Context Protocol (MCP) for AI-assisted context management.
Python 3.10 or higher is required. The `uv` package manager is optional but recommended for running the server.
Configuration is stored in a JSON file (e.g., `config.json`) that specifies the debugger path, source directories, module, working directory, and interpreter.
Yes. Add a new DAP configuration class in `dap_mcp/config.py` by subclassing `DAPConfig` with a unique `type` literal, then update the union type for validation.
dap-mcp is licensed under the AGPL-3.0 License.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep

Model Context Protocol Servers
Painless E2E Automation for Mobile and Web
🚀 The fast, Pythonic way to build MCP servers and clients.

Run advanced phishing, voice phishing, deepfake fraud simulations, and cybersecurity awareness training from your AI assistant.
评论