YouTube Music MCP Server

Author:@mondweep
View on GitHub

Overview

What is the YouTube Music MCP Server? It is a server for the Model Context Protocol (MCP). It enables AI models to control music playback on YouTube Music through the Google Chrome browser, allowing AI assistants to search for and play songs.

How do you use it? First, install the required dependencies and build the server. Then, configure it with your AI assistant. Once set up, you can search for music by song or artist name and play it directly in Google Chrome.

What are its key features? The server lets you search for songs on YouTube Music and play them in Chrome. You can search by song name or artist name. It includes error handling and logging. While it offers cross-platform support, its primary development target is macOS.

What are common use cases? It integrates AI assistants with YouTube Music for seamless playback, automates music based on user queries, and enhances user experience by enabling voice-controlled music commands.

Frequently asked questions: Can it run on Windows? Yes, it supports cross-platform use, including Windows. Is a specific browser needed? It is designed to work with Google Chrome. How do you debug it? Use the MCP Inspector for debugging, which provides browser-accessible tools.