dev.threadmine/mcp
Analyze JVM thread dumps with ThreadMine: deadlocks, CPU spikes, pool exhaustion, health score.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@threadmine/mcpclaude mcp add dev-threadmine-mcp -e 'THREADMINE_API_KEY=<your threadmine_api_key>' -e 'THREADMINE_API_URL=<THREADMINE_API_URL>' -- npx -y @threadmine/mcp@0.1.0
{
"mcpServers": {
"dev-threadmine-mcp": {
"command": "npx",
"args": [
"-y",
"@threadmine/mcp@0.1.0"
],
"env": {
"THREADMINE_API_KEY": "<your threadmine_api_key>",
"THREADMINE_API_URL": "<THREADMINE_API_URL>"
}
}
}
}
متغيرات البيئة
THREADMINE_API_KEYإلزامي سري ThreadMine API key (create at app.threadmine.dev, Settings > API Keys)THREADMINE_API_URLOverride the ThreadMine API endpoint (default: https://api.threadmine.dev)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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.
Tools
| Tool | What it does | Quota |
|---|---|---|
analyze_thread_dump | Uploads a thread dump (inline text or file path) and returns detected problems, health score (0-100) and the report link | Consumes 1 analysis from your daily quota |
get_analysis | Fetches a previous analysis by id | Free (read-only) |
Setup
- Create a free account at threadmine.dev.
- Create an API key: Settings → API Keys in the web app.
- Add the server to your assistant:
Claude Code
claude mcp add threadmine -e THREADMINE_API_KEY=tf_live_xxx -- npx -y @threadmine/mcp
Claude Desktop / Cursor (claude_desktop_config.json / .cursor/mcp.json)
{
"mcpServers": {
"threadmine": {
"command": "npx",
"args": ["-y", "@threadmine/mcp"],
"env": { "THREADMINE_API_KEY": "tf_live_xxx" }
}
}
}
Usage
Ask your assistant things like:
- "Analyze this thread dump:
<paste>" - "Run the dump at /tmp/threaddump.txt through ThreadMine"
- "What did analysis
<id>find? Any deadlocks?"
Notes
- Analyses run in the workspace the API key belongs to and count against that workspace's plan quota (the Free plan includes a daily quota — pricing).
THREADMINE_API_URLcan override the API endpoint (self-hosted / staging).- Requires Node.js ≥ 20.
License
MIT
الأسئلة الشائعة
ما هو dev.threadmine/mcp؟
Analyze JVM thread dumps with ThreadMine: deadlocks, CPU spikes, pool exhaustion, health score.
كيف أثبّت dev.threadmine/mcp؟
يعمل على جهازك. في Claude Code: claude mcp add dev-threadmine-mcp -e 'THREADMINE_API_KEY=<your threadmine_api_key>' -e 'THREADMINE_API_URL=<THREADMINE_API_URL>' -- npx -y @threadmine/mcp@0.1.0. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج dev.threadmine/mcp إلى مفتاح API؟
نعم. يتطلب THREADMINE_API_KEY، وتضبطها في إعداداته.
هل dev.threadmine/mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون dev.threadmine/mcp؟
ينشره maschiojv. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.