spark-profiler-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| load_profileA | Load and parse a spark file from a local path, a bytebin/spark.lucko.me URL, or a bytebin key. Supports .sparkprofile (sampler), .sparkheap (memory), and .sparkhealth (health) files. Returns a profileId plus a headline summary; all other tools take that profileId. |
| list_profilesA | List the profiles currently loaded in memory (id, type, source). |
| get_summaryA | Headline health summary: server/MC version, TPS, MSPT, heap, GC%, entities, top hot methods & plugin sources, and the overall diagnosis verdict. |
| diagnoseA | Apply the built-in interpretation knowledge base (TPS/MSPT/GC/heap/CPU thresholds, plugin dominance, entity/chunk/redstone/IO signatures, JVM-flag checks) and return ranked findings, each with evidence, diagnosis, and a concrete recommended action. This is the primary 'what should I tune' tool. |
| get_platform_infoA | Server brand/version, Minecraft version, the plugin/mod list with versions, config file names, and key config highlights (view/simulation-distance, spawn limits, etc.). |
| get_system_statsA | Host CPU/RAM/disk/OS, Java version, JVM args (secrets redacted), detected GC, Xmx/Xms, and an Aikar's-flags check. |
| get_healthB | Tick health: TPS (1m/5m/15m), MSPT percentiles (mean/median/p95/max), ping, heap, GC analysis, and — for .sparkhealth reports (and the windows inside a sampler) — the per-minute time series with the worst windows highlighted. |
| get_world_statsA | World/entity statistics: total entities, top entity types by count, per-world entity totals, data packs, non-default game rules. |
| list_threadsA | List the sampled threads (name, total sampled ms, node count), busiest first. Use a name with the call-tree tools. |
| get_top_self_timeB | Top methods by self-time on a thread (default 'Server thread'). excludeNative drops idle/native wait frames to reveal the hottest Java methods. |
| get_sources_breakdownA | Self-time grouped by plugin/mod source (spark 'sources' view) on a thread. excludeNative drops idle frames. Shows which plugin/mod owns the work. |
| get_call_treeA | Pruned call tree for a thread. Children below minPercent of the thread total are dropped and depth is capped. Pass rootPath (an array of 'Class.method' labels/substrings) to descend into a specific subtree before expanding. |
| search_call_treeA | Find stack frames whose Class.method matches a substring or /regex/, returned with total/self time. Useful to check whether a suspected plugin/mechanic appears and how heavy it is. |
| get_heap_summaryC | For a .sparkheap file: the largest retained types by size, with instance counts. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Imanity-Software/spark-profiler-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server