Go Delve Debugger MCP Server
@xhd2015
About Go Delve Debugger MCP Server
MCP Server that exposes Golang's Delve Debugger, enable AI to self-debug
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Go Delve Debugger MCP Server?
An MCP (Model Context Protocol) server that integrates with the Delve Go debugger, enabling AI assistants to start, control, and interact with debug sessions for Go applications. It exposes a set of tools for debugging Go programs via any MCP client.
How to use Go Delve Debugger MCP Server?
Install Go 1.21+ and Delve (go install github.com/go-delve/delve/cmd/dlv@latest), then install the server with go install github.com/xhd2015/dlv-mcp/cmd/dlv-mcp@latest. Start the server using dlv-mcp --listen :9097 and configure your MCP client to connect at http://localhost:9097/sse. Available tools include start_debug, set_breakpoint, continue, next, step_in, step_out, evaluate, and session management commands.
Key features of Go Delve Debugger MCP Server
- Start debug sessions for Go programs
- Set breakpoints in source code
- Step through code: next, step in, step out
- Evaluate expressions in debug context
- Inspect variables and stack traces
- Manage multiple concurrent debug sessions
Use cases of Go Delve Debugger MCP Server
- Debugging Go applications interactively with an AI assistant
- Automating debugging workflows through MCP client tools
- Debugging Go tests by starting sessions in test mode
- Remotely controlling a debug session from any MCP-compatible interface
FAQ from Go Delve Debugger MCP Server
What are the prerequisites for using this server?
Go 1.21 or higher and the Delve debugger (dlv) must be installed on the system.
How do I start the Go Delve Debugger MCP Server?
Run dlv-mcp --listen :9097 from the command line, then point your MCP client to http://localhost:9097/sse.
How do I set a breakpoint?
Use the set_breakpoint tool with the session ID, absolute file path, and line number.
Can I manage multiple debug sessions at once?
Yes – the server supports session IDs and provides a list_debug_sessions tool to view active sessions.
What transport protocol does the server use?
It uses Server‑Sent Events (SSE) on the specified listen address.
Frequently asked questions
What are the prerequisites for using this server?
Go 1.21 or higher and the Delve debugger (`dlv`) must be installed on the system.
How do I start the Go Delve Debugger MCP Server?
Run `dlv-mcp --listen :9097` from the command line, then point your MCP client to `http://localhost:9097/sse`.
How do I set a breakpoint?
Use the `set_breakpoint` tool with the session ID, absolute file path, and line number.
Can I manage multiple debug sessions at once?
Yes – the server supports session IDs and provides a `list_debug_sessions` tool to view active sessions.
What transport protocol does the server use?
It uses Server‑Sent Events (SSE) on the specified listen address.
Basic information
More Other MCP servers
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Comments