dlv-mcp
If you are the rightful owner of dlv-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server that allows LLMs to interact with the Delve Go debugger.
The Go Delve Debugger MCP Server is a Model Context Protocol (MCP) server designed to integrate with the Delve Go debugger, enabling AI assistants to debug Go applications. This server provides a suite of tools that allow Language Model Models (LLMs) to initiate, control, and interact with debugging sessions. It supports starting debug sessions, setting breakpoints, stepping through code, evaluating expressions, and inspecting variables and stack traces. The server is built on a robust architecture that includes an MCP Server Layer, a DAP Client Layer for communication with Delve's DAP server, and a Session Management component to handle multiple debug sessions efficiently.
Features
- Start debug sessions for Go programs
- Set breakpoints in code
- Step through code (next, step in, step out)
- Evaluate expressions in the context of a debug session
- Inspect variables and stack traces
Tools
start_debug
Start a new debug session
terminate_debug
Terminate a debug session
list_debug_sessions
List active debug sessions
set_breakpoint
Set a breakpoint in a debug session
continue
Continue execution in a debug session
next
Step over current line in a debug session
step_in
Step into function in a debug session
step_out
Step out of function in a debug session
evaluate
Evaluate an expression in a debug session