{"at":"2026-11-23T04:03:17.265Z","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-23T04:03:17.819Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T04:03:17.920Z","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-23T04:03:18.430Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"resources":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mcp-local-translate","version":"0.1.11"}}}}
{"at":"2026-11-23T04:03:18.430Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T04:03:18.430Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T04:03:18.431Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Translate text between 200+ languages using the NLLB-200 model, running entirely on your local CPU. No cloud APIs, no data leaves your machine.","inputSchema":{"properties":{"glossary":{"description":"Optional term mapping for consistent translation of domain-specific vocabulary. Keys are source terms, values are their fixed translations. Example: {\"Transformer\": \"transformer\", \"embedding\": \"嵌入\"}. Terms are replaced with placeholders before translation and restored afterwards.","type":"object"},"source_lang":{"description":"Source language code (FLORES-200, ISO 639-1, or language name). Examples: \"eng_Latn\", \"en\", \"English\", \"zho_Hans\", \"zh\", \"中文\". Use list_languages to see all supported codes.","type":"string"},"target_lang":{"description":"Target language code (FLORES-200, ISO 639-1, or language name). Examples: \"zho_Hans\", \"zh\", \"中文\", \"eng_Latn\", \"en\", \"English\".","type":"string"},"text":{"description":"The text to translate","type":"string"}},"required":["text","source_lang","target_lang"],"type":"object"},"name":"translate"},{"description":"Translate multiple texts at once with a single model pipeline invocation. Much faster than calling translate repeatedly for batch workloads. All texts must share the same source and target languages.","inputSchema":{"properties":{"glossary":{"description":"Optional term mapping applied to all texts in the batch.","type":"object"},"source_lang":{"description":"Source language code (same format as translate tool). All texts share this source language.","type":"string"},"target_lang":{"description":"Target language code (same format as translate tool). All texts share this target language.","type":"string"},"texts":{"description":"Array of text strings to translate","items":{"type":"string"},"type":"array"}},"required":["texts","source_lang","target_lang"],"type":"object"},"name":"translate_batch"},{"description":"Check the current status of the translation engine. Returns model readiness, download progress, and endpoint connectivity info. Useful before calling translate to avoid timeouts during model download.","inputSchema":{"properties":{},"type":"object"},"name":"status"},{"description":"List all 200+ languages supported by the NLLB-200 translation model. Optionally filter/search by keyword.","inputSchema":{"properties":{"query":{"description":"Optional search term to filter languages by name, code, or language family. Leave empty to list all.","type":"string"}},"type":"object"},"name":"list_languages"}]}}}
