Koskamo

mcp-mat

A headless Model Context Protocol server that integrates with Eclipse Memory Analyzer (MAT) to enable AI agents to perform Java heap dump analysis. It supports running predefined reports like leak suspects, executing OQL queries, and invoking built-in MAT commands such as dominator tree analysis, histogram generation, and thread overview.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-mat logo, by codelipenghuiCommunity listingLocal stdioSource reviewed; not executedPublished by codelipenghui
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 28 GitHub stars

What you can do with it

  • Run predefined MAT reports for leak suspects and system overview
  • Execute OQL queries to inspect heap dump objects
  • Analyze dominator trees and path to GC roots
  • Check MAT index status and launcher health

Source and maintenance

Community listingRegistry 0.1.0Apache-2.0
Last repository push
Latest release
v0.1.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-mat 0.1.0

npm
mcp-mat package definition
{
  "version": "0.1.0",
  "transport": "stdio",
  "identifier": "mcp-mat",
  "registryType": "npm",
  "environmentVariables": [
    {
      "name": "MAT_HOME",
      "format": "string",
      "description": "Path to Eclipse MAT installation directory (e.g., /Applications/MemoryAnalyzer.app/Contents/Eclipse)"
    },
    {
      "name": "JAVA_PATH",
      "format": "string",
      "description": "Path to Java executable (default: java)"
    },
    {
      "name": "MAT_XMX_MB",
      "format": "string",
      "description": "Maximum JVM heap size in MB for MAT (default: 4096)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-mat": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mat@0.1.0"
      ],
      "env": {
        "MAT_HOME": "<YOUR_MAT_HOME>",
        "JAVA_PATH": "<YOUR_JAVA_PATH>",
        "MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-mat": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mat@0.1.0"
      ],
      "env": {
        "MAT_HOME": "<YOUR_MAT_HOME>",
        "JAVA_PATH": "<YOUR_JAVA_PATH>",
        "MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-mat": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-mat@0.1.0"
      ],
      "env": {
        "MAT_HOME": "<YOUR_MAT_HOME>",
        "JAVA_PATH": "<YOUR_JAVA_PATH>",
        "MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-mat": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-mat@0.1.0"
      ],
      "env": {
        "MAT_HOME": "<YOUR_MAT_HOME>",
        "JAVA_PATH": "<YOUR_JAVA_PATH>",
        "MAT_XMX_MB": "<YOUR_MAT_XMX_MB>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-mat from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.