Agentโ™ฅ๏ธŽAge
Catalog

io.github.codelipenghui/mcp-mat

Official

by codelipenghui ยท TypeScript

Headless Eclipse MAT MCP server for Java heap dump analysis

Headless MCP server for Eclipse MAT that performs Java heap dump analysis via direct execution of the org.eclipse.equinox.launcher_*.jar launcher. It exposes tools to health-check Java/MAT availability, parse heap dumps with predefined reports, and execute OQL queries and built-in MAT commands.

๐Ÿ› ๏ธ Key Features

  • mat_healthcheck: validate MAT launcher and Java runtime availability
  • mat_parse_report: run predefined MAT reports (e.g., leak suspects, system overview)
  • mat_oql_query: execute OQL queries and return inline results
  • mat_run_command: execute 56 built-in MAT analysis commands (e.g., histogram, dominator_tree, path2gc, thread_overview)
  • mat_index_status: check whether MAT index artifacts exist for a heap dump
  • mat_oql_spec: return OQL parser

๐Ÿš€ Use Cases

  • Health-check the MAT launcher and Java runtime before analysis
  • Generate standard heap-analysis reports such as leak suspects and system overview
  • Run custom OQL queries against heap dumps
  • Execute command-based MAT analysis workflows and inspect index artifact availability

โšก Developer Benefits

  • Direct integration points for health checks, report parsing, OQL querying, and OQL specification
  • Access to a fixed set of 56 MAT built-in commands

โš ๏ธ Limitations

  • Operates headlessly and relies on running the Eclipse MAT launcher via java -jar org.eclipse.equinox.launcher_*.jar execution