YouTube Music MCP 🎵

YouTube Music MCP 🎵

By instructa GitHub

🎶 A simple MCP Server that search & plays youtube music tracks

youtube-music mcp-server
Overview

what is YouTube Music MCP?

YouTube Music MCP is a simple MCP server that allows users to search for and play tracks on YouTube Music directly from AI assistants like Cursor or Claude Desktop.

how to use YouTube Music MCP?

To use YouTube Music MCP, you need to obtain a valid Google YouTube API Key, add the MCP configuration to your Cursor settings, and then you can search and play music tracks.

key features of YouTube Music MCP?

  • Search for tracks on YouTube Music by name.
  • Play tracks directly in your default browser.
  • Integration with AI assistants for seamless music experience.

use cases of YouTube Music MCP?

  1. Searching for specific songs or artists on YouTube Music.
  2. Playing music tracks during a coding session or while working.
  3. Enhancing AI assistant capabilities with music playback features.

FAQ from YouTube Music MCP?

  • Do I need a YouTube API Key to use this MCP?

Yes, a valid Google YouTube API Key is required to use the YouTube Music MCP.

  • Can I run this MCP locally?

Yes, you can run it directly using npx without local installation unless you want to modify the source code.

  • Is this project open source?

Yes, this project is licensed under the MIT License.

Content

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.


Courses

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
No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details