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
Basic information
Model Context Protocol (MCP) server that interacts with a Debugger
Add this server to your MCP-compatible client using the configuration below.
{
"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.

Model Context Protocol Servers
🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
PickFu MCP is a Model Context Protocol (MCP) server that connects AI assistants, developers, marketers, product managers, and AI agents to PickFu's consumer research platform. It enables users to create surveys, conduct
Painless E2E Automation for Mobile and Web
Comments