YouTube Music MCP

by instructa

Integrations

  • Enables searching for and playing tracks on YouTube Music directly through the AI assistant, with tools for searching tracks by name and automatically opening them in the default browser.

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

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A simple MCP server that allows AI assistants like Cursor or Claude Desktop to search for and play tracks on YouTube Music through natural language commands.

  1. Available Tools
    1. Installation
      1. 1. Get a key
      2. 2. Add to cursor
      3. License
      4. Links
      5. Courses
      6. See my other projects:

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      The MCP Server integrates APIs from the Youtube-Summarizer as tools within the MCP protocol, allowing for local AI application interaction and tool utilization through natural language queries.
      Last updated -
      Python
    • -
      security
      A
      license
      -
      quality
      An MCP server that allows AI models to control YouTube Music playback through Google Chrome by searching and playing songs using song and artist names.
      Last updated -
      2
      JavaScript
      MIT License
      • Apple
    • -
      security
      A
      license
      -
      quality
      An MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.
      Last updated -
      1
      JavaScript
      MIT License
      • Apple
    • -
      security
      F
      license
      -
      quality
      An MCP server that connects AI assistants to SearchAgora, enabling users to search for, discover, and purchase products across the web through natural language conversations.
      Last updated -
      Python
      • Apple

    View all related MCP servers

    ID: biig4bke7a