Skip to content
Cursor

mcp mat for Cursor

io.github.codelipenghui/mcp-mat

Headless Eclipse MAT MCP server for Java heap dump analysis

client:Cursor transport:stdio runtime:npm

Install mcp mat in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp mat in other clients