ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

JVMind MAT Heap Dump Analyzer

โดย kengraryรุ่น 0.2.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.kengrary/jvmind-mat

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Analyze Java heap dumps locally with Eclipse MAT, including live JVM capture.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "jvmind-mat": {
      "command": "uvx",
      "args": [
        "jvmind-mat-mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add jvmind-mat -- uvx jvmind-mat-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "jvmind-mat": {
      "command": "uvx",
      "args": [
        "jvmind-mat-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "jvmind-mat": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "jvmind-mat-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub kengrary ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32451 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 73% ของอีก 32451 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32451 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

JVMind MAT Heap Dump Analyzer ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.1) เข้า registry 14 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Recta

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

Recta

โดย RectaBuild

Cheaper cross-chain stablecoin routes for AI agents; 5 % of the verified saving, nothing if none.

รันบนคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

JVMind × MAT — Heap Dump Analysis

English | 中文

Java heap dump analysis built on the Eclipse Memory Analyzer (MAT) engine:

upload → parse → MAT-like web queries → domain diagnostics (connection-pool

leaks and more) → natural-language agent diagnosis.

Status: the Java parser and query service are tested. MCP Server v0.2.1

is published on PyPI and the official MCP Registry. Python platform

integration is still in progress. See PROJECT-STATUS.md.


Quick start

  1. Project overview → this file + mat-study/README.md (the design blueprint; Chinese).
  2. Current progress → PROJECT-STATUS.md (completed work, remaining tasks, lessons learned).
  3. Python team onboarding → TODO-PYTHON-TEAM.md (task list, API contract, acceptance criteria).
  4. Run the query service → query-service/DEPLOY.md (deploy + curl verification).
  5. Run the parser → parser-cli/v1-parsehd/README.md (no build required; uses the MAT distribution).
  6. Analyze heap dumps from Claude/Cursor/VS Code → mcp-server/README.md (uvx jvmind-mat-mcp, local stdio).

MCP Server (published)

A local stdio MCP server that exposes MAT heap analysis to Claude Desktop, Cursor, and VS Code. It can discover local Java processes and capture a live heap dump from a running JVM, or open an existing .hprof file. Heap dumps never leave the machine; the MAT helper binds to 127.0.0.1 only.

uvx jvmind-mat-mcp doctor      # checks JDK 21 / MAT 1.17 / permissions
ChannelLocation
PyPIhttps://pypi.org/project/jvmind-mat-mcp/
Official MCP Registryio.github.kengrary/jvmind-mat
MCPRushhttps://mcprush.com/kengrary/jvmind-mat-heap-dump-analyzer-mcp
Documentationmcp-server/README.md

Capabilities: list_java_processes / dump_java_heap for live capture, open_heapdump for existing files, then mat_overview / mat_histogram / mat_dominator / mat_threads / mat_object / mat_path2gc / mat_oql / mat_leak_suspects / mat_diagnose_oom and more — 19 tools in total.

Requirements: Python 3.10+, JDK 21+, Eclipse MAT 1.17.x (a small query bundle is installed into MAT on first use).

Tools

All analysis tools take the report_id returned by open_heapdump.

  • open_heapdump — open a local .hprof, start background indexing, return a report_id
  • get_heapdump_status — poll parse status, progress, and phase
  • list_heapdumps — list heap dumps known to this MCP server
  • close_heapdump — release a heap dump handle and optionally stop the MAT helper
  • list_java_processes — discover local attachable JVMs (pid, main class, command; MAT helper excluded)
  • dump_java_heap — preview and capture a live heap dump, then start MAT parsing (confirm=true)
  • mat_overview — heap overview: used/committed/live heap, object/class/classloader counts, JDK version
  • mat_histogram — class histogram sorted by shallow, retained, or object count
  • mat_dominator — dominator tree of the largest retained objects, with parent drill-down
  • mat_threads — list threads or drill into stack frames and frame locals
  • mat_threadlocals — inspect ThreadLocal values grouped by value class or thread
  • mat_object — inspect a single object's fields, statics, references, and GC root
  • mat_path2gc — shortest path from an object to a GC root
  • mat_oql — run an OQL query and return rows plus a reusable result set id
  • mat_leak_suspects — run LeakHunter and return suspects with retained sizes and descriptions
  • mat_diagnose_oom — composite OOM diagnosis: leak suspects + SQL in threads + dominator analysis
  • mat_connection_pools — diagnose database connection pools and leaked connections
  • mat_top_consumers — top memory consumers by retained heap
  • mat_sql_in_threads — find SQL statements in thread stacks

Architecture

  User uploads a heap dump

│ [Python/FastAPI] ← in progress (TODO-PYTHON-TEAM.md) upload / queue / progress / auth / agent ├── fork ─────────────▶ [parser-cli / V1] hprof → *.index ✅ tested │ (writes to NFS) └── reverse proxy ────▶ [query-service] queries over indexes ✅ tested (OSGi bundle, :8090) histogram / dominators / threads / OQL

  • Leak Suspects / path2gc etc. Shared: NFS (dump files) + PostgreSQL (tasks/reports)

Local MCP path (v0.2.1 published): Claude Desktop / Cursor / VS Code │ stdio ▼ [mcp-server] ──HTTP 127.0.0.1──▶ [query-service :8090] └── runs MAT ParseHeapDump when index files are missing (reuses the parser-cli V1 logic)


Repository layout

Top level
FileContents
README.mdEnglish overview (this file)
README.zh.mdChinese overview
PROJECT-STATUS.mdMilestones, module status, TODOs, lessons learned
TODO-PYTHON-TEAM.mdPython integration task list, API contract, acceptance
mat-study/ — design documents (Chinese)
#DocumentWhat it covers
—README.mdDesign blueprint (four-layer architecture, decisions, milestones)
01MAT source study and architectureHow MAT works and how to reuse it; index file format
02Core algorithms and implementationDominator tree, paths, retained size; web backend design
03Beyond OOM: connection-pool leaksWhat else a heap dump can answer; pools, thread pools, classloaders
04Tooling the MAT API for agentsHow an LLM drives MAT; tool granularity and output trimming
05End-to-end integration designUpload, queue, progress, three-layer soft-reference cache
06Technology choices and four-view APIFinalized choices and the four-view API contract
07Integrating with JVMindHow to connect to the existing platform (required for the Python team)
08MAT feature inventory and gaps57 queries reviewed; gap priorities
09Frontend implementation guidanceMaking the web UI feel like MAT
10MAT Inspector capabilitiesInspector features and what is already implemented
12Python integration planPhased plan for the Python side
13Thread-level OOM diagnosisFinding the OOM-triggering thread and its SQL
14Heap dump frontend designEndpoint mapping, async state machine, integration rules
parser-cli/ — parsing layer (hprof → index)
FileContents
README.mdParser overview (V1/V2 routes)
MAT-DEPENDENCIES.mdHow to obtain MAT dependencies, version/JDK matrix, bundle list
v1-parsehd/README.mdV1 (zero build; MAT distribution + text progress) — current
v1-parsehd/VERIFICATION.mdV1 verification report (real hprof, three bugs fixed)
v1-parsehd/mat_parse_runner.pyProgress parser (Python; reusable by the worker)
python-worker-snippet.pyWorker snippet for calling the parser
src/.../*.javaV2 skeleton (self-built jar + JSONL progress; not active)
query-service/ — query layer (OSGi bundle, :8090) ✅
FileContents
README.mdService overview (endpoints, SnapshotManager, route 2)
DEPLOY.mdDeploy + end-to-end verification (bundles.info + -clean, curl examples)
EQUINOX-A-VERIFICATION.mdEmbedded Equinox test and CNF fix (why route 2)
BUILD-TROUBLESHOOTING.mdBuild troubleshooting (p2 repositories, JDK versions)
src/.../*.java (21 files)Service implementation: core/http/model/task/view/equinox
mcp-server/ — local stdio MCP (✅ v0.2.1 published)
FileContents
README.mdInstall, client config, 19 tools, privacy, troubleshooting
src/jvmind_mat_mcp/server.pyMCP SDK tool registration
src/jvmind_mat_mcp/engine.pyHeap dump registry, background parsing, MAT lifecycle
src/jvmind_mat_mcp/vendor/Query-service OSGi bundle shipped with the package
DockerfileGlama review image (MAT/JDK not included; mount at runtime)
tests/Unit tests, stdio protocol tests, optional real-MAT integration tests
marketplace/ — directory submission pack (🟡 prepared, not submitted)
FileContents
README.mdPlatform status, remaining steps, quality gaps
metadata.jsonShared name, description, tags, install command
smithery/manifest.jsonMCPB manifest (Smithery skipped, kept for later)
mcp.so.md / glama.md / pulsemcp.mdForm copy and steps per platform

Module status

ModuleFormStatusEntry point
parser-cliV1 = MAT command; V2 = standalone jar✅ V1 testedv1-parsehd/mat_parse_runner.py
query-serviceOSGi bundle (HTTP :8090)✅ testedQueryServiceApp.java / QueryHttpServer.java
mcp-serverPython stdio MCP (PyPI + official Registry)✅ v0.2.1 publishedsrc/jvmind_mat_mcp/server.py
marketplaceDirectory copy (Smithery skipped)🟡 prepared, pending submissionmarketplace/README.md
Python integrationFastAPI + DB + agent⏳ in progressTODO-PYTHON-TEAM.md

Key facts (avoid re-learning these)

  • MAT dependencies are not on Maven Central → use Tycho (eclipse-plugin) with a p2 repository or a local Directory target; do not add .
  • Version ↔ JDK: 1.17 → JDK 21, 1.14 → JDK 17, 1.12 → JDK 11 (keep all three places in sync).
  • Deployment: copy the jar into plugins/, add a line to bundles.info (auto-start=true), and restart with `-clean` (not dropins/).
  • The query service has no authentication and is intranet-only. The Python proxy injects dumpDir (= the dump directory).
  • Reopening a dump requires both the hprof and index files on a seekable filesystem (NFS works).
  • MCP package jvmind-mat-mcp; Registry name io.github.kengrary/jvmind-mat. After changing the Java query layer, rerun mcp-server/scripts/vendor-bundle.sh, otherwise the wheel ships a stale bundle.
  • On first use the MCP server writes com.jvmind.mat.query into MAT's plugins/ and bundles.info; the MAT install must be writable.
  • Live capture uses jmap -dump:live: it dumps only live objects, triggers a Full GC, and may pause the target JVM. The default output is the server's current working directory; override it with JVMIND_MCP_DUMP_DIR or the tool's output_dir.
  • Smithery is skipped for now: its web UI only exposes remot

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx