Skip to content
Grok

mcp mat for Grok

io.github.codelipenghui/mcp-mat

Headless Eclipse MAT MCP server for Java heap dump analysis

client:Grok transport:stdio runtime:npm

Install mcp mat in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-mat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mat"
      ],
      "env": {
        "MAT_HOME": "<MAT_HOME>",
        "JAVA_PATH": "<JAVA_PATH>",
        "MAT_XMX_MB": "<MAT_XMX_MB>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp mat in other clients