mcp-mat
A headless Model Context Protocol server that integrates with Eclipse Memory Analyzer (MAT) to enable AI agents to perform Java heap dump analysis. It supports running predefined reports like leak suspects, executing OQL queries, and invoking built-in MAT commands such as dominator tree analysis, histogram generation, and thread overview.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 28 GitHub stars
What you can do with it
- Run predefined MAT reports for leak suspects and system overview
- Execute OQL queries to inspect heap dump objects
- Analyze dominator trees and path to GC roots
- Check MAT index status and launcher health
Source and maintenance
- Last repository push
- Latest release
- v0.1.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-mat 0.1.0
{
"version": "0.1.0",
"transport": "stdio",
"identifier": "mcp-mat",
"registryType": "npm",
"environmentVariables": [
{
"name": "MAT_HOME",
"format": "string",
"description": "Path to Eclipse MAT installation directory (e.g., /Applications/MemoryAnalyzer.app/Contents/Eclipse)"
},
{
"name": "JAVA_PATH",
"format": "string",
"description": "Path to Java executable (default: java)"
},
{
"name": "MAT_XMX_MB",
"format": "string",
"description": "Maximum JVM heap size in MB for MAT (default: 4096)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat@0.1.0"
],
"env": {
"MAT_HOME": "<YOUR_MAT_HOME>",
"JAVA_PATH": "<YOUR_JAVA_PATH>",
"MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
}
}
}
}Cline
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat@0.1.0"
],
"env": {
"MAT_HOME": "<YOUR_MAT_HOME>",
"JAVA_PATH": "<YOUR_JAVA_PATH>",
"MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
}
}
}
}VS Code
{
"servers": {
"mcp-mat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-mat@0.1.0"
],
"env": {
"MAT_HOME": "<YOUR_MAT_HOME>",
"JAVA_PATH": "<YOUR_JAVA_PATH>",
"MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat@0.1.0"
],
"env": {
"MAT_HOME": "<YOUR_MAT_HOME>",
"JAVA_PATH": "<YOUR_JAVA_PATH>",
"MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
}
}
}
}Let your agent find its tools
Find servers like mcp-mat from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.