Delve MCP server provides a complete interface to the Delve debugger for Go programs through the Model Context Protocol. It implements all major debugging capabilities including starting debug sessions, setting breakpoints, controlling execution flow, and inspecting program state. The server exposes Delve's functionality as discoverable tools that can be executed by AI assistants, supporting various debug modes (debug, attach, exec, test), core dump analysis, and program tracing. Built with TypeScript using the MCP SDK, it requires Go with Delve installed and optionally Mozilla rr for replay debugging.
Debug a Go package in current directory or specified package.
Attach to a running process by PID.
Execute and debug a precompiled binary.
Debug tests in current package or specified package.
Examine a core dump file with associated executable.
Start a Debug Adapter Protocol (DAP) server.
Replay an rr trace recording.
Trace program execution with function matching.
Set a breakpoint with optional condition.
Remove an existing breakpoint.
Continue program execution.
Step over to next line.
Step into function call.
Step out of current function.
List local variables in current scope.
Evaluate expression in current scope.
Get Delve version information.
Configure debug backend (`native`, `lldb`, `rr`).
Configure debug logging components.
No reviews yet. Be the first to review!
Sign in to join the conversation