Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

SubCraft MCP server for deterministic, local-only subtitle engineering across .srt, .vtt, OpenAI Whisper verbose .json, and Apple Final Cut Pro / DaVinci Resolve FCPXML 1.9. Call reflow_vertical_subtitles to wrap long captions into balanced 9:16 vertical (<=13 CJK / <=26 ASCII) or 16:9 cinema (<=22 CJK / <=42 ASCII) cues without splitting English words, numbers, or URLs. Call heal_subtitle_timecodes to fix NLE framerate drift (23.976 <-> 24 <-> 25 <-> 29.97 fps), shift offsets, clamp cue overlaps, and audit >18 CPS reading speed. Call merge_bilingual_subtitles to align dual-language tracks into .srt, .vtt, or FCPXML 1.9. Call extract_video_chapters_and_shownotes to produce YouTube 00:00 chapters and filler-stripped Markdown transcripts.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}
prompts
{}
resources
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
reflow_vertical_subtitlesA

Reflow .srt, .vtt, or OpenAI Whisper verbose .json captions into balanced 9:16 vertical (<=13 CJK / <=26 ASCII) or 16:9 cinema (<=22 CJK / <=42 ASCII) .srt or .vtt cues using dynamic programming without splitting English words, numbers, currencies, ratios, or URLs.

heal_subtitle_timecodesA

Repair NLE framerate drift (23.976 <-> 24 <-> 25 <-> 29.97 <-> 30 fps), apply global millisecond offset shifts, enforce minimum cue duration floors, clamp overlapping cues for Premiere / Final Cut Pro / DaVinci Resolve, and audit reading-speed CPS violations.

merge_bilingual_subtitlesA

Align and merge primary and secondary subtitle tracks (.srt, .vtt, or Whisper .json) by midpoint and temporal overlap into dual-line .srt, .vtt, or rational-frame Apple Final Cut Pro / DaVinci Resolve FCPXML 1.9 title lanes.

extract_video_chapters_and_shownotesA

Extract YouTube-compliant 00:00 timestamp chapters and generate a speaker-grouped, paragraphized Markdown show-notes transcript from .srt, .vtt, or Whisper .json while surgically stripping Chinese and English spoken filler words.

Prompts

Interactive templates invoked by user choice

NameDescription
short-form-vertical-caption-polishReflow raw Whisper or SRT captions for 9:16 vertical short-form video, strip spoken fillers, and heal NLE timecode overlaps.
bilingual-release-and-chaptersMerge primary + secondary language caption tracks into FCPXML 1.9 / SRT and generate YouTube 00:00 chapters + Markdown show notes.

Resources

Contextual data attached and managed by the client

NameDescription
Broadcast Caption Line-Width, CPS & Framerate Drift ReferenceDeterministic thresholds for 9:16 vertical vs 16:9 cinema line widths, EN/ZH reading speed (CPS), NLE pull-down ratios, and FCPXML 1.9 frame durations.
GitHub Action PR Subtitle Lint Setup (z121245017-ai/subcraft-mcp@v1)Copy-paste .github/workflows YAML for blocking overlapping timecodes, >18 CPS speed bursts, and overflowing caption lines in pull requests.

TDQS

A4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a clearly distinct subtitle-processing operation: reflowing layout, repairing timing, merging bilingual tracks, and extracting chapters/show notes. There is no meaningful overlap in purpose, so an agent can select the right tool from the task alone.

Naming Consistency5/5

All four tools follow a verb-first snake_case convention (reflow_, heal_, merge_, extract_) with descriptive noun phrases. The pattern is predictable and consistent throughout.

Tool Count5/5

Four tools are well-scoped for a focused subtitle-processing server, and each covers a distinct stage of subtitle cleanup and delivery. Nothing feels redundant or missing from a count perspective.

Completeness4/5

The surface covers core subtitle workflows: reflow, timing repair, bilingual merging, and chapter/show-notes extraction across common caption formats. Minor gaps exist around general format conversion or subtitle trimming, but these are not central to the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues