Y

Youtube Dubbing MCP

by RTY2345RR · io.github.RTY2345RR/youtube-dubbing-mcp

Dub YouTube videos, local videos or SRT files into other languages with one cloned voice per speaker, synced SRT captions and YouTube multi-language audio tracks.

oci Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-rty2345rr-youtube-dubbing-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-e",
        "MIRAGEA_API_KEY=<YOUR_VALUE>",
        "-e",
        "FFMPEG_BINARY=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES=<YOUR_VALUE>",
        "-e",
        "DUBBING_OUTPUT_DIR=<YOUR_VALUE>",
        "-e",
        "DUBBING_CONCURRENCY=<YOUR_VALUE>",
        "-e",
        "MIRAGEA_WAIT_TIMEOUT=<YOUR_VALUE>",
        "-e",
        "YTDLP_COOKIES_FROM_BROWSER=<YOUR_VALUE>",
        "docker.io/miragea/youtube-dubbing-mcp:0.1.0"
      ]
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
MIRAGEA_API_KEY secret Yes Miragea voice engine API key (required for voicing and transcription).
FFMPEG_BINARY No Custom ffmpeg binary path (defaults to system or bundled ffmpeg).
YTDLP_COOKIES No Path to a cookies.txt file used when YouTube asks to sign in.
DUBBING_OUTPUT_DIR No Where projects are saved. Default: ~/YouTubeDubbing
DUBBING_CONCURRENCY No Number of lines voiced in parallel. Default: 4
MIRAGEA_WAIT_TIMEOUT No Seconds to wait per job before returning (re-run to resume). Default: 900
YTDLP_COOKIES_FROM_BROWSER No Browser name (e.g., chrome, firefox, edge, safari) used when YouTube asks to sign in.

Similar servers