Description

Headless Eclipse Memory Analyzer Tool integration for Java heap dump analysis. Provides 6 core tools: healthcheck validation, predefined report generation (leak suspects, system overview, top components), OQL query execution with inline results, index status checking, generic command execution across 56 built-in MAT commands, and OQL syntax guidance. Features comprehensive security controls including path allowlists, query size limits, and process timeouts. Executes MAT via direct Java launcher invocation to avoid GUI dependencies.

Installation

git clone https://github.com/codelipenghui/mcp-mat

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "eclipse-mat": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}