Back to Home
CaullenOmdahl icon

youtube-music-mcp-server

by CaullenOmdahl

Overview

Full-featured MCP server for YouTube Music to search, manage playlists, and create smart recommendations through AI assistants.

Installation

Run Command
npm start

Environment Variables

  • GOOGLE_OAUTH_CLIENT_ID
  • GOOGLE_OAUTH_CLIENT_SECRET
  • ENCRYPTION_KEY
  • DATABASE_URL
  • SPOTIFY_CLIENT_ID
  • SPOTIFY_CLIENT_SECRET

Security Notes

The server uses AES-256-GCM for encrypting OAuth tokens for persistence, which is generally robust. However, if the `ENCRYPTION_KEY` environment variable is not explicitly provided, it falls back to a hardcoded, insecure default key. This makes stored tokens easily recoverable and poses a critical vulnerability. Input validation for tool parameters is handled using Zod, and database queries use parameterized statements to prevent SQL injection. OAuth is handled via the MCP SDK's proxy provider, abstracting many security complexities. The YTM_API_KEY is a publicly known key and not a secret.

Similar Servers

Stats

Interest Score32
Security Score4
Cost ClassMedium
Avg Tokens1500
Stars2
Forks1
Last Update2026-01-09

Tags

mcpyoutube-musicaiplaylistrecommendations