Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Find what a stuck Go program is waiting on from a goroutine dump, with no connection to it.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"stuckgo": {
"command": "npx",
"args": [
"-y",
"stuckgo",
"serve"
]
}
}
}在终端中运行这条命令
claude mcp add stuckgo -- npx -y stuckgo serve粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"stuckgo": {
"command": "npx",
"args": [
"-y",
"stuckgo",
"serve"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"stuckgo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stuckgo",
"serve"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 GillMacedo 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于6天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 好縮 Short
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Smart URL shortener: create, tag and track short links on s.gooo.name.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server and CLI that reads a Go goroutine dump and tells you what the program is waiting on. It finds goroutine leaks, lock pile-ups, full database pools and HTTP calls with no timeout. It works from the dump text alone, so it never connects to your service.
A hung service can have thousands of goroutines, and most of them are normal: listeners, read loops, idle workers. stuckgo groups identical stacks, sets aside what's normally idle, and ranks what's left. When 40 goroutines wait on a mutex, it also names what might be holding it.
As a Claude Code plugin:
claude plugin marketplace add GillMacedo/stuckgo claude plugin install stuckgo@stuckgo-marketplace
As an MCP server, for any client:
{"mcpServers": {"stuckgo": {"command": "npx", "args": ["-y", "stuckgo@0.1.0", "serve"]}}}
As a CLI, with Node 18 or newer:
npx stuckgo review dump.txt
Or with Go 1.27 or newer: go install github.com/GillMacedo/stuckgo@latest.
Get a dump from a service that imports net/http/pprof. This doesn't stop the program:
curl 'http://localhost:6060/debug/pprof/goroutine?debug=2' > dump.txt
kill -QUIT also prints a dump, but it ends the process. Crash output works too, and GOTRACEBACK=all shows every goroutine rather than just the failing one.
Here's a real dump from a made-up service in examples/, run from a clone of this repo:
$ go run . review examples/dumps/mutex-late.txt 43 goroutines, 1 normally idle
Groups: 40 sync.Mutex.Lock, up to 2 min main.(*store).Get (app/main.go:109) 1 chan receive, up to 2 min main.mutex (app/main.go:130) 1 select, up to 2 min main.(*store).Refresh (app/main.go:118)
HIGH SG107 main.(*store).Get (app/main.go:109) 40 goroutines waiting for a mutex, waiting up to 2 minutes. Possible holder, not proven: main.(*store).Refresh (app/main.go:118), in select. Try: Look at what the holder does while it holds the lock. Don't hold a lock across network calls, channel operations or slow work.
To check for a leak, compare two dumps taken some time apart. A stack that grows, with the same goroutine IDs staying in place, is much stronger evidence than one dump:
$ go run . compare examples/dumps/leak-early.txt examples/dumps/leak-late.txt Goroutines: 344 -> 637 (+293)
Growing: +293 342 -> 635 chan send main.lookupPrice.func1 (app/main.go:79)
Same goroutine IDs in the same place in both dumps: 342 chan send, up to 2 min main.lookupPrice.func1 (app/main.go:79)
With Go 1.27 or newer, Go can also check for itself: /debug/pprof/goroutineleak?debug=2. stuckgo reads that output too.
Add --json for JSON, or --fail-on high to exit 1 in CI. Use - to read from stdin.
| Rule | Finds |
|---|---|
| SG101 | Go's own "all goroutines are asleep" deadlock |
| SG102 | A panic or fatal error, and where it happened |
| SG103 | Goroutines that Go's leak profile reports as leaked |
| SG104 | A send or receive on a nil channel, which never returns |
| SG105 | Goroutines waiting for a free database/sql connection |
| SG106 | Outgoing HTTP calls that have been waiting a long time |
| SG107 | Goroutines piling up on a mutex, with possible holders |
| SG108 | A WaitGroup that hasn't finished, and what it started |
| SG109 | Goroutines stuck sending on a channel, the usual leak |
| SG110 | Many goroutines waiting on a channel receive or select |
| SG111 | Long waits on network I/O |
| SG112 | Long system calls |
| SG113 | Long waits in sync.Cond.Wait |
| SG114 | Many goroutines sleeping at one line |
| SG115 | One function that started most of the goroutines, across several stacks |
| SG116 | Many goroutines running or waiting for a CPU |
| SG117 | Many goroutines parked at one line in a debug=1 dump, which doesn't say why |
Severity comes from how many goroutines are involved and how long they've waited. These thresholds are judgment calls.
| Tool | Does |
|---|---|
go_goroutine_review | Reviews one dump, from text or a file |
go_goroutine_compare | Compares two dumps of one program |
debug=2 when you can.net/http, database/sql, gRPC and golang.org/x/net/http2. Other libraries' background loops show up as groups, but rarely as findings.stuckgo stays on your machine, but your MCP client sends tool results to its model.How do I find a goroutine leak in Go? Take two dumps some time apart and run stuckgo compare. A growing stack whose goroutine IDs stay in place is the sign to look for.
How do I get a goroutine dump from a running Go program? Import net/http/pprof, then fetch /debug/pprof/goroutine?debug=2. Keep that endpoint private.
What does `[chan send, 5 minutes]` mean in a goroutine dump? That goroutine has been blocked for about 5 minutes, sending on a channel nothing is receiving from. SG109 covers it.
Why is my Go service out of database connections? Goroutines waiting in database/sql.(*DB).conn mean the pool is full. SG105 flags them. Look at what's holding the connections, such as slow queries or Rows that aren't closed.
How is this different from panicparse or goroutine-inspect? panicparse and goroutine-inspect help a person read and explore a dump. stuckgo gives an agent ranked findings, can compare two dumps, and sets aside what's normally idle.
examples/dumps/. Most also ran on Go 1.22.examples/dumps/real/, raised nothing above low. Prometheus gets two low WaitGroup findings, which are normal there.It hasn't been used on an incident in production yet, or in a fresh Claude session.
Contributions are welcome, from people and from people working with AI agents. See CONTRIBUTING.md. Good first issues are listed here.
feat: goes under Added and fix: under Fixed.make test must pass. Changes over 30 lines need a linked open issue (Closes # ), and a PR can have at most 800 changed lines. If something is missing, a comment tells you what to fix.This project was largely generated with Claude Code and reviewed by its maintainer.
I'm Giulliano Macedo, and I build developer tools at GoTech Solutions. Follow along or get in touch:
If stuckgo found what your program was stuck on, a star helps others find it.
Built by Giulliano Macedo, GoTech Solutions · LinkedIn · X