vtt-vietsub-mcp

v1.1.0
vtt-vietsub-mcp Checked 4 days ago Published 1 month ago

MCP server for translating VTT subtitle files to Vietnamese using configurable LLM providers

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_vtt_files

Scan a directory recursively and list all .vtt subtitle files with their translation status.

ParameterTypeDescription
dir_path *stringAbsolute path to the directory to scan

translate_vtt_file

Translate a single .vtt subtitle file to Vietnamese using the configured LLM provider. Creates a {stem}-vietsub.vtt file alongside the original.

ParameterTypeDescription
file_path *stringAbsolute path to the .vtt file to translate
forcebooleanOverwrite existing -vietsub.vtt file if it exists (default: false)

translate_vtt_dir

Translate all .vtt subtitle files in a directory (recursively) to Vietnamese. Returns a summary of results.

ParameterTypeDescription
dir_path *stringAbsolute path to the directory to process
forcebooleanOverwrite existing -vietsub.vtt files (default: false)

promote_vietsub

Promote translated VTT files to primary: rename {stem}.vtt → {stem}-backup.vtt and {stem}-vietsub.vtt → {stem}.vtt. Skips files without a vietsub counterpart.

ParameterTypeDescription
dir_path *stringAbsolute path to the directory to process
forcebooleanOverwrite existing -backup.vtt files if present (default: false)