
Delve MCP
A TypeScript-based MCP server providing a complete interface to the Delve debugger for Go programs, enabling debugging, tracing, and analyzing Go code through natural language commands.
README
delve-mcp
MCP server for Delve debugger integration
This is a TypeScript-based MCP server that provides a complete interface to the Delve debugger for Go programs. It implements all major Delve commands and capabilities through MCP tools.
Features
Resources
- List and access debug sessions via
delve://
URIs - Each session has metadata about its type, target, and port
- JSON representation for session details and state
Tools
Debug, trace, and analyze Go programs with:
- Debug commands (
debug
,attach
,exec
,test
) - Core dump analysis
- Program tracing
- Replay debugging with
rr
- DAP server support
- Breakpoint management with conditions
- Execution control (
continue
,step
,next
) - Variable inspection and evaluation
- Backend selection (
native
,lldb
,rr
) - Logging configuration
- Session management
Environment Setup
The server requires:
- Go installed with Delve (
go install github.com/go-delve/delve/cmd/dlv@latest
) - For replay functionality: Mozilla
rr
(https://github.com/mozilla/rr) - Node.js and npm
Installation
To install Delve MCP server:
npm install @dwisiswant0/delve-mcp
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Configuration
To use with Claude Desktop, add the server config:
- On Linux:
~/.config/Claude/claude_desktop_config.json
. - On MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
. - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
.
{
"mcpServers": {
"delve-mcp": {
"command": "/path/to/delve-mcp/build/index.js"
}
}
}
Available Tools
Debug Commands
debug
- Debug a Go package in current directory or specified packageattach
- Attach to a running process by PIDexec
- Execute and debug a precompiled binarytest
- Debug tests in current package or specified packagecore
- Examine a core dump file with associated executabledap
- Start a Debug Adapter Protocol (DAP) serverreplay
- Replay an rr trace recordingtrace
- Trace program execution with function matching
Control Commands
setBreakpoint
- Set a breakpoint with optional conditionremoveBreakpoint
- Remove an existing breakpointcontinue
- Continue program executionnext
- Step over to next linestep
- Step into function callstepout
- Step out of current functionvariables
- List local variables in current scopeevaluate
- Evaluate expression in current scope
Configuration Commands
version
- Get Delve version informationsetBackend
- Configure debug backend (native
,lldb
,rr
)configureLogging
- Configure debug logging components
Usage Examples
Starting a Debug Session
// Debug current package
{ name: "debug" }
// Debug with specific package and build flags
{
name: "debug",
arguments: {
package: "./cmd/myapp",
buildFlags: "-tags=integration"
}
}
Managing Breakpoints
// Set a breakpoint
{
name: "setBreakpoint",
arguments: {
sessionId: "abc123",
file: "main.go",
line: 42,
condition: "count > 5"
}
}
Inspecting State
// List variables
{
name: "variables",
arguments: {
sessionId: "abc123"
}
}
// Evaluate expression
{
name: "evaluate",
arguments: {
sessionId: "abc123",
expr: "myVar.Field"
}
}
License
MIT.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.