SkillsGrove
SkillsGrove/Short video & creators/happycapy-ai/Happycapy-skills/youtube-music

youtube-music

Installation

$npx skills add https://github.com/happycapy-ai/Happycapy-skills --skill youtube-music
$git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git /tmp/Happycapy-skills && mkdir -p ~/.claude/skills && cp -r /tmp/Happycapy-skills/skills/youtube-music ~/.claude/skills/youtube-music
Please install this Agent Skill for me: https://github.com/happycapy-ai/Happycapy-skills/tree/9ff72feaf2f200f81fa4557d021414f73d12ab28/skills/youtube-music — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITSearch 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.
The SKILL.md below is reproduced from happycapy-ai/Happycapy-skills (commit 9ff72fe) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

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:

  1. A valid Google YouTube API Key from the Google Cloud Console
  2. 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 npx without requiring local installation
  • License: MIT

Author

Created by Kevin Kern / Instructa (@kregenrek)

Resources

View full license text (MIT)
MIT License

Copyright (c) 2026

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.