MCPServers

Summary

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.

Available Actions(19)

debug

Debug a Go package in current directory or specified package.

attach

Attach to a running process by PID.

exec

Execute and debug a precompiled binary.

test

Debug tests in current package or specified package.

core

Examine a core dump file with associated executable.

dap

Start a Debug Adapter Protocol (DAP) server.

replay

Replay an rr trace recording.

trace

Trace program execution with function matching.

setBreakpoint

Set a breakpoint with optional condition.

removeBreakpoint

Remove an existing breakpoint.

continue

Continue program execution.

next

Step over to next line.

step

Step into function call.

stepout

Step out of current function.

variables

List local variables in current scope.

evaluate

Evaluate expression in current scope.

version

Get Delve version information.

setBackend

Configure debug backend (`native`, `lldb`, `rr`).

configureLogging

Configure debug logging components.

Last Updated: April 25, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签