Youtube music

From happycapy-ai/Happycapy-skills · View interactive version

Youtube music is an AI agent skill from the GitHub repository happycapy-ai/Happycapy-skills. 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.

How to use this skill

Skill file

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

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

Technical Details

Author

Created by Kevin Kern / Instructa (@kregenrek)

Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.