schemaVersion: "1.0.0"
name: "yt-dlp-mcp"
displayName: "yt-dlp/yt-dlp MCP Server"
description: "Feature-rich command-line audio/video metadata, subtitle, and stream extractor."
homepage: "https://github.com/yt-dlp/yt-dlp"
repository: "https://github.com/yt-dlp/yt-dlp"
license: "Unlicense"
startCommand:
  type: stdio
  command: python3
  args:
    - "server.py"
    - "--stdio"
  configSchema:
    type: object
    properties:
      allowExec:
        type: boolean
        title: "Allow Local Execution"
        description: "Set true to execute local CLI commands instead of dry-run plans."
        default: false
  env:
    MCP_ALLOW_EXEC: "${config.allowExec}"
tools:
  - name: repo_overview
    description: "Return architecture, install commands, and tool catalog for yt-dlp/yt-dlp."
  - name: cli_dump_json
    description: "Extract structured video metadata, formats, and captions as JSON"
  - name: cli_list_subs
    description: "List available auto-generated and manual subtitle languages"
  - name: cli_list_formats
    description: "List available stream codecs, resolutions, and bitrates"
