Headless Eclipse MAT MCP server for Java heap dump analysis
Connect Runs on your machine
claude mcp add mcp-mat -e MAT_HOME=<MAT_HOME> -e JAVA_PATH=<JAVA_PATH> -e MAT_XMX_MB=<MAT_XMX_MB> -- npx -y [email protected]
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAT_HOME": "<MAT_HOME>",
"JAVA_PATH": "<JAVA_PATH>",
"MAT_XMX_MB": "<MAT_XMX_MB>"
}
}
}
}
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAT_HOME": "<MAT_HOME>",
"JAVA_PATH": "<JAVA_PATH>",
"MAT_XMX_MB": "<MAT_XMX_MB>"
}
}
}
}
{
"servers": {
"mcp-mat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MAT_HOME": "<MAT_HOME>",
"JAVA_PATH": "<JAVA_PATH>",
"MAT_XMX_MB": "<MAT_XMX_MB>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MAT_HOMEOptional | Path to Eclipse MAT installation directory (e.g., /Applications/MemoryAnalyzer.app/Contents/Eclipse) |
JAVA_PATHOptional | Path to Java executable (default: java) |
MAT_XMX_MBOptional | Maximum JVM heap size in MB for MAT (default: 4096) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 19 Mar 2026 |
| Last updated | 19 Mar 2026 |
| Registry name | io.github.codelipenghui/mcp-mat |
More browser automation servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
