REC 00:00:00;00
screencast-mcp Tools Workflows Connect GitHub ↗

SCREENCAST-MCP / TOOLS / PRODUCE

Chapters

chapters

Write chapters (markers, scene changes, transcript, or a list) into an mp4/mkv/mov copy without re-encoding; returns YouTube chapter text. Can mux an SRT as soft subtitles.

producewritesdestructivesince v0.45.0

00:00PARAMETERS
NameTypeDescription
inputstringPath to the video.
sessionIdstringOr a stopped recording's id.
from"markers" | "scenes" | "transcript"markers (default; add_marker, else the file's chapters), scenes (screen changes), or transcript (SRT sections).
chaptersobject[]Or explicit { start, title } chapters. at least 1 items, at most 200 items
chapters[].start requirednumber ≥ 0
chapters[].title requiredstring at most 100 characters
transcriptstringThe .srt for from: transcript.
minChapterSecnumberShortest chapter (default 1; scenes 10, transcript 30). ≥ 0
subtitlesstringAlso mux this .srt/.vtt/.ass as a soft subtitle track.
subtitleLanguagestringISO 639-2, e.g. "eng".
textOnlybooleanReturn chapters and YouTube text only; write no file.
outputstringOptional .mp4/.mkv/.mov path. Defaults under SCREENCAST_HOME/edits.
overwritebooleanAllow replacing an existing output file.
00:05A MINIMAL CALL
chapters {}

The required arguments only, with placeholder values. Everything else takes its default.

00:10WHAT COMES BACK

Structured content (structuredContent), alongside a text summary:

FieldType
chapters alwaysobject[]
chapters[].start alwaysnumber
chapters[].end alwaysnumber
chapters[].title alwaysstring
youtube alwaysstring