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
相關伺服器
Find BGM
Finds background music for YouTube shorts by analyzing script content and recommending tracks from YouTube Music.
domain-search-mcp
Domain Search MCP is an open-source MCP server that gives AI assistants the ability to check domain availability in real-time.
Scholarly
Search for academic articles using scholarly vendors.
world airfares flight mcp
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
People Data Labs
Access person, company, school, location, job title, and skill data using the People Data Labs API.
idea-reality-mcp
Pre-build reality check for AI agents. Scans GitHub, HN, npm, PyPI & Product Hunt — returns a 0-100 signal.
Weather MCP Server
Provides real-time weather forecasts and alerts using the National Weather Service API.
BGPT MCP API
Search scientific papers from any MCP tool. Raw experimental data from full-text papers — methods, results, quality scores. 50 free searches, then $0.01/result.
General MCP Server
An MCP server providing search capabilities for Reddit, YouTube, and Twitter.
Baidu Search
Provides web search capabilities using the Baidu Search API, with features for content fetching and parsing.