{"at":"2026-11-22T23:30:50.258Z","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-22T23:30:50.613Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T23:30:50.714Z","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-22T23:30:51.113Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":false}},"instructions":"CaptionsEasy gives you designed, animated caption styles (\"looks\") and turns timed words into ready-to-render caption props, on this machine (free, no API keys).\nTypical flow when you already have word timings: build_captions({ words, look }) -> props { doc, style, settings } for the CaptionedVideo Remotion composition (npm package \"captionseasy/remotion\").\nTo get a finished video file instead: caption_video({ video, look, words }) (needs the add-on captionseasy-render; without words it also needs captionseasy-transcribe).\nPick a look with list_looks (query like \"bold\", \"minimal\", \"karaoke\", \"one word\"), or use 12 (Jumping Box) or 105 (Classic Subtitle) as safe defaults.\nOnly call describe_look when the user asks for a change (colour, size, position, pacing); pass those as overrides/settings.","protocolVersion":"2025-11-25","serverInfo":{"name":"captionseasy","title":"CaptionsEasy","version":"0.1.1"}}}}
{"at":"2026-11-22T23:30:51.113Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:30:51.113Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:30:51.113Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List CaptionsEasy's designed caption looks (99). Each has a permanent `number` and an `id`; pass either to build_captions / caption_video. Filter with `query` (free text over name, description, tags and section, e.g. \"bold\", \"neon\", \"subtitle\", \"one word\", \"karaoke\") or `section` (viral, popular, premium, trending, creator, dynamic, typography, simple, paper, plus clean/fun/retro/tech...). `layout: word` looks show one word at a time (punchy Shorts/TikTok); sentence/karaoke looks show short phrases (talking heads, tutorials).","inputSchema":{"properties":{"query":{"type":"string"},"section":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"},"name":"list_looks","title":"List caption looks"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"One look's defaults and the ONLY style controls its design responds to: `controls` [{ key, type, min/max/options, default, dependsOn }] and pacing `settings` (maxWordsPerCard, pauseMs, gapBehavior...). Use it to turn a request like \"make the highlight pink and put captions higher\" into overrides, e.g. { \"active.color\": \"#FF3366\", \"position.y\": 0.6 }. Keys not listed here are rejected.","inputSchema":{"properties":{"look":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Look number (e.g. 12) or id (e.g. \"hormozi_box\"), from list_looks"}},"required":["look"],"type":"object"},"name":"describe_look","title":"Describe a caption look"},{"annotations":{"openWorldHint":false,"readOnlyHint":false},"description":"Turn timed words + a look (+ optional overrides/settings) into validated props { doc, style, settings } for the CaptionedVideo Remotion composition (import { CaptionedVideo } from \"captionseasy/remotion\"; render it in your own timeline, mode \"burn\" over a video or \"overlay\" for captions only). Pure and instant: no video, no rendering. Pass `words` inline or `words_file` (a JSON file with an array or { words }). Pass `out` to write the props to a file and get a short summary back instead of the full JSON. Invalid keys/values return a clear error listing what is allowed.","inputSchema":{"properties":{"language":{"description":"Language tag stored in the doc (default \"en\")","type":"string"},"look":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Look number (e.g. 12) or id (e.g. \"hormozi_box\"), from list_looks"},"out":{"description":"Optional path to write the props JSON","type":"string"},"overrides":{"additionalProperties":true,"description":"Style changes, keys from describe_look controls (flat dot paths), e.g. {\"active.color\": \"#FF3366\", \"fontSize\": 80, \"position.y\": 0.8}","type":"object"},"settings":{"additionalProperties":true,"description":"Pacing changes, keys from describe_look settings, e.g. {\"maxWordsPerCard\": 2}","type":"object"},"words":{"description":"Timed words, milliseconds on the video's clock","items":{"properties":{"endMs":{"type":"number"},"startMs":{"type":"number"},"text":{"type":"string"}},"required":["text","startMs","endMs"],"type":"object"},"type":"array"},"words_file":{"type":"string"}},"required":["look"],"type":"object"},"name":"build_captions","title":"Build caption props"},{"annotations":{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Render captions onto a local video, entirely on this machine. Needs the add-on `captionseasy-render` (returns ADDON_MISSING with the install command if absent). Give `words` / `words_file`; without them the video is transcribed first (needs the add-on `captionseasy-transcribe`). mode \"burn\" (default) writes an MP4 with captions and the original audio; mode \"overlay\" writes only the captions on a transparent background, same size/length as the video: overlay_format \"mov\" (ProRes 4444, default, every NLE) or \"webm\" (VP9 alpha, small). `overrides`/`settings` as in build_captions. Returns { out, durationMs, width, height, look, words, renderMs }. Takes roughly real time to a few times real time.","inputSchema":{"properties":{"language":{"enum":["en","hinglish","auto"],"type":"string"},"look":{"anyOf":[{"type":"integer"},{"type":"string"}],"description":"Look number (e.g. 12) or id (e.g. \"hormozi_box\"), from list_looks"},"mode":{"enum":["burn","overlay"],"type":"string"},"out":{"description":"Output path (default: next to the video)","type":"string"},"overlay_format":{"enum":["mov","webm"],"type":"string"},"overrides":{"additionalProperties":true,"description":"Style changes, keys from describe_look controls (flat dot paths), e.g. {\"active.color\": \"#FF3366\", \"fontSize\": 80, \"position.y\": 0.8}","type":"object"},"settings":{"additionalProperties":true,"description":"Pacing changes, keys from describe_look settings, e.g. {\"maxWordsPerCard\": 2}","type":"object"},"video":{"description":"Absolute path of the local video file","type":"string"},"words":{"description":"Timed words, milliseconds on the video's clock","items":{"properties":{"endMs":{"type":"number"},"startMs":{"type":"number"},"text":{"type":"string"}},"required":["text","startMs","endMs"],"type":"object"},"type":"array"},"words_file":{"type":"string"}},"required":["video","look"],"type":"object"},"name":"caption_video","title":"Caption a video file"},{"annotations":{"openWorldHint":false,"readOnlyHint":false},"description":"Speech-to-text with word timestamps for a local video/audio file, with a local Whisper model. Needs the add-on `captionseasy-transcribe` (returns ADDON_MISSING with the install command if absent); its first call downloads the model once (~200 MB). Returns { language, durationMs, words: [{ text, startMs, endMs }] }. language: \"en\" (default), \"hinglish\" or \"auto\". Pass `out` to also save the words as JSON.","inputSchema":{"properties":{"language":{"enum":["en","hinglish","auto"],"type":"string"},"out":{"type":"string"},"video":{"description":"Absolute path of the local video or audio file","type":"string"}},"required":["video"],"type":"object"},"name":"transcribe","title":"Transcribe a video"}]}}}
