vtt-vietsub-mcp
v1.1.0MCP 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.
| Parameter | Type | Description |
|---|---|---|
dir_path * | string | Absolute 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.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the .vtt file to translate |
force | boolean | Overwrite 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.
| Parameter | Type | Description |
|---|---|---|
dir_path * | string | Absolute path to the directory to process |
force | boolean | Overwrite 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.
| Parameter | Type | Description |
|---|---|---|
dir_path * | string | Absolute path to the directory to process |
force | boolean | Overwrite existing -backup.vtt files if present (default: false) |