youtube-music-mcp
Provides read-only tools for exploring a local YouTube Music library, including listing liked songs and playlists, searching the catalog, summarizing favorites by artist/album/year, and exporting favorites to CSV or JSON.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-music-mcpShow me my liked songs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
YouTube Music MCP
Servidor MCP y plugin personal de Codex para consultar YouTube Music de forma local y de solo lectura. Permite explorar favoritos, playlists y el catálogo sin incorporar credenciales ni datos privados al repositorio.
Funciones
Listar y filtrar canciones marcadas con Me gusta.
Listar playlists de la biblioteca.
Obtener el contenido de la playlist de favoritos (
LM).Buscar canciones, vídeos, álbumes, artistas y playlists.
Buscar por género incorporándolo a la consulta del catálogo.
Resumir favoritos por artista, álbum y año.
Exportar favoritos a CSV o JSON.
Trabajar con API en vivo o con snapshots privados capturados desde Chrome.
Related MCP server: YouTube MCP Server
Privacidad y arquitectura
El servidor tiene dos modos de lectura:
live_api: usa una sesión local deytmusicapi.browser_snapshot: usa snapshots de metadatos generados desde una sesión de Chrome ya iniciada, sin guardar cookies, cabeceras ni contraseñas.
Los archivos privados se almacenan fuera del repositorio:
~/.config/youtube-music-mcp/browser.json
~/.config/youtube-music-mcp/liked-snapshot.json
~/.config/youtube-music-mcp/playlists-snapshot.jsonEl MCP no expone herramientas que modifiquen la cuenta.
Herramientas MCP
Herramienta | Descripción |
| Comprueba la fuente de datos disponible. |
| Lista y filtra canciones favoritas. |
| Lista playlists guardadas. |
| Obtiene canciones de una playlist. |
| Busca en el catálogo por texto, artista o género. |
| Resume artistas, álbumes y años. |
| Exporta favoritos a CSV o JSON. |
Instalación local
Requisitos: Python 3.11 o posterior y uv.
git clone https://github.com/eduardoddddddd/youtube-music-mcp.git
cd youtube-music-mcp
uv sync
./scripts/configure-local-path.shEl último comando adapta .mcp.json a la ruta absoluta del clon.
Autenticación API opcional
./scripts/setup-auth.shNo introduzcas contraseñas: el asistente acepta las cabeceras de una sesión ya iniciada. Si Codex captura la biblioteca desde Chrome, este paso no es necesario.
Desarrollo
uv sync
uv run ruff check .
uv run pytestLimitación de género
YouTube Music no entrega un campo de género por pista. search_music(..., genre="jazz") añade el
género a la consulta del catálogo, pero no intenta clasificar automáticamente cada favorito.
Licencia
MIT © 2026 Eduardo Arias Bravo.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA full-featured YouTube Music MCP server that lets AI assistants control playback, browse history, download songs, and manage playlists via natural language.1
- Alicense-qualityCmaintenanceStreamable HTTP MCP server for YouTube that enables video search, channel exploration, playlist browsing, and video detail retrieval via the YouTube Data API.126MIT
- AlicenseBqualityCmaintenanceLocal read-only MCP server for YouTube Data API v3 and YouTube Analytics API, enabling public video searches and OAuth-based private channel reads.9MIT
- Flicense-qualityDmaintenanceMCP server for YouTube Music that enables searching songs and artists, managing playlists, and authenticating via Google OAuth, using STDIO transport.
Related MCP Connectors
YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
MCP server for Suno AI music generation, lyrics, and covers
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/eduardoddddddd/youtube-music-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server