YouTube Music MCP 🎵
@instructa
关于 YouTube Music MCP 🎵
🎶 A simple MCP Server that search & plays youtube music tracks
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"youtube-music-mcp": {
"command": "npx",
"args": [
"-y",
"@instructa/mcp-youtube-music"
],
"env": {
"YOUTUBE_API_KEY": "<INSERT_API_KEY_HERE>"
}
}
}
}工具
2Search for tracks on YouTube Music by name.
Play tracks directly by searching and opening them in your default browser.
概览
What is YouTube Music MCP 🎵?
YouTube Music MCP 🎵 is a simple MCP server that allows you to search for and play tracks on YouTube Music directly from an AI assistant such as Cursor or Claude Desktop. It was built using the YouTube Music platform and the Anthropic MCP protocol.
How to use YouTube Music MCP 🎵?
Obtain a valid Google YouTube API Key from the Google Cloud Console. Then add the provided MCP configuration to your Cursor .cursor/mcp.json file, inserting your API key. Run the server via npx using the @instructa/mcp-youtube-music package; no local installation or building is required unless you intend to modify the source code.
Key features of YouTube Music MCP 🎵
- Search for tracks on YouTube Music by name.
- Play tracks directly by opening them in your default browser.
- Integrates with AI assistants like Cursor and Claude Desktop.
- Simple npx‑based setup, no manual installation needed.
- Uses the YouTube Music platform and MCP protocol.
- Requires a valid Google YouTube API key.
Use cases of YouTube Music MCP 🎵
- Quickly search for a song while writing code in Cursor.
- Ask Claude Desktop to play a specific track from YouTube Music.
- Integrate music playback into AI‑powered workflows or automation.
- Provide music recommendations through a conversational interface.
FAQ from YouTube Music MCP 🎵
What tools does YouTube Music MCP 🎵 provide?
The server exposes two tools: searchTrack (search by name) and playTrack (open the track in your browser).
Do I need a YouTube API key to use this server?
Yes. A valid Google YouTube API Key from the Google Cloud Console is required for the server to work.
How do I install YouTube Music MCP 🎵?
Add the MCP configuration block to your Cursor .cursor/mcp.json file, with the command set to npx and args including -y @instructa/mcp-youtube-music. Then define the YOUTUBE_API_KEY environment variable.
Which AI assistants are supported?
The README mentions Cursor and Claude Desktop as supported AI assistants.
How does the playTrack tool work?
playTrack searches for the requested track and opens it in your default browser, allowing you to listen on YouTube Music.
媒体与设计 分类下的更多 MCP 服务器
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
MiniMax MCP
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
NS Travel Information MCP Server
r-huijtsA Model Context Protocol (MCP) server that provides access to NS (Dutch Railways) travel information through Claude AI. This server enables Claude to fetch real-time train travel information and disruptions using the official Dutch NS API.
Image-Gen-Server
fengin一个能与Cursor集成的图片生成mcp server工具,实现调用即梦逆向接口
Melrōse - programming of music melodies
emickleiinteractive programming of melodies, producing MIDI
评论