Back to Browse

Ytdlp MCP Server

by Fanyzp
Developer ToolsUse Caution4.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

Download video and audio with yt-dlp via AI agents: inspect, batch, subtitles, convert.

About

Download video and audio with yt-dlp via AI agents: inspect, batch, subtitles, convert.

Security Report

4.6
Use Caution4.6High Risk

The ytdlp-mcp server is a reasonable yt-dlp/FFmpeg wrapper whose network and filesystem permissions match its stated download, search, and conversion purpose. Shell use is safe because execFile/spawn are called with argument arrays rather than shell strings, and inputs are validated with zod. Minor concerns include unvalidated output directory paths, a cookies file passed through to yt-dlp, a malformed ffmpeg scale filter string, and a truncated install script that could not be fully reviewed. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.

9 files analyzed · 12 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

process_spawn

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Directory where downloaded files are saved.Optional

Environment variable: YTDLP_DOWNLOAD_DIR

Path to a Netscape-format cookies.txt file for sites that require a signed-in session. Never paste cookie contents into chat.Optional

Environment variable: YTDLP_COOKIES_FILE

Path to the yt-dlp binary.Optional

Environment variable: YTDLP_BIN

Path to the ffmpeg binary, used for merging and converting.Optional

Environment variable: FFMPEG_BIN

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "ytdlp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fanyzp/ytdlp-mcp@1.0.0"
      ],
      "env": {
        "YTDLP_BIN": "your-ytdlp-bin-here",
        "FFMPEG_BIN": "your-ffmpeg-bin-here",
        "YTDLP_COOKIES_FILE": "your-ytdlp-cookies-file-here",
        "YTDLP_DOWNLOAD_DIR": "your-ytdlp-download-dir-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Reviews

No reviews yet

Be the first to review this server!