Overview
The YouTube Music MCP Server is a Model Context Protocol (MCP) server that allows AI models to control YouTube Music playback through Google Chrome, enabling AI to search for and play songs based on song and artist names.
To use the server, install the necessary dependencies, build the server, and configure it with your Claude Desktop application. You can then search for songs and play them directly in Google Chrome.
- Search for songs on YouTube Music - Play songs directly in Google Chrome - Support for searching by song name and artist name - Error handling and logging capabilities - Cross-platform support, primarily focused on macOS for Chrome automation
- Automating music playback through AI assistants.
- Integrating music search capabilities into AI applications.
- Enhancing user experience by allowing voice commands for music control.
Add to your AI client
Use these steps to connect YouTube Music MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mondweep-youtube-music-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mondweep-youtube-music-mcp-server-mcp-mirror"
]
}
}
}FAQ
Can I use this server on Windows?
Yes, the server supports cross-platform usage, including Windows.
Is there a specific browser required?
The server is designed to work with Google Chrome.
How do I debug the server?
You can use the MCP Inspector for debugging, which provides tools accessible via a browser.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1331,"uuid":"b0071fc9-031c-451c-b283-42dca1309931","name":"mondweep_youtube-music-mcp-server","title":"YouTube Music MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-02-20T15:17:53.772Z","updated_at":"2025-02-23T07:21:18.326Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"youtube-music,mcp-server,music-assistant","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/mondweep_youtube-music-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]