Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YOUTUBE_API_KEYNoYouTube Data API key for read-only access.
YOUTUBE_TOKEN_PATHNoPath to the OAuth2 token JSON file for full studio and analytics access.
YOUTUBE_CLIENT_SECRETS_PATHNoPath to the OAuth2 client secrets JSON file for full studio and analytics access.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Production-grade, exhaustive YouTube Model Context Protocol (MCP) server. Allows AI agents to completely control YouTube: video creation & upload, thumbnail injection, video tags & SEO, full playlist editing, live stream ingestion & chat moderation, branding watermarks, channel shelves, captions, and deep metrics.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_server_statusA

Check YouTube MCP server authentication status, active mode, and quota capabilities.

youtube_upload_short_videoB

Upload a vertical YouTube Short (up to 60s/3m) with auto-formatted #Shorts tags and direct Shorts URL. Requires OAuth2.

youtube_upload_long_videoB

Upload a long-form landscape video with timestamp chapters, automated thumbnail upload, and premiere scheduling. Requires OAuth2.

youtube_check_video_format_typeB

Inspect whether a video is indexed/formatted as a YouTube Short or Long video based on duration and tags.

youtube_upload_videoC

Upload a local video file (MP4, MOV, MKV, etc.) to YouTube with resumable chunking. Requires OAuth2.

youtube_set_video_thumbnailB

Upload and attach a custom thumbnail image (PNG/JPEG) to an owned video. Requires OAuth2.

youtube_delete_videoA

Permanently delete an owned YouTube video by its video ID. Requires OAuth2.

youtube_search_videosC

Search videos on YouTube with keyword and optional filters (duration, date, definition, region).

youtube_search_channelsC

Search YouTube channels by name, topic, or keyword.

youtube_get_video_detailsB

Fetch complete metadata, stats (views, likes, comments), duration, and tags for up to 50 video IDs.

youtube_get_trending_videosB

Get currently trending YouTube videos for a given country code (e.g. US, IN, GB).

youtube_update_video_metadataA

Update title, description, tags, category, or privacy of an owned video. Requires OAuth2.

youtube_set_video_tagsA

Replace and set exact SEO tags for an owned video. Requires OAuth2.

youtube_add_video_tagsA

Append new SEO tags to an owned video without removing existing tags. Requires OAuth2.

youtube_list_video_categoriesB

List valid YouTube video category IDs and names for a country code.

youtube_list_i18n_languagesA

List all supported YouTube application languages and language codes.

youtube_list_i18n_regionsA

List all supported YouTube country and region codes.

youtube_list_video_abuse_reasonsA

List official categories and reasons for reporting abusive or harmful content.

youtube_get_video_transcriptB

Extract subtitles and transcript text with start timestamps and duration segments for any public video.

youtube_list_transcript_languagesA

List all available transcript language tracks (manual and auto-generated) for a video.

youtube_list_video_captionsA

List official uploaded captions/subtitles on an owned video. Requires OAuth2.

youtube_upload_captionB

Upload a caption file (.srt, .vtt) for an owned video. Requires OAuth2.

youtube_delete_captionB

Delete a caption track from a video by caption ID. Requires OAuth2.

youtube_list_playlistsB

List playlists from a target channel or the authenticated user's own channel.

youtube_get_playlist_itemsB

List videos contained in a specific playlist with position ordering and metadata.

youtube_create_playlistC

Create a new YouTube playlist on the authenticated user's channel. Requires OAuth2.

youtube_update_playlistA

Update title, description, or privacy status of an owned playlist. Requires OAuth2.

youtube_delete_playlistA

Permanently delete an entire playlist by its playlist ID. Requires OAuth2.

youtube_add_video_to_playlistB

Add a video into an existing playlist at an optional position index. Requires OAuth2.

youtube_reorder_playlist_itemC

Change the zero-based order position of a video item within a playlist. Requires OAuth2.

youtube_remove_video_from_playlistB

Remove a video entry from a playlist using its playlist_item_id. Requires OAuth2.

youtube_get_video_commentsC

Retrieve top-level comments, author info, likes, and reply counts for a video.

youtube_post_video_commentB

Post a new comment on a YouTube video as the authenticated channel. Requires OAuth2.

youtube_reply_to_commentC

Post a reply to an existing YouTube comment thread. Requires OAuth2.

youtube_moderate_commentB

Set comment moderation status ('heldForReview', 'published', or 'rejected'). Requires OAuth2.

youtube_delete_commentB

Permanently delete a comment or reply by its ID. Requires OAuth2.

youtube_rate_videoA

Rate a video ('like', 'dislike', or 'none' to remove rating). Requires OAuth2.

youtube_get_my_ratingA

Get authenticated user's rating ('like', 'dislike', 'none') on given video IDs. Requires OAuth2.

youtube_list_subscriptionsC

List subscriptions for authenticated user or channel ID.

