YouTube Music MCP 🎵
@instructa
About YouTube Music MCP 🎵
🎶 A simple MCP Server that search & plays youtube music tracks
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"youtube-music-mcp": {
"command": "npx",
"args": [
"-y",
"@instructa/mcp-youtube-music"
],
"env": {
"YOUTUBE_API_KEY": "<INSERT_API_KEY_HERE>"
}
}
}
}Tools
2Search for tracks on YouTube Music by name.
Play tracks directly by searching and opening them in your default browser.
Overview
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.
Frequently asked questions
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.
Basic information
More Media & Design MCP servers
YouTube Transcript Server
kimtaeyoon83This is an MCP server that allows you to directly download transcripts of YouTube videos.

Google Maps
modelcontextprotocolModel Context Protocol Servers
SVGator
SVGatorDrive your SVGator account from any AI assistant. Prompt an animation, get an editable project back, and export it as SVG, Lottie, GIF, MP4, and more, then open it in the editor to finish by hand.
Photoshop MCP Server
loonghaoA Model Context Protocol (MCP) server that interfaces with Adobe Photoshop's Python API. Enables LLMs to execute image editing operations, automate workflows, and manage Photoshop tasks through structured commands and context-aware interactions.
MiniMax MCP JS
MiniMax-AIOfficial MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
Comments