{"at":"2026-11-23T01:08:08.298Z","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-23T01:08:08.841Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:08:08.941Z","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-23T01:08:09.445Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"math-svg-mcp","version":"1.0.0"}}}}
{"at":"2026-11-23T01:08:09.445Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:08:09.445Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:08:09.447Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Convert a LaTeX math expression to SVG and return the SVG content directly. Best for small expressions where you need the SVG inline.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"display":{"description":"Display mode (block) vs inline mode. Default: true","type":"boolean"},"fontSize":{"description":"Font size (em size) in the same unit as the output. E.g., 11 for 11pt when unit=pt, or 16 for 16px when unit=px. Default: 16","type":"number"},"latex":{"description":"The LaTeX math expression to convert","type":"string"},"unit":{"description":"Output unit for width/height. Use pt for print/InDesign, px for web/browsers, mm for metric print, ex to keep relative units","enum":["pt","px","mm","ex"],"type":"string"},"xHeightRatio":{"description":"Ratio of x-height to font size. Varies by font: Times 0.45, Helvetica 0.52, Computer Modern 0.43. Default: 0.5","type":"number"}},"required":["latex","unit"],"type":"object"},"name":"latex_to_svg"},{"description":"Convert a LaTeX math expression to SVG and save it to a file. Best for larger expressions or when you need to reference the SVG by path.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"display":{"description":"Display mode (block) vs inline mode. Default: true","type":"boolean"},"fontSize":{"description":"Font size (em size) in the same unit as the output. E.g., 11 for 11pt when unit=pt, or 16 for 16px when unit=px. Default: 16","type":"number"},"latex":{"description":"The LaTeX math expression to convert","type":"string"},"outputPath":{"description":"The file path where the SVG should be saved","type":"string"},"unit":{"description":"Output unit for width/height. Use pt for print/InDesign, px for web/browsers, mm for metric print, ex to keep relative units","enum":["pt","px","mm","ex"],"type":"string"},"xHeightRatio":{"description":"Ratio of x-height to font size. Varies by font: Times 0.45, Helvetica 0.52, Computer Modern 0.43. Default: 0.5","type":"number"}},"required":["latex","outputPath","unit"],"type":"object"},"name":"latex_to_svg_file"}]}}}
