{"at":"2026-11-23T02:47:27.056Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:47:27.495Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:47:27.596Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:47:27.988Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mcp-mat","version":"0.1.0"}}}}
{"at":"2026-11-23T02:47:27.988Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:47:27.988Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:47:27.991Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Validate MAT launcher and Java runtime availability.","inputSchema":{"additionalProperties":false,"properties":{"java_path":{"type":"string"},"mat_home":{"type":"string"}},"type":"object"},"name":"mat_healthcheck"},{"description":"Run a predefined MAT report headlessly and return generated artifacts.","inputSchema":{"additionalProperties":false,"properties":{"heap_path":{"type":"string"},"options":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]},"type":"object"},"report_id":{"type":"string"},"timeout_sec":{"type":"integer"},"xmx_mb":{"type":"integer"}},"required":["heap_path","report_id"],"type":"object"},"name":"mat_parse_report"},{"description":"Execute a single MAT OQL query and return result artifacts.","inputSchema":{"additionalProperties":false,"properties":{"format":{"enum":["txt","html","csv"],"type":"string"},"heap_path":{"type":"string"},"limit":{"type":"integer"},"oql":{"type":"string"},"timeout_sec":{"type":"integer"},"unzip":{"type":"boolean"},"xmx_mb":{"type":"integer"}},"required":["heap_path","oql"],"type":"object"},"name":"mat_oql_query"},{"description":"Report whether MAT index artifacts already exist for a heap dump.","inputSchema":{"additionalProperties":false,"properties":{"heap_path":{"type":"string"}},"required":["heap_path"],"type":"object"},"name":"mat_index_status"},{"description":"Execute a named MAT analysis command headlessly and return result artifacts. Supports 56 built-in commands including: dominator_tree, path2gc, merge_shortest_paths, histogram, thread_overview, thread_details, collection_fill_ratio, gc_roots, find_strings, component_report, system_properties, and many more. Use mat_oql_query for OQL queries instead.","inputSchema":{"additionalProperties":false,"properties":{"command_args":{"description":"Optional arguments for the command. Format depends on the command, e.g. an object address like '0x12345678' for path2gc, or a class pattern for histogram.","type":"string"},"command_name":{"description":"MAT command name, e.g. histogram, dominator_tree, path2gc, thread_overview, collection_fill_ratio, gc_roots, find_strings, etc.","type":"string"},"format":{"enum":["txt","html","csv"],"type":"string"},"heap_path":{"type":"string"},"limit":{"type":"integer"},"timeout_sec":{"type":"integer"},"unzip":{"type":"boolean"},"xmx_mb":{"type":"integer"}},"required":["heap_path","command_name"],"type":"object"},"name":"mat_run_command"},{"description":"Return MAT OQL parser-mode guidance, supported patterns, and known limitations.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"mat_oql_spec"}]}}}
