mcp-mat
About
Headless Eclipse MAT MCP server for Java heap dump analysis
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MAT_HOME JAVA_PATH MAT_XMX_MBClaude Code
claude mcp add --env MAT_HOME= --env JAVA_PATH= --env MAT_XMX_MB= mcp-mat -- npx mcp-mat
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-mat","command":"npx","args":["mcp-mat"],"env":{"MAT_HOME":"","JAVA_PATH":"","MAT_XMX_MB":""}}'
JSON
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"mcp-mat"
],
"env": {
"MAT_HOME": "",
"JAVA_PATH": "",
"MAT_XMX_MB": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.