MCP server
MCP Mat
Headless Eclipse MAT MCP server for Java heap dump analysis
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.0
- Listing updated
- 5 days ago
About MCP Mat
MCP Mat is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add mcp-mat -- npx -y mcp-matAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"mcp-mat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-mat"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-mat": {
"command": "npx",
"args": [
"-y",
"mcp-mat"
]
}
}
}Configuration
MAT_HOMEPath to Eclipse MAT installation directory (e.g., /Applications/MemoryAnalyzer.app/Contents/Eclipse)JAVA_PATHPath to Java executable (default: java)MAT_XMX_MBMaximum JVM heap size in MB for MAT (default: 4096)
Pricing
Open source
MCP Mat FAQ
Is MCP Mat free?
Yes. MCP Mat is open source, so you can use and self-host it for free.
How do I add MCP Mat to Claude Code?
Run this command in your terminal: claude mcp add mcp-mat -- npx -y mcp-mat