YouTube Upload & Studio MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YOUTUBE_API_KEY | No | Optional API key for public-only lookups | |
| YOUTUBE_MCP_CONFIG_DIR | No | Directory for token.json and quota.json | ~/.youtube-mcp |
| YOUTUBE_MCP_DAILY_QUOTA | No | Daily quota limit enforced client-side | 10000 |
| YOUTUBE_MCP_CLIENT_SECRET | No | Path to Google OAuth Desktop App JSON | ~/.youtube-mcp/client_secret.json |
| YOUTUBE_MCP_SCOPE_PROFILE | No | Scope profile: full, upload_only, or read_only | full |
| YOUTUBE_MCP_ALLOWED_MEDIA_DIR | No | Optional folder allowlist for video/thumbnail uploads |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Security-hardened MCP server for YouTube video uploads, channel management, analytics, SEO, transcripts, and bulk reporting.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| youtube_authA | Initiate OAuth 2.0 authentication flow. Opens a browser window for Google OAuth consent using your own client_secret.json. Required before using tools that access or modify your YouTube channel. |
| youtube_auth_statusA | Check current authentication status, scope profile, and daily quota usage. |
| youtube_analytics_overviewC | Get channel-level analytics summary (views, watch time, subs, likes, comments, shares). |
| youtube_analytics_top_videosA | Get top-performing videos by views (excluding Shorts). |
| youtube_analytics_top_shortsC | Get top-performing Shorts by views. |
| youtube_analytics_video_detailB | Get daily analytics for a specific video. |
| youtube_analytics_traffic_sourcesC | Get traffic source breakdown (search, suggested, browse, external, etc.). |
| youtube_analytics_demographicsC | Get audience age group and gender breakdown. |
| youtube_analytics_geographyC | Get views and watch time by country. |
| youtube_analytics_dailyC | Get daily performance metrics over time. |
| youtube_analytics_day_of_weekC | Get average performance aggregated by day of the week. |
| youtube_analytics_content_type_breakdownC | Compare performance of Shorts vs long-form videos vs live streams. |
| youtube_analytics_revenueB | Get revenue breakdown (requires YouTube Partner Program). |
| youtube_analytics_revenue_by_videoC | Get revenue per video, sorted by highest revenue. |
| youtube_analytics_retentionC | Get audience retention curve for a specific video. |
| youtube_get_channelA | Get channel details by channel ID, handle (@username), or the authenticated channel. Args: channel_id: YouTube channel ID (e.g., "UCxxxxxxx"). handle: Channel handle (e.g., "@mkbhd"). mine: If True, get the authenticated user's own channel. |
| youtube_list_videosA | List videos from a channel or playlist, sorted by most recent. Args: channel_id: Channel ID to list videos from. playlist_id: Playlist ID to list videos from (overrides channel_id). mine: If True, list the authenticated user's videos. max_results: Number of videos to return. Values above 50 page through results; 0 or negative fetches every video in the playlist. |
| youtube_get_videoB | Get detailed metadata and statistics for a specific video. Args: video_id: YouTube video ID (e.g., "dQw4w9WgXcQ"). |
| youtube_list_commentsA | List top-level comments on a video. Args: video_id: YouTube video ID. max_results: Number of comment threads to return (0 or negative fetches all). order: Sort order: "relevance" or "time". |
| youtube_post_commentB | Post a new top-level comment on a video. Args: video_id: YouTube video ID to comment on. text: Comment text. |
| youtube_reply_to_commentA | Reply to an existing comment. Args: parent_id: Comment ID to reply to (from youtube_list_comments). text: Reply text. |
| youtube_delete_commentB | Delete a comment permanently. This action is irreversible. Args: comment_id: Comment ID to delete. confirm: Must be True to execute the deletion. |
| youtube_list_playlistsB | List playlists for a channel. Args: channel_id: Channel ID to list playlists from. mine: If True, list the authenticated user's playlists. max_results: Number of playlists to return (0 or negative fetches all). |
| youtube_create_playlistA | Create a new playlist (private by default). Args: title: Playlist title. description: Playlist description. privacy_status: "private" (default), "public", or "unlisted". |
| youtube_update_playlistB | Update metadata for an existing playlist. Args: playlist_id: Playlist ID to update. title: New title. description: New description. privacy_status: "private", "public", or "unlisted". |
| youtube_delete_playlistA | Delete a playlist permanently. Does not delete the videos inside it. Args: playlist_id: Playlist ID to delete. confirm: Must be True to execute the deletion. |
| youtube_add_to_playlistB | Add a video to a playlist. Args: playlist_id: Playlist ID to add the video to. video_id: Video ID to add. position: Optional 0-based position in the playlist. |
| youtube_remove_from_playlistA | Remove a video from a playlist using its playlist_item_id. Args: playlist_item_id: The playlist item ID (not the video ID). confirm: Must be True to execute the removal. |
| youtube_upload_videoA | Upload a video to YouTube. Costs 1,600 quota units. Video is uploaded as private by default. Args: file_path: Path to the local video file. title: Video title (max 100 characters). description: Video description (max 5,000 characters). tags: Optional list of tags. category_id: YouTube category ID (default "22" = People & Blogs). privacy_status: "private" (default), "public", or "unlisted". publish_at: ISO 8601 datetime to schedule publishing (requires privacy_status="private"). made_for_kids: COPPA self-declaration (default False). |
| youtube_update_videoA | Update metadata for an existing video. Only provided fields are updated; others remain unchanged. Args: video_id: YouTube video ID. title: New title (max 100 characters). description: New description (max 5,000 characters). tags: New tags (replaces existing tags). category_id: New category ID. privacy_status: "private", "public", or "unlisted". publish_at: ISO 8601 datetime to schedule publishing (requires privacy_status="private"). made_for_kids: COPPA self-declaration (True/False). |
| youtube_set_thumbnailA | Upload a custom thumbnail for a video (max 2 MB). Args: video_id: YouTube video ID. file_path: Path to the thumbnail image (JPEG, PNG, GIF, or BMP; max 2 MB). |
| youtube_delete_videoA | Delete a video permanently. This action is irreversible. Args: video_id: YouTube video ID to delete. confirm: Must be True to execute the deletion. When False (default), returns a safety confirmation prompt without deleting anything. |
| youtube_reporting_list_typesB | List available YouTube bulk report types. |
| youtube_reporting_create_jobC | Schedule a daily bulk reporting job. |
| youtube_reporting_list_jobsB | List all active reporting jobs. |
| youtube_reporting_list_reportsC | List available reports for a reporting job. |
| youtube_reporting_downloadB | Download a report CSV from a trusted Google API HTTPS URL. Only https://*.googleapis.com URLs are permitted so OAuth tokens cannot be leaked to untrusted hosts. |
| youtube_searchC | Search YouTube for videos, channels, or playlists (costs 100 quota units). |
| youtube_search_suggestionsB | Get YouTube autocomplete/search suggestions for SEO research (no quota cost). |
| youtube_trendingB | Get currently trending videos on YouTube (costs 1 quota unit). |
| youtube_get_categoriesA | List assignable YouTube video categories for a region (costs 1 quota unit). |
| youtube_list_captionsA | List available caption tracks for a video you own (requires OAuth). |
| youtube_get_transcriptA | Get transcript/captions for a video. Uses youtube-transcript-api by default (works for public videos, zero quota). Set use_official_api=True to use the official YouTube Data API (own videos). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 43 tools
The analytics family is granular but mostly non-overlapping (traffic sources vs demographics vs geography vs retention), and the CRUD tools target distinct resources. Minor confusion is possible between youtube_analytics_daily, youtube_analytics_video_detail, and youtube_analytics_day_of_week, and between youtube_list_captions and youtube_get_transcript, but descriptions clarify the boundaries.
Nearly all names follow a predictable youtube_<verb>_<noun> snake_case pattern with consistent prefixes for sub-areas (youtube_analytics_*, youtube_reporting_*). The analytics and reporting groups use noun_metric naming rather than verb_noun, which is a minor deviation but internally consistent.
43 tools is a very large surface for one server, roughly triple the comfortable range. While the domain (upload, analytics, playlists, comments, reporting) is broad, the 14-tool analytics family alone suggests the surface could be consolidated or split into separate servers.
Core lifecycle is well covered: upload/update/delete video, thumbnail, full playlist CRUD plus add/remove, comment list/post/reply/delete, search, trending, and rich analytics. Gaps remain around comment moderation (no hold/spam/approve), caption upload/download/delete, and video interactions like ratings, but these are workaroundable.