> youtube-music
Search and play music tracks on YouTube Music through MCP integration. Use when user wants to search for songs, play music, or discover tracks on YouTube Music platform.
curl "https://skillshub.wtf/happycapy-ai/Happycapy-skills/youtube-music?format=md"YouTube Music MCP
🎵 A Model Context Protocol (MCP) server that enables AI assistants to search for and play tracks on YouTube Music.
Overview
This skill provides integration with YouTube Music through the MCP protocol, allowing you to search for songs by title or artist name and play them directly in the user's default web browser.
Available Tools
- searchTrack - Search for music tracks on YouTube Music by title or artist name
- playTrack - Search and automatically open tracks in the default web browser
Prerequisites
Before using this skill, ensure you have:
- A valid Google YouTube API Key from the Google Cloud Console
- Cursor or Claude Desktop properly configured
Installation
Add the following configuration to your .cursor/mcp.json file (or Claude Desktop configuration):
{
"mcpServers": {
"youtube-music-mcp": {
"command": "npx",
"args": ["-y", "@instructa/mcp-youtube-music"],
"env": {
"YOUTUBE_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Replace <YOUR_API_KEY> with your actual YouTube API key.
Usage Examples
Searching for Tracks
User: "Search for Bohemian Rhapsody by Queen"
Assistant: [Uses searchTrack tool to find the track on YouTube Music]
Playing Tracks
User: "Play some jazz music"
Assistant: [Uses playTrack tool to search and open jazz music in browser]
Guidelines
- Always verify that the YouTube API key is configured before attempting to use the tools
- Provide clear feedback to users about what tracks were found or played
- If a track cannot be found, suggest alternative search terms or artists
- The playTrack tool will open tracks in the user's default web browser
- Respect user preferences for music genres and artists
Technical Details
- Protocol: Model Context Protocol (MCP)
- Platform: YouTube Music
- Execution: Runs via
npxwithout requiring local installation - License: MIT
Author
Created by Kevin Kern / Instructa (@kregenrek)
Resources
- GitHub Repository: instructa/mcp-youtube-music
- Learn more: instructa.ai
> related_skills --same-repo
> xiaohongshu-recruiter
用于在小红书上发布高质量的 AI 相关岗位招聘帖子。包含自动生成极客风格的招聘封面图和详情图,并提供自动化发布脚本。当用户需要发布招聘信息、寻找 Agent 设计师或其他 AI 领域人才时使用。
> writing-clearly-and-concisely
Use when writing prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Applies Strunk's timeless rules for clearer, stronger, more professional writing.
> world-class-carousel
Generate world-class Instagram carousel content on any topic. Produces 7-10 publication-ready slides (1080x1350) with AI-generated visuals, precise typography, Instagram music recommendations, optimized captions, and hashtags. Uses Aristotelian first-principles framework with 7 content archetypes, 6 hook patterns, a mandatory Bullshit Test quality gate, and a comprehensive design system. Fully generalized -- works for ANY topic. Triggers: instagram carousel, create carousel, carousel post, make
> weather
Get current weather and forecasts (no API key required).