youtube_subscribe_to_channelB

Subscribe authenticated channel to another YouTube channel by ID. Requires OAuth2.

youtube_unsubscribe_from_channelB

Unsubscribe from a channel using its subscription ID. Requires OAuth2.

youtube_create_live_broadcastC

Create and schedule a new YouTube Live broadcast. Requires OAuth2.

youtube_list_live_broadcastsB

List live broadcasts ('all', 'active', 'upcoming', 'completed'). Requires OAuth2.

youtube_transition_live_broadcastB

Transition broadcast lifecycle state ('testing', 'live', 'complete'). Requires OAuth2.

youtube_create_live_streamC

Create an RTMP live stream ingestion endpoint returning RTMP URL & stream key for OBS/FFmpeg. Requires OAuth2.

youtube_bind_live_broadcastA

Bind a scheduled live broadcast with an ingestion stream endpoint. Requires OAuth2.

youtube_list_live_streamsB

List RTMP live stream endpoints on the authenticated channel. Requires OAuth2.

youtube_delete_live_streamC

Delete an RTMP live stream endpoint by ID. Requires OAuth2.

youtube_get_live_chat_messagesB

Fetch live chat stream messages, authors, and timestamps for an active live stream. Requires OAuth2.

youtube_send_live_chat_messageB

Send a message to an active live chat stream as the authenticated channel. Requires OAuth2.

youtube_delete_live_chat_messageB

Delete a specific message from an active live chat stream. Requires OAuth2.

youtube_ban_live_chat_userB

Ban a disruptive user from live chat (temporary timeout or permanent ban). Requires OAuth2.

youtube_upload_channel_bannerC

Upload a channel banner (cover art) image to YouTube. Requires OAuth2.

youtube_update_channel_brandingB

Update channel SEO keywords, description, banner URL, or country setting. Requires OAuth2.

youtube_set_channel_watermarkC

Upload and set an in-video watermark/subscribe badge for all channel videos. Requires OAuth2.

youtube_unset_channel_watermarkB

Remove the watermark/subscribe badge from all channel videos. Requires OAuth2.

youtube_get_channel_detailsC

Retrieve channel info, subscriber count, total video count, total views, and custom handle.

youtube_get_channel_sectionsC

Retrieve channel homepage shelves and featured playlist sections.

youtube_create_channel_sectionB

Create a new homepage shelf/section (e.g. singlePlaylist, multiplePlaylists, popularUploads). Requires OAuth2.

youtube_delete_channel_sectionB

Delete a homepage section/shelf from the authenticated channel. Requires OAuth2.

youtube_list_channel_activitiesC

List recent activity stream events (uploads, likes, favorites, playlist items, posts) for a channel.

youtube_get_analytics_reportC

Query official YouTube Analytics API v2 for watch time, views, retention, subscriber gains, and traffic sources.

youtube_get_revenue_reportC

Query YouTube Analytics API v2 for estimated revenue, ad revenue, gross revenue, and CPM.

youtube_list_super_chat_eventsB

List official Super Chat and Super Sticker donations received during live streams. Requires OAuth2.

youtube_list_channel_membersB

List active paid channel sponsors/members and membership levels. Requires OAuth2.

youtube_list_live_chat_moderatorsB

List appointed chat moderators for an active YouTube Live chat stream. Requires OAuth2.

youtube_add_live_chat_moderatorB

Appoint a new moderator to an active live chat stream by channel ID. Requires OAuth2.

youtube_remove_live_chat_moderatorA

Remove a moderator from an active live chat stream by moderator ID. Requires OAuth2.

youtube_download_captionA

Download official raw caption track content (.srt, .vtt, or .sbv) by caption ID. Requires OAuth2.

youtube_report_video_abuseC

Submit an official abuse report for a video under YouTube Community Guidelines. Requires OAuth2.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 70 tools

Disambiguation3/5

Most tools target distinct resources and actions, but several clusters overlap enough to cause misselection: youtube_upload_video vs youtube_upload_short_video vs youtube_upload_long_video, and youtube_update_video_metadata vs youtube_set_video_tags vs youtube_add_video_tags. The caption/transcript and live-stream/live-broadcast groups are related but generally distinguishable through their descriptions.

Naming Consistency4/5

The surface overwhelmingly follows a predictable youtube_verb_noun pattern. Minor deviations include get_server_status lacking the youtube_ prefix, plus occasional verb variations such as check/unset versus get/remove/delete.

Tool Count1/5

With 70 tools, the server is far beyond a reasonable MCP surface for most agent workflows, even for a broad domain like YouTube. The large number increases selection burden and makes overlapping capabilities harder to manage.

Completeness4/5

Coverage is broad across videos, playlists, comments, live streaming, captions, analytics, channels, subscriptions, and search. Some lifecycle gaps remain, such as no explicit delete/update for live broadcasts beyond transition, and limited update operations for channel sections.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues