Atlas / MCP servers / codelipenghui / MAT

MATSAFE

mcp/codelipenghui/mat

Headless Eclipse MAT MCP server for Java heap dump analysis

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
6 3r · 3w · 0d
Transport
stdio
License
Apache-2.0
Stars
26
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Headless MCP server for Eclipse MAT using direct java -jar org.eclipse.equinox.launcher_*.jar execution.

Features

  • mat_healthcheck — Validate MAT launcher and Java runtime availability
  • mat_parse_report — Run predefined MAT reports (leak suspects, system overview, etc.)
  • mat_oql_query — Execute OQL queries and return inline results
  • mat_run_command — Execute 56 built-in MAT analysis commands (histogram, dominatortree, path2gc, threadoverview, etc.)
  • mat_index_status — Check whether MAT index artifacts exist for a heap dump
  • mat_oql_spec — Return OQL parser guidance and supported patterns

Supported Commands (mat_run_command)

Dominator tree analysis

dominator_tree, show_dominator_tree, immediate_dominators, big_drops_in_dominator_tree

Path to GC roots

path2gc, merge_shortest_paths, gc_roots

Histogram & object listing

histogram, delta_histogram*, list_objects, group_by_value, duplicate_classes

Leak detection

leakhunter, leakhunter2, `find_leaks`, `find_leaks2`, reference_leak

Thread analysis

thread_overview, thread_details, thread_stack

Collection analysis

collection_fill_ratio, collections_grouped_by_size, array_fill_ratio, arrays_grouped_by_size, hash_entries, map_collision_ratio, extract_list_values, hash_set_values, primitive_arrays_with_a_constant_value

Reference analysis

references_statistics, weak_references_statistics, soft_references_statistics, phantom_references_statistics, finalizer_references_statistics

Finalizer analysis

finalizer_overview, finalizer_thread, finalizer_queue, finalizer_in_processing, finalizer_thread_locals

Retained set

show_retained_set, customized_retained_set

Component & top consumers

component_report, component_report_top, top_consumers, top_consumers_html, pie_biggest_objects

String & memory waste

find_strings, waste_in_char_arrays

Heap inf

Read from source at commit 668269cd42a6OBSERVED · 2026-10-09
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code (npm)
claude mcp add mcp-mat -- npx -y [email protected]
03

Exposed tools (6)

3 read · 3 write · 0 destructive.

ToolRiskDescription
mat_healthcheckreadValidate MAT launcher and Java runtime availability.
mat_index_statusreadReport whether MAT index artifacts already exist for a heap dump.
mat_oql_querywriteExecute a single MAT OQL query and return result artifacts.
mat_oql_specreadReturn MAT OQL parser-mode guidance, supported patterns, and known limitations.
mat_parse_reportwriteRun a predefined MAT report headlessly and return generated artifacts.
mat_run_commandwriteExecute a named MAT analysis command headlessly and return result artifacts.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
declared (1 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, zod, @types/node, tsx, typescript
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 668269cd42a6full audit observations/trust-audit/mcp-server/codelipenghui__mat.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-09668269cd42a6SAFEB89first audit
06

Questions

What is the MAT MCP server?

Headless Eclipse MAT MCP server for Java heap dump analysis

What tools does MAT expose?

6 in total: 3 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is MAT safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does MAT need?

No credential environment variables were found in its source, so it appears to need none.

How does MAT run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-mat at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (668269cd42a6), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement