JAVAPERF TOOLS

15 tools from the Javaperf MCP Server, categorised by risk level.

View the Javaperf policy →

READ TOOLS

12
analyze_threads Produces a thread dump of the specified Java process (equivalent to jstack -l). Shows each thread's name, state, and full stack trace with lock inf... check_deadlock Checks for Java-level deadlocks in the specified process. Parses jcmd Thread.print output and returns structured JSON: which threads are involved, ... heap_dump Creates a heap dump (.hprof file) for offline analysis in Eclipse MAT, VisualVM, or JProfiler. Saved to recordings/heap_dump.hprof (overwritten eac... heap_histogram Class histogram of live objects in the heap (jcmd GC.class_histogram). Returns top classes by memory usage — useful for memory leak investigation. ... heap_info Brief heap usage summary: capacities, used, committed regions. Quick snapshot without full dump. list_java_processes Lists all running Java processes on the machine. Returns an array of objects with pid, mainClass, and args. Use this tool first to discover the tar... list_jfr_recordings Lists active and recent JFR recordings for a Java process (jcmd JFR.check). Returns recording id, duration, state (running/stopped), and filename. ... profile_frequency Call frequency profile from a .jfr file. Counts methods that appear at the leaf (top) of the stack in ExecutionSample events — i.e. methods that we... profile_memory Memory-focused profile from a .jfr file. Returns top memory allocators (class+method), GC statistics, and potential leak candidates from OldObjectS... profile_time CPU time (bottleneck) profile from a .jfr file. Uses bottom-up aggregation: each method is counted in every sample where it appears in the stack, i... 2/5 trace_method Builds a call tree for a specific method from a .jfr file. Filters ExecutionSample events to find stack traces containing the given class and metho... vm_info JVM information: uptime, version, and flags. Useful for environment verification.

EXECUTE TOOLS

3
How many tools does the Javaperf MCP server have? +

The Javaperf MCP server exposes 15 tools across 2 categories: Read, Execute.

How do I enforce policies on Javaperf tools? +

Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Javaperf server.

What risk categories do Javaperf tools fall into? +

Javaperf tools are categorised as Read (12), Execute (3). Each category has a recommended default policy.

Enforce policies on Javaperf

Open source. One binary. Zero dependencies.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.