Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YTDLP_LOGNo`tracing` filter written to stderr only. Never send logs to stdout because stdout is the MCP JSON-RPC channel.info
YTDLP_PATHNoUse a specific yt-dlp executable instead of auto-resolution/auto-download.
FFMPEG_PATHNoUse a specific ffmpeg executable instead of auto-resolution/auto-download.
FPCALC_PATHNoOptional explicit path to the Chromaprint `fpcalc` executable.
YTDLP_REMOTENoLegacy SSH remote alias or `user@host`.
YTDLP_SHA256NoOptional SHA-256 digest required for the resolved yt-dlp executable.
FFMPEG_SHA256NoOptional SHA-256 digest required for the resolved ffmpeg executable.
YTDLP_PLEX_URLNoPlex server URL, e.g. `http://plex.local:32400`, used when adding audio downloads to a Plex playlist. Must be paired with YTDLP_PLEX_TOKEN.
YTDLP_SSH_OPTSNoExtra ssh options parsed with shell-word syntax and appended after forced non-interactive defaults. Example: `-i "~/.ssh/ytdl key" -o ProxyJump=media-bastion`.
YTDLP_PLEX_TOKENNoPlex auth token for playlist/search API calls. Must be paired with YTDLP_PLEX_URL.
YTDLP_UPDATE_PRENoTrack yt-dlp's nightly pre-release channel instead of stable.0
YTDLP_ARCHIVE_DIRNoDirectory that stores `use_archive` download archives. Separate per-mode archive files are created inside it.
YTDLP_AUTO_UPDATENoRe-download yt-dlp when stale. Disable only when YTDLP_PATH/hash pins are managing the executable externally.1
YTDLP_REMOTE_PATHNoLegacy absolute SSH path for audio. Requires YTDLP_REMOTE; relative paths are rejected.
YTDLP_STAGING_DIRNoLocal directory where media is staged before transfer. On transfer failure this staging copy is kept for retry.
YTDLP_TARGET_PATHYesDestination for audio. Use `/path` for local, `host:/path` for SSH, or `remote:path` or `rclone:remote:/path` for rclone.
YTDLP_AUDIO_FORMATNoDefault audio codec: `mp3`, `m4a`, `opus`, `flac`, `wav`, or `best`.mp3
YTDLP_HISTORY_PATHNoJSONL download ledger used by `youtube_stats`.per-user state dir `downloads.jsonl`
YTDLP_MAX_AGE_DAYSNoStaleness threshold in days for yt-dlp auto-update.14
YTDLP_TIMEOUT_SECSNoTimeout for each yt-dlp search/probe/download command.1800
YTDLP_PLEX_PLAYLISTNoDefault Plex playlist title or ID; can be overridden per call with `plex_playlist`.yt-dlp Downloads when Plex URL/token are set
YTDLP_CLEAN_METADATANoStrip common YouTube title noise before embedding metadata. Set to `0` to preserve source titles exactly.1
YTDLP_EXTRACTOR_ARGSNoPassed to yt-dlp `--extractor-args`. The Android YouTube client (`youtube:player_client=android`) fixes common `This video is not available` metadata failures for official music videos.
YTDLP_VIDEO_REMOTE_PATHNoLegacy absolute SSH path for video. Requires YTDLP_REMOTE; falls back to the audio target when unset.
YTDLP_VIDEO_TARGET_PATHNoDestination for video when video files should land somewhere different from audio. Same target forms. Defaults to YTDLP_TARGET_PATH if unset.
YTDLP_ACOUSTID_CLIENT_KEYNoAcoustID application API key. Required by `youtube_identify`; when set, `youtube_download` also writes high-confidence MusicBrainz tags to downloaded audio before transfer.
YTDLP_ALLOW_LOCAL_TARGETSNoPermit local filesystem targets such as `/path`. Keep disabled unless you trust MCP callers to choose local write locations.0
YTDLP_MUSICBRAINZ_CONTACTNoContact URL/email included in MusicBrainz lookup User-Agent strings.
YTDLP_TRANSFER_TIMEOUT_SECSNoTimeout for each transfer phase.600

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dinglebear-ai/rytdl'

If you have feedback or need assistance with the MCP directory API, please join our Discord server