dlv-mcp

dlv-mcp

3.4

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

  1. start_debug

    Start a new debug session

  2. terminate_debug

    Terminate a debug session

  3. list_debug_sessions

    List active debug sessions

  4. set_breakpoint

    Set a breakpoint in a debug session

  5. continue

    Continue execution in a debug session

  6. next

    Step over current line in a debug session

  7. step_in

    Step into function in a debug session

  8. step_out

    Step out of function in a debug session

  9. evaluate

    Evaluate an expression in a debug session