- Explore MCP Servers
- mcp-youtube-music
Mcp Youtube Music
What is Mcp Youtube Music
mcp-youtube-music is a simple MCP Server that enables users to search for and play music tracks from YouTube Music directly through AI assistants like Cursor or Claude Desktop.
Use cases
Use cases include playing background music during study sessions, creating playlists for events, or simply enjoying music while using an AI assistant for other tasks.
How to use
To use mcp-youtube-music, you need to obtain a valid Google YouTube API Key, then add the MCP configuration to your Cursor settings. You can search for tracks by name and play them directly in your default browser.
Key features
Key features include the ability to search for tracks on YouTube Music and play them directly through an AI assistant, making music access seamless and efficient.
Where to use
mcp-youtube-music can be used in various fields such as personal entertainment, educational environments, and any scenario where users want to access music quickly through AI interfaces.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Youtube Music
mcp-youtube-music is a simple MCP Server that enables users to search for and play music tracks from YouTube Music directly through AI assistants like Cursor or Claude Desktop.
Use cases
Use cases include playing background music during study sessions, creating playlists for events, or simply enjoying music while using an AI assistant for other tasks.
How to use
To use mcp-youtube-music, you need to obtain a valid Google YouTube API Key, then add the MCP configuration to your Cursor settings. You can search for tracks by name and play them directly in your default browser.
Key features
Key features include the ability to search for tracks on YouTube Music and play them directly through an AI assistant, making music access seamless and efficient.
Where to use
mcp-youtube-music can be used in various fields such as personal entertainment, educational environments, and any scenario where users want to access music quickly through AI interfaces.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
YouTube Music MCP 🎵
This is a simple MCP server that allows you to search for and play tracks on YouTube Music directly from your AI assistant like Cursor or Claude Desktop.
Built with:
Available Tools
searchTrack: Search for tracks on YouTube Music by name.playTrack: Play tracks directly by searching and opening them in your default browser.
Installation
1. Get a key
To make this work you need a valid Google Youtube API Key
2. Add to cursor
Add the following MCP configuration to your Cursor .cursor/mcp.json settings:
{
"mcpServers": {
"youtube-music-mcp": {
"command": "npx",
"args": [
"-y",
"@instructa/mcp-youtube-music"
],
"env": {
"YOUTUBE_API_KEY": "<INSERT_API_KEY_HERE>"
}
}
}
}
Develop
This MCP is typically run directly using npx and doesn’t require local installation or building unless you intend to modify the source code. If you want to develop it locally, you would typically clone the source repository (if available) and follow its specific contribution guidelines.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Links
- X/Twitter: @kregenrek
- Bluesky: @kevinkern.dev
Courses
- Learn Cursor AI: Ultimate Cursor Course
- Learn to build software with AI: instructa.ai
See my other projects:
- AI Prompts - Curated AI Prompts for Cursor AI, Cline, Windsurf and Github Copilot
- codefetch - Turn code into Markdown for LLMs with one simple terminal command
- aidex A CLI tool that provides detailed information about AI language models, helping developers choose the right model for their needs.
- codetie - XCode CLI
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










