{
  "$schema": "https://glama.ai/mcp/schemas/server.json",
  "schema_version": "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",
  "transport": [
    "stdio",
    "streamable-http"
  ],
  "runtime": "python3-stdlib",
  "dependencies": 0,
  "startCommand": {
    "command": "python3",
    "args": [
      "server.py",
      "--stdio"
    ]
  },
  "environmentVariables": [
    {
      "name": "MCP_ALLOW_EXEC",
      "required": false,
      "secret": false,
      "default": "0",
      "description": "Set to 1 to run local CLI commands directly instead of dry-run planning."
    }
  ],
  "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"
    }
  ]
}
