trackmcp
Back to directory
instructa

mcp-youtube-music

View on GitHub

๐ŸŽถ A simple MCP Server that search & plays youtube music tracks

12 stars TypeScriptOthers Updated Jul 11, 2026

Documentation

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:

json
{
  "mcpServers": {
    "youtube-music-mcp": {
      "command": "npx",
      "args": ["-y", "@instructa/mcp-youtube-music"],
      "env": {
        "YOUTUBE_API_KEY": ""
      }
    }
  }
}

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

Frequently asked questions

What is mcp-youtube-music?

mcp-youtube-music is ๐ŸŽถ A simple MCP Server that search & plays youtube music tracks

How do I install mcp-youtube-music?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-youtube-music open source?

Yes โ€” it is hosted on GitHub at https://github.com/instructa/mcp-youtube-music and has 12 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP