YouTube Music MCP Server logo

YouTube Music MCP Server

by mondweep

This project implements a Model Context Protocol (MCP) server that enables AI models to control YouTube Music playback through Google Chrome. It bridges the gap between AI assistants and music playback, allowing AI to search for and play songs based on song names and artist names.

View on GitHub

Last updated: N/A

What is YouTube Music MCP Server?

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing resources representing text notes with URIs and metadata, tools for creating new notes, and prompts for generating summaries of notes.

How to use YouTube Music MCP Server?

To use this server, you need to install dependencies, build the server, and then add the server config to Claude Desktop (or another MCP-compatible client). Follow the installation instructions in the README, including configuring the path to the built index.js file. For debugging, it's recommended to use the MCP Inspector.

Key features of YouTube Music MCP Server

  • Search YouTube Music for songs

  • Play songs directly in Google Chrome

  • Support for song name and artist name search

  • Error handling and logging

Use cases of YouTube Music MCP Server

  • AI assistants controlling music playback

  • Voice-controlled music selection

  • Automated music playlist generation

  • Integrating music with AI workflows

FAQ from YouTube Music MCP Server

What is MCP?

Model Context Protocol (MCP) is a standardized way for AI models to interact with external tools and services.

Where can I find MCP documentation?

MCP documentation can be found at https://github.com/modelcontextprotocol/protocol

How do I debug MCP servers?

Use the MCP Inspector for debugging. Run 'npm run inspector' to access debugging tools in your browser.

What is the command for the server?

The command should be "/path/to/youtube-music-server/build/index.js"

Where can I find MCP SDK?

MCP SDK can be found at https://github.com/modelcontextprotocol/sdk