It's an MCP (Model Context Protocol) server that can connect to a DAP (Debug Adapter Protocol) server in order to have an AI Agent drive a debugger. The project is very new and as such still has room for improvements and fixes, but it works very well already. Currently the only debugger supported is Delve, but it can easily be modified to connect to any DAP server to drive not just Delve but also gdb, lldb, and anything else that speaks DAP.
Here are some demos of the MCP server being used from Claude Code:
I'm happy to answer any questions and as always, contributions are very welcome! Happy debugging!
Michael Oguidan
unread,
Jul 19, 2025, 6:16:24 AMJul 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi Derek Parker, please what are MCP and DAP
Jason E. Aten
unread,
Jul 19, 2025, 6:00:47 PMJul 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi Michael,
You can readily lookup these terms on the web. Derek gave you the expansion of both acronyms.
Jason
Christian Stewart
unread,
Jul 24, 2025, 3:28:49 AM (10 days ago) Jul 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Hi Derek,
Thank you for your work on delve, it is an excellent debugger for Go.
mcp-dap-server looks very interesting, I have long been wondering if it would be possible to have the LLM use the debugger to diagnose bugs autonomously. It seems like this paired with rr for record + replay (an existing feature in Delve) would be an ideal setup. There are many bugs that are simply impossible to debug without a tool like Delve + rr, so this should be a big leap forward in LLM capability for software bugfixing.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Wojciech S. Czarnecki, golang-nuts
Anyone who uses LLMs knows they make mistakes.
That doesn't mean it's not a useful tool. I would have died and gone
to heaven had someone shown me LLM capabilities in 2015.
Many of us thought this wouldn't be possible in our lifetimes.
It's a fancy autocomplete, but a very very fancy one. Don't use it to
vibe code your app. Use it to transform text and information, like
it's supposed to do.