YouTube Music MCP
Search and play tracks on YouTube Music via AI assistants.
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
Related Servers
The Movie Database (TMDB)
Integrates with The Movie Database (TMDB) API, allowing AI assistants to search for movies, retrieve details, and generate related content.
Hotel Booking
Search and book from over 2 million hotels with shopping and booking capabilities.
企业基础信息服务
Provides basic enterprise information services, including business registration, company profiles, shareholders, and key personnel.
eRegulations MCP Server
An MCP server for the eRegulations API, providing access to regulatory information.
Rememberizer Common Knowledge
Provides semantic search and retrieval for internal company knowledge bases, including documents and Slack discussions.
Crossref MCP Server
Search and access academic paper metadata from Crossref.
MCP-MCP
A meta-server for discovering and provisioning other MCP servers from a large database.
SerpApi
Retrieve parsed search engine results using the SerpApi API.
QuantConnect Docs
An MCP server for intelligent search and retrieval of QuantConnect PDF documentation.
Algolia Search
A server for searching an Algolia index using the Algolia Search API.