You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Project overview → this file + mat-study/README.md
(the design blueprint; Chinese).
Current progress → PROJECT-STATUS.md (completed work,
remaining tasks, lessons learned).
Python team onboarding → TODO-PYTHON-TEAM.md
(task list, API contract, acceptance criteria).
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
MAT dependencies are not on Maven Central → use Tycho (eclipse-plugin) with a
p2 repository or a local Directory target; do not add <dependencies>.
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 remote HTTPS URLs and
the CLI server-creation endpoint was removed. MCPB artifacts are kept for a
later retry. The Docker image is for directory review; real analysis still
needs MAT + JDK 21 on the host.
Tech stack
Parsing/query: Java 21 + Eclipse MAT 1.17 (OSGi/Equinox)