Skip to content
VS Code

YTDL RMCP for VS Code

ai.dinglebear/rytdl

yt-dlp search, download, metadata, delivery, and Plex workflows over MCP and CLI.

client:VS Code transport:stdio runtime:npm

Install YTDL RMCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ytdlp-plex-url",
      "description": "YTDLP_PLEX_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ytdlp-plex-token",
      "description": "YTDLP_PLEX_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ytdlp-acoustid-client-key",
      "description": "YTDLP_ACOUSTID_CLIENT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ytdl-rmcp-binary-version",
      "description": "YTDL_RMCP_BINARY_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ytdl-rmcp-release-base-url",
      "description": "YTDL_RMCP_RELEASE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rust-log",
      "description": "RUST_LOG",
      "password": true
    }
  ],
  "servers": {
    "rytdl": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/rytdl"
      ],
      "env": {
        "YTDLP_PLEX_URL": "${input:ytdlp-plex-url}",
        "YTDLP_PLEX_TOKEN": "${input:ytdlp-plex-token}",
        "YTDLP_ACOUSTID_CLIENT_KEY": "${input:ytdlp-acoustid-client-key}",
        "YTDL_RMCP_BINARY_VERSION": "${input:ytdl-rmcp-binary-version}",
        "YTDL_RMCP_RELEASE_BASE_URL": "${input:ytdl-rmcp-release-base-url}",
        "RUST_LOG": "${input:rust-log}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

YTDL RMCP in other clients