YouTube Dubbing MCP
v0.1.0AI dubbing for YouTube videos: one cloned voice per speaker, synced SRT, YouTube audio tracks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dubbing_check_setup
Check that dubbing will work: API key set (value hidden), voice engine reachable, its voice models and limits, ffmpeg and yt-dlp available, and where projects are saved. Read-only; creates no job. Call first.
dubbing_list_voices
List the voices saved in the user's Miragea account (actor_id, name, language) to use with dubbing_set_voice. Read-only.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
dubbing_start_project
Start a dubbing project from a YouTube URL, a local video/audio file, or an SRT/VTT caption file. Downloads the audio (and optionally the video for a preview), takes the transcript from YouTube captions when available or transcribes the speech, merges caption fragments into sentences and labels speakers from caption markers (Name:, [Name], >>) or, without markers, by voice pitch (set num_speakers if known). Returns project_id, duration, speakers and segment count.
| Parameter | Type | Description |
|---|---|---|
source * | string | |
captions_file | ||
download_video | boolean | |
num_speakers | ||
prefer_captions | boolean | |
project_name | ||
source_language |
dubbing_get_segments
Read a project's transcript in pages: id, speaker, start, slot_seconds and text. With target_language, each line also gets target_chars and max_chars, the length that fits its time slot when spoken in that language, plus any translation already saved. Use it to review speakers and to translate.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
limit | integer | |
offset | integer | |
target_language |
dubbing_assign_speakers
Set who speaks each segment. `assignments` maps a segment id ('7'), an inclusive range ('7-12') or '*' (all) to a speaker name, e.g. {'1-4': 'Anna', '5': 'Ben'}. Use when captions had no speaker markers.
| Parameter | Type | Description |
|---|---|---|
assignments * | object | |
project_id * | string |
dubbing_extract_voice_samples
Cut a clean 4-14 second voice sample for each speaker from the source audio, with its transcript. With share=true each sample is uploaded to a temporary public file host (uguu.se, deleted after a few hours) so the voice engine can clone it, and the speaker's voice is set automatically. Ask the user before sharing someone's voice. With share=false the samples stay local.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
share | boolean | |
speakers |
dubbing_set_voice
Choose the voice for one speaker: a saved voice (actor_id from dubbing_list_voices) or a voice to clone from a public reference_audio_url (6-15 s of clean speech) with its exact reference_text. Optional model ('expressive' or 'standard') and speed (0.25-4).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
speaker * | string | |
actor_id | ||
model | ||
reference_audio_url | ||
reference_text | ||
speed |
dubbing_set_translation
Save translated lines for a target language as {segment_id: text} (all at once or in batches; later calls update only the ids given), plus an optional localized YouTube title and description. Returns a fit check: lines that are too long for their time slot, and ids still missing.
| Parameter | Type | Description |
|---|---|---|
language * | string | |
project_id * | string | |
translations * | object | |
description | ||
max_speedup | number | |
title |
dubbing_render
Voice every translated line with its speaker's voice, then build the dubbed audio track at the exact video length (each line starts with the original; lines are sped up only when needed, max_speedup 1.0-1.5), the translated SRT, and a preview MP4 when the video was downloaded. Optional background: a music/effects file mixed under the voices. Re-running reuses finished lines and resumes pending ones.
| Parameter | Type | Description |
|---|---|---|
language * | string | |
project_id * | string | |
audio_format | string | |
background_file | ||
background_volume | number | |
max_speedup | number | |
model | ||
preview_video | boolean |
dubbing_export_youtube_package
Write the YouTube upload package: one folder per language with audio.m4a (the dub track, video length), captions.srt, title.txt and description.txt, plus UPLOAD-TO-YOUTUBE.md with the YouTube Studio > Languages steps and a Studio link. The YouTube API cannot upload audio tracks, so the user uploads them.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
languages |
dubbing_project_status
Show a project's state: speakers and their voices, languages translated and rendered, output paths.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
dubbing_list_projects
List dubbing projects saved on this machine, newest first.