How to Dub a YouTube Video into Another Language and Keep Each Speaker's Voice (Open-Source MCP Workflow) A developer released YouTube Dubbing MCP, an MIT-licensed open-source server that lets agents in Claude Code, Claude Desktop, Cursor, Codex and VS Code dub videos into other languages while preserving each speaker's voice. The server pulls captions or transcribes audio, separates speakers by caption markers or voice pitch, clones a 4–14 second sample per speaker, assigns per-line character budgets for translation, and renders a mix exactly as long as the source video, capped at 1.25x speedup with pitch preserved, plus an SRT and a per-language YouTube Studio upload package. The author discloses working on Miragea, the voice engine the project calls to render voices. Updated: November 29, 2026 Disclosure: I work on Miragea, the voice engine this open-source project calls to render voices. The project is MIT-licensed, and every step below comes from its public README and example files. This post was drafted with AI assistance and I checked it against the repository. Short answer: Install the open-source YouTube Dubbing MCP server in Claude Code, Claude Desktop, Cursor, Codex or VS Code, then ask your agent: "Dub this video into English, keep each speaker's voice, and make the YouTube upload package." The server pulls the captions or transcript, works out who is speaking, cuts a short voice sample of each speaker and clones it, and gives your agent a time budget for every line to translate into. It then voices each line in that speaker's cloned voice, mixes a track exactly as long as the video, and writes an SRT plus a per-language upload folder for YouTube Studio. Most AI dubbing demos use one narrator. Real videos interviews, podcasts, tutorials with a guest have two or more people, and viewers notice when everyone suddenly sounds the same. Doing it properly means: 1 knowing who said what speaker separation ; 2 a clean sample of each person to clone from; 3 translated lines that fit the original timing, since translations usually run longer. Claude Code: claude mcp add youtube-dubbing -s user -e MIRAGEA API KEY=