ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

YTDL RMCP

โดย jmagarรุ่น 1.0.2i★ –iรันบนเครื่อง
ชื่อใน registryai.dinglebear/ytdl-rmcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Rust MCP server and CLI for yt-dlp search, downloads, metadata, transfers, and Plex playlists.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI
  • ต้องใส่ค่าเหล่านี้: YTDLP_PLEX_TOKEN, YTDLP_ACOUSTID_CLIENT_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 0 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: YTDLP_PLEX_URL, YTDLP_PLEX_TOKEN, YTDLP_ACOUSTID_CLIENT_KEY, YTDL_RMCP_BINARY_VERSION, YTDL_RMCP_RELEASE_BASE_URL, RUST_LOG

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "ytdl-rmcp": {
      "command": "npx",
      "args": [
        "-y",
        "ytdl-rmcp"
      ],
      "env": {
        "YTDLP_PLEX_URL": "ใส่ค่าของคุณ",
        "YTDLP_PLEX_TOKEN": "ใส่ค่าของคุณ",
        "YTDLP_ACOUSTID_CLIENT_KEY": "ใส่ค่าของคุณ",
        "YTDL_RMCP_BINARY_VERSION": "ใส่ค่าของคุณ",
        "YTDL_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add ytdl-rmcp --env YTDLP_PLEX_URL='ใส่ค่าของคุณ' --env YTDLP_PLEX_TOKEN='ใส่ค่าของคุณ' --env YTDLP_ACOUSTID_CLIENT_KEY='ใส่ค่าของคุณ' --env YTDL_RMCP_BINARY_VERSION='ใส่ค่าของคุณ' --env YTDL_RMCP_RELEASE_BASE_URL='ใส่ค่าของคุณ' --env RUST_LOG='ใส่ค่าของคุณ' -- npx -y ytdl-rmcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "ytdl-rmcp": {
      "command": "npx",
      "args": [
        "-y",
        "ytdl-rmcp"
      ],
      "env": {
        "YTDLP_PLEX_URL": "ใส่ค่าของคุณ",
        "YTDLP_PLEX_TOKEN": "ใส่ค่าของคุณ",
        "YTDLP_ACOUSTID_CLIENT_KEY": "ใส่ค่าของคุณ",
        "YTDL_RMCP_BINARY_VERSION": "ใส่ค่าของคุณ",
        "YTDL_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "ytdl-rmcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ytdl-rmcp"
      ],
      "env": {
        "YTDLP_PLEX_URL": "ใส่ค่าของคุณ",
        "YTDLP_PLEX_TOKEN": "ใส่ค่าของคุณ",
        "YTDLP_ACOUSTID_CLIENT_KEY": "ใส่ค่าของคุณ",
        "YTDL_RMCP_BINARY_VERSION": "ใส่ค่าของคุณ",
        "YTDL_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • YTDLP_PLEX_URL env
    Optional Plex server URL for playlist and Plex sync workflows.
  • YTDLP_PLEX_TOKEN ความลับ env
    Optional Plex token for playlist and Plex sync workflows.
  • YTDLP_ACOUSTID_CLIENT_KEY ความลับ env
    Optional AcoustID client key for identification and auto-retagging workflows.
  • YTDL_RMCP_BINARY_VERSION env
    Optional GitHub release tag override for the downloaded YTDL RMCP binary.
  • YTDL_RMCP_RELEASE_BASE_URL env
    Optional release download base URL override.
  • RUST_LOG env
    Tracing filter for YTDL RMCP logs.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ! ควรระวัง

    ตัวตนผู้ทำตรงกับ repo

    ผู้ลงทะเบียน (dinglebear.ai) ไม่ใช่เจ้าของ repo (jmagar) อาจเป็นคนอื่นที่นำมาลงต่อ

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7254 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 21% ของอีก 7254 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 32% ของอีก 7254 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

YTDL RMCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: YTDLP_PLEX_TOKEN, YTDLP_ACOUSTID_CLIENT_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.2) เข้า registry 4 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

ytdl-rmcp

yt-dlp search, download, metadata, delivery, and Plex workflows over MCP and CLI.

Written in Rust on the rmcp crate. yt-dlp and ffmpeg are auto-downloaded into a per-user cache on first run, so the host needs neither pre-installed — the one binary is the whole install.

30-second path: npx -y @dinglebear/rytdl setup -> configure a target path -> call youtube_search or youtube_probe; use youtube_download only after the destination and trust boundary are clear.

Status: production personal-media MCP server. Read-only search/probe/stats paths are safe; download, playlist, queue-drain, and tag-writing paths create or move state and are intended for trusted callers.

Not for: a generic web-downloader SaaS, a multi-tenant media ingestion boundary, a replacement for yt-dlp's upstream site handling, or an arbitrary filesystem writer for untrusted MCP callers.

Contents

  • Naming
  • Capabilities And Boundaries
  • Install
  • Quickstart
  • Client Configuration
  • Runtime Surfaces
  • MCP Tool Reference
  • CLI Reference
  • Configuration
  • Authentication
  • Safety And Trust Model
  • Architecture
  • Distribution Contract
  • Development
  • Verification
  • Deployment
  • Troubleshooting
  • Related Servers
  • Documentation
  • License

Naming

SurfaceThis repo
Repositorydinglebear-ai/rytdl
Cargo crateytdl-rmcp
npm package@dinglebear/rytdl
CLI / binaryrytdl
MCP toolsyoutube_search, youtube_search_ui, youtube_download, youtube_probe, youtube_identify, youtube_stats, youtube_plex_playlist, youtube_transfer_queue
Env prefixYTDLP_*, plus FFMPEG_*, FPCALC_PATH, and YTDLP_LOG
Transportstdio only — no HTTP listener, no service port

The crate and npm package use the *-rmcp family naming pattern, while the repository and runtime binary are rytdl so local shells get a short Rust-native command.

Capabilities And Boundaries

  • Searches YouTube through yt-dlp without downloading media.
  • Downloads audio, video, or both into a staging tree, tags audio metadata, and transfers the result to local, SSH, or rclone destinations.
  • Optionally fingerprints audio through AcoustID/MusicBrainz and syncs completed audio downloads into a Plex playlist.
  • Builds Plex playlists from successful transfer history and drains server-made retained-staging transfer manifests.
  • Exposes an MCP App search UI for hosts that can render embedded widgets.
  • Keeps a JSONL ledger for repeat-safe downloads and stats.
This repo ownsUpstream ownsExplicitly out of scope
MCP tools, CLI setup, media staging, tagging, transfer policy, queue manifests, config validation, response shaping, plugin/package metadata.yt-dlp extraction behavior, source-site availability, ffmpeg media conversion, Plex library indexing, SSH/rclone authentication.Multi-tenant isolation, arbitrary local writes for untrusted callers, credential brokering, site-specific scraping guarantees, media-server replacement.

Features

  • Audio, video, or both — audio-first by default, with separate targets for audio and video.
  • Proper tagging — embeds title / artist / album / date and cover art, and organizes output as Artist/Title [id].ext so media servers (Plex, etc.) index it cleanly. A non-greedy Artist - Title parse recovers the artist from free-form video titles. Source .info.json, thumbnail, and description sidecars are preserved next to the media for future retagging/indexing. Common YouTube title noise like (Official Video), [Official Audio], and trailing channel handles is stripped from embedded title metadata by default.
  • Self-contained paths — the binary downloads/caches yt-dlp + ffmpeg when run directly; the container image bakes in ffmpeg, fpcalc, SSH, and rsync for media-host batch jobs.
  • Self-installing — ytdl-rmcp setup registers the server into Claude Code, Codex, and/or Gemini CLI via each tool's own mcp add.
  • Robust transfers — local paths (/path) are copied in-process by the binary itself, SSH targets (host:/path) use rsync -a --partial --protect-args with an scp fallback when rsync is missing, and rclone targets (remote:path or rclone:remote:/path) use rclone copy. On transfer failure the local staging copy is kept for retry and recorded as a drainable manifest for youtube_transfer_queue.
  • Repeat-safe — use_archive records downloaded IDs (per mode) and skips them on later runs; YouTube mix/radio URLs are auto-cleaned to the seed video.
  • Stats-ready ledger — every completed download call appends a JSONL entry with timestamp, destinations, files, bytes, uploader, and transfer status.
  • Plex playlist sync — when Plex credentials are configured, downloaded audio is added to yt-dlp Downloads by default.

MCP Tool Reference

ToolPurpose
youtube_searchSearch YouTube with yt-dlp and return result URLs without downloading.
youtube_search_uiOpen an interactive YouTube search UI in MCP App-capable hosts.
youtube_downloadDownload one or more URLs (audio/video/both) and transfer them to a target path.
youtube_probeRead-only: resolve title/duration/uploader/format counts without downloading.
youtube_identifyFingerprint local audio with fpcalc, return AcoustID/MusicBrainz candidates, preview canonical tags, and optionally write high-confidence tags.
youtube_statsSummarize the download ledger: totals, file kinds, uploaders, and recent entries.
youtube_plex_playlistBuild or preview Plex audio playlists from successful transferred audio history.
youtube_transfer_queueList and drain retained-staging transfer failure manifests.
youtube_download parameters
ParamDefaultMeaning
urls— (required)One URL string or an array of URLs.
modeaudioaudio, video, or both.
audio_formatenv YTDLP_AUDIO_FORMAT → mp3mp3/m4a/opus/flac/wav/best.
audio_quality0yt-dlp quality for lossy codecs: 0–9 or a bitrate like 192K.
max_heightbestCap video resolution (e.g. 1080).
containermp4mp4 or mkv for video.
target_pathenv YTDLP_TARGET_PATHDestination for audio. Use /path for local, host:/path for SSH, or remote:path or rclone:remote:/path for rclone.
video_target_pathenv YTDLP_VIDEO_TARGET_PATH → target_pathDestination for video when it should land somewhere different from audio. Same target forms.
keep_localfalseKeep the local staging copy after transfer.
use_archivefalseRecord + skip already-downloaded IDs (per mode).
plex_playlistenv YTDLP_PLEX_PLAYLIST → yt-dlp Downloads when Plex is configuredPlex playlist title or ID to add downloaded audio tracks to. Requires YTDLP_PLEX_URL and YTDLP_PLEX_TOKEN.
response_formatmarkdownmarkdown or json.

When Plex credentials are configured, successful downloads that produced audio files search Plex for each downloaded track, create the target playlist if needed, and add missing tracks while skipping entries already present. The default playlist is yt-dlp Downloads; set YTDLP_PLEX_PLAYLIST or pass plex_playlist to override it. Plex errors are reported as plex_playlist_error and do not make the completed download fail. JSON responses include a plex_playlist summary with matched, added, already_present, and missing counts.

Canonical metadata matching through MusicBrainz/AcoustID is documented in docs/musicbrainz-acoustid.md. youtube_download automatically runs high-confidence MusicBrainz retagging for downloaded audio when YTDLP_ACOUSTID_CLIENT_KEY is configured; youtube_identify remains available for previewing or repairing existing library files, with manual tag writes enabled by write_tags=true.

youtube_download JSON response

With response_format=json, the call returns a single object describing the batch:

FieldMeaning
transferredtrue if every produced subtree reached its target.
transfer_errornull on success, else the failure/timeout message (string).
target_path / destination / destinationsThe per-kind target destination(s) actually used.
staging_kept_atLocal staging path retained for retry (set when the transfer failed or keep_local was requested).
total_files / total_bytes / total_sizeAggregate counts across all items.
partial_itemsCount of items that errored but still produced files.
failed_itemsCount of items that errored and produced no files.
items[]Per-URL results, each with a status, title, video_id, error, and a files[] list.

Each items[].status is one of:

  • ok — succeeded with files.
  • partial — an error occurred but some files were still produced.
  • failed — errored with no files.
  • skipped — nothing new (already in the archive).

Optional keys are attached only when the relevant stage ran:

  • metadata_retag — MusicBrainz/AcoustID auto-retag summary (attempted, matched, written, skipped, errors, or an error string); present when YTDLP_ACOUSTID_CLIENT_KEY is configured.
  • plex_playlist — Plex playlist summary (playlist, matched, added, already_present, missing); plex_playlist_error is set instead if the Plex update failed (a Plex failure does not fail the download).
  • history_error — set when the download succeeded but the JSONL ledger append failed.

youtube_probe takes urls and response_format.

youtube_plex_playlist

Build or preview Plex audio playlists from successful ytdl-rmcp download history.

Actions:

ActionMeaning
list_candidatesReturn audio candidates from history entries where transferred is true.
previewResolve selected candidates against Plex without mutating Plex.
applyAdd selected candidates to a Plex audio playlist idempotently.

Candidates are history-derived and audio-only. Failed or retained-staging transfers are intentionally excluded.

apply can return plexamp_url, plex_web_url, and playback_link_status. plexamp_url is a best-effort generated listen.plex.tv playback link, not an official Plexamp API guarantee. The regular Plex playlist API calls use the official Plex Media Server API.

youtube_transfer_queue

List and drain server-created transfer failure manifests.

Actions:

ActionMeaning
listShow pending retained-staging transfer manifests.
retryRetry one manifest by opaque manifest_id.
retry_allRetry all pending manifests.
pruneRemove manifests whose staging directory is gone.

The queue never accepts arbitrary filesystem paths. Retry uses the original target paths recorded at failure time and re-checks local target policy before transfer. Manifests are created by the local s

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx