Threadmine

dev.threadmine由 threadmine.dev 發布v0.2.0更新於 Oct 30, 2026

Analyze JVM thread dumps with ThreadMine: deadlocks, CPU spikes, pool exhaustion, health score.

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

ThreadMine 讓助理分析 JVM 執行緒傾印,回傳偵測到的問題、0-100 健康分數與報告連結。

可以做什麼
  • 上傳執行緒傾印(內嵌文字或檔案路徑),取得偵測到的問題、健康分數與報告連結
  • 依 id 讀取先前的分析結果,唯讀且不消耗額度
  • 從 jstack 等輸出中診斷死鎖、CPU 飆高、執行緒池耗盡與虛擬執行緒固定
適用情境
適合 Java 或 Spring Boot 服務卡住、CPU 飆高且手邊有執行緒傾印需要解讀時,或想在對話中快速診斷卡住的 JVM。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 20 或更新版本。需要能透過 TLS 存取 ThreadMine API。選用的 THREADMINE_API_KEY 可將分析存入工作區並取得較高額度;THREADMINE_API_URL 可指向其他端點。
安裝前請注意
傾印會傳送到第三方 API,內容可能包含主機名稱、類別與套件名稱以及 SQL 片段,若政策不允許,應先以匿名化工具處理正式環境傾印。未提供金鑰時報告為公開連結,任何持有連結的人都能開啟,並在 7 天後過期。匿名使用限制為每個 IP 每小時 5 次、每天 20 次。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Threadmine,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

ThreadMine MCP Server

ThreadMine is a Java thread dump analyzer with AI — detects deadlocks, CPU spikes, pool exhaustion and virtual thread pinning. Free online, no signup.

Official MCP server for ThreadMine. Paste a JVM thread dump into your AI assistant — Claude Code, Claude Desktop or Cursor — and get back the detected problems, a health score and a link to the full interactive report, without leaving the chat.

No account needed. Without an API key the server uses the same public endpoint as the threadmine.dev analyzer. With a key, analyses land in your ThreadMine workspace.

Tools

ToolWhat it does
analyze_thread_dumpUploads a thread dump (inline text or file path) and returns detected problems, health score (0-100) and the report link
get_analysisFetches a previous analysis by the id analyze_thread_dump returned. Read-only, consumes nothing

Setup

Claude Code plugin (MCP server plus a skill that tells Claude when to use it)

bash
claude plugin marketplace add maschiojv/threadmine-mcpclaude plugin install threadmine@threadmine-plugins

Claude Code, server only

bash
claude mcp add threadmine -- npx -y @threadmine/mcp

Claude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json)

json
{  "mcpServers": {    "threadmine": {      "command": "npx",      "args": ["-y", "@threadmine/mcp"]    }  }}

With or without an account

Without an API keyWith THREADMINE_API_KEY
Limit5 analyses per hour, 20 per day, per IPYour plan's quota (pricing)
ReportPublic link (threadmine.dev/resultado/...), anyone with it can open it, expires after 7 daysPrivate, in your workspace

To use your account, create an API key in the web app (Settings → API Keys) and set THREADMINE_API_KEY in the server's environment. For the plugin, export it in the shell that starts Claude Code; for the other setups, add it to the env block ("env": { "THREADMINE_API_KEY": "tf_live_xxx" }) or pass -e THREADMINE_API_KEY=tf_live_xxx to claude mcp add.

Usage

Ask your assistant things like:

  • "Analyze this thread dump: <paste>"
  • "Run the dump at /tmp/threaddump.txt through ThreadMine"
  • "My Spring Boot app stopped answering, here's the jstack output"
  • "What did analysis <id> find? Any deadlocks?"

Privacy

The dump is sent to the ThreadMine API over TLS. Thread dumps can carry hostnames, class and package names and SQL fragments. If your policy forbids sending production dumps to a third party, run them through tm-anon first: it anonymizes the dump locally, keeps the mapping on your machine, and ThreadMine still analyzes the result.

Hung tests in CI

When a JVM test hangs in GitHub Actions and the job hits timeout-minutes, threadmine-action dumps the stuck test JVM and writes the same diagnosis to the job summary and the pull request. It's one line in the workflow (uses: maschiojv/threadmine-action@v1) and needs no account.

Notes

  • THREADMINE_API_URL overrides the API endpoint (self-hosted / staging). THREADMINE_SITE_URL overrides the site used in anonymous report links.
  • Requires Node.js ≥ 20.

License

MIT

來源:README.md,提交 317781c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.2.0最新Oct 29, 2026
  2. v0.1.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分