Skip to content
VS Code

Yarr MCP for VS Code

ai.dinglebear/yarr

Self-hosted media fleet operations across Sonarr, Radarr, Plex, and related apps over MCP and CLI.

client:VS Code transport:stdio runtime:npm

Install Yarr MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "yarr-sonarr-url",
      "description": "YARR_SONARR_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-sonarr-api-key",
      "description": "YARR_SONARR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-radarr-url",
      "description": "YARR_RADARR_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-radarr-api-key",
      "description": "YARR_RADARR_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-plex-url",
      "description": "YARR_PLEX_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-plex-token",
      "description": "YARR_PLEX_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-version",
      "description": "YARR_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-repo",
      "description": "YARR_REPO",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yarr-release-base-url",
      "description": "YARR_RELEASE_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "rust-log",
      "description": "RUST_LOG",
      "password": true
    }
  ],
  "servers": {
    "yarr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/yarr"
      ],
      "env": {
        "YARR_SONARR_URL": "${input:yarr-sonarr-url}",
        "YARR_SONARR_API_KEY": "${input:yarr-sonarr-api-key}",
        "YARR_RADARR_URL": "${input:yarr-radarr-url}",
        "YARR_RADARR_API_KEY": "${input:yarr-radarr-api-key}",
        "YARR_PLEX_URL": "${input:yarr-plex-url}",
        "YARR_PLEX_TOKEN": "${input:yarr-plex-token}",
        "YARR_VERSION": "${input:yarr-version}",
        "YARR_REPO": "${input:yarr-repo}",
        "YARR_RELEASE_BASE_URL": "${input:yarr-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

Yarr MCP in other clients