MCP server for building and curating YouTube Music playlists from natural-language intent.
Server has 7 tools with complete descriptions and basic schemas. Naming follows verb_noun convention (authenticate, list_my_playlists, create_playlist_from_tracks, etc.). All tools have docstrings exceeding 20 chars. However, parameter descriptions are minimal or missing for several tools (e.g., get_playlist_details 'limit' lacks range guidance; remove_tracks_from_playlist lacks error recovery hints). Output schemas are not formally documented, responses are inferred from code. Error handling returns dict with 'error' key but lacks actionable recovery guidance per pattern:recovery-guide. No tool annotations (readOnlyHint, destructiveHint) despite clear risk levels (WRITE, DESTRUCTIVE). Composition is sound: tools chain well (list_my_playlists → create_playlist_from_tracks). Idempotency not addressed for destructive ops (dedupe_playlist, remove_tracks_from_playlist).
Add tracks (as natural-language descriptions) to an existing playlist. Tracks are resolved by the same confidence scorer used for creation. Tracks already in the playlist are skipped individually and reported — YouTube rejects an entire add batch if it contains one duplicate, so we pre-filter against the current contents rather than sending them. Ambiguous and unresolved queries are reported rather than guessed, and the returned `added` count reflects what was actually added.
Log in to YouTube Music and save credentials — no manual setup. By default this opens Chrome at music.youtube.com; log in normally and the session is captured over the DevTools Protocol (Google doesn't block a normally-launched browser, and Chrome's encrypted cookie store is never touched). Pass `from_browser` (e.g. "firefox") to instead read an already-logged-in browser's cookies. Credentials are written to YTMUSIC_AUTH if set, otherwise a default path in your home directory, so no environment configuration is required. Requires the optional auth extra: pip install "ytmusic-mcp[auth]"
Create a playlist from natural-language track descriptions. Each entry in `tracks` (e.g. "Close to the Edge - Yes") is searched on YouTube Music and resolved to a track. The playlist is created with every track that resolved; anything ambiguous or not found is returned in the resolution report rather than silently dropped or guessed. `privacy` is one of PRIVATE, PUBLIC, or UNLISTED.
Remove duplicate tracks from a playlist, keeping the first occurrence. Duplicates are detected by videoId, so it only removes true repeats of the exact same track — not different versions of the same song.
Output schemas not formally documented. Responses inferred from code (e.g., get_playlist_details returns dict with playlistId, title, trackCount, tracks array). LLMs cannot plan downstream calls without explicit schema declarations.
Destructive tools (remove_tracks_from_playlist, dedupe_playlist) lack confirmation/dry-run pattern. No idempotency guarantees documented. Agents cannot safely retry on ambiguous failures.
Error responses return bare {'error': str} without recovery guidance. E.g., 'Saved, but verification failed: ...' gives no hint whether to retry, check credentials, or ask user. Per pattern:recovery-guide, errors should guide next steps.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 58 | 2026-07-28+ | v2 |
Read the tracks currently in a playlist. Use this to reason about a playlist before curating it — the returned `index` values are stable positions you can refer back to.
List the playlists in your YouTube Music library. Use this before curating so you can reference existing playlists by id.
Remove tracks from a playlist by natural-language description. Matching is done against the playlist's own contents (not global search), so only tracks actually in the playlist can be removed. Ambiguous or not-found queries are reported and nothing is removed for them — removal is never a guess.
Tool annotations missing. No readOnlyHint for list_my_playlists, get_playlist_details; no destructiveHint for remove_tracks_from_playlist, dedupe_playlist. Agents cannot infer safety/side-effect profile from tool metadata.
Parameter descriptions lack constraints. E.g., get_playlist_details 'limit' has no range (1 - 100?); privacy in create_playlist_from_tracks states enum values in description but not as formal constraint; from_browser in authenticate lacks examples of valid browser names.