← Back to browse

mcp-mat

Indexed by io.github.codelipenghui

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 varsMAT_HOME JAVA_PATH MAT_XMX_MB
Claude Code
claude mcp add --env MAT_HOME= --env JAVA_PATH= --env MAT_XMX_MB= mcp-mat -- npx mcp-mat
Cursor

Add to 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.