MCP server for YouTube Data API v3 with OAuth 2.0 authentication. ## Features - Search videos, channels, and playlists with filters (duration, date, region, type) - Get video details — views, likes, comments, duration, tags, thumbnails - Browse channel statistics — subscribers, video count, total views - List and manage playlists — create, update, delete, add/remove videos - Read and post comments — top-level threads, replies, moderation - Rate videos with like/dislike/unrate - Get trending videos by region and category - Automatic access token refresh via OAuth 2.0 ## 20 Tools **Search & Discovery**: search YouTube, get popular/trending videos, list video categories **Videos & Channels**: get video details, get channel info **Playlists**: list playlists, list playlist items, create/update/delete playlist, add/remove playlist item **Comments**: list comment threads, list replies, post comment, reply to comment, update/delete comment **Ratings**: rate video (like/dislike/none) ## Configuration - YOUTUBE_CLIENT_ID — OAuth 2.0 Client ID from https://console.cloud.google.com/apis/credentials - YOUTUBE_CLIENT_SECRET — OAuth 2.0 Client Secret - YOUTUBE_REFRESH_TOKEN — Refresh Token from https://developers.google.com/oauthplayground (scope: youtube)