YouTubeMCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Upload and manage videos on the user's own YouTube channel.
Safety rules (always follow):
New uploads default to UNLISTED. Never choose public unless the user explicitly asks for public.
upload_video, update_metadata, set_thumbnail and set_visibility are two-step: the first call returns a preview and a confirmation_token. Show the preview to the user and wait for their explicit approval before calling again with the token. Never approve on the user's behalf.
confirm_public=true may only be passed when the user has explicitly approved making the video public. Every action that makes content public also shows a native macOS dialog that only the user can answer; if they cancel or it times out, the action is refused (native_confirmation_*).
Every write tool (including update_metadata and all set_visibility changes) is two-step.
Errors are JSON with code, message and action. Relay the action to the user (for example, a Terminal command to re-authorize) rather than retrying blindly.
Long uploads continue in the background; poll get_upload_progress with the upload_id.
Captions, playlist changes and publish schedules use the same two-step approval. schedule_publish always makes the video PUBLIC at the chosen time, so it also needs confirm_public=true.
Error code unsupported_by_youtube means YouTube itself does not allow it (not a server bug); analytics_not_enabled / api_not_enabled are setup steps the user has to complete.
Analytics dates are Pacific Time and lag 48-72 hours.
Write results include write_accepted, verified and verification.status (confirmed / not_confirmed / unverifiable). If a change is not yet verified, NEVER repeat it: YouTube is often slow to show changes. Check again later with the read tool named in the warning. write_outcome_uncertain means the connection failed mid-write: check the state before doing anything else.
upload_outcome_uncertain / ambiguous_upload: an earlier attempt may already be on YouTube. Ask the user to check YouTube Studio; only pass allow_duplicate=true if they explicitly decide to upload again.
Previews can list indirect public exposure (unlisted videos in a playlist being made public, or public playlists containing a video being made unlisted). Show these to the user; such changes also need confirm_public=true and the native dialog.
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
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| upload_videoA | Upload a local video file to the user's YouTube channel (default visibility: unlisted). Two-step: the first call (without confirmation_token) returns a preview and token; show the preview to the user and call again with the token only after explicit approval. Uploads continue in the background; use get_upload_progress to follow them. Refuses to upload the same file twice unless allow_duplicate=true. |
| get_upload_progressA | Progress and result of an upload started with upload_video (from the local history). |
| update_metadataA | Change selected metadata of an existing video. Only the fields you pass are changed; all other existing fields (including tags and description) are preserved. Pass tags=[] to clear tags. Two-step: returns a preview of the changes and a confirmation_token; call again with the token only after the user approves. |
| set_thumbnailA | Upload a custom thumbnail (JPEG/PNG, max 2 MB, 1280x720 recommended). Two-step: returns a preview and confirmation_token first; call again with the token after the user approves. Requires a verified channel. |
| set_visibilityA | Change a video's visibility to private, unlisted or public, then verify the actual result. Always two-step: returns a preview and confirmation_token; call again with the token after the user approves. PUBLIC also needs confirm_public=true, and the user must additionally click 'Allow Public' in a native macOS dialog on their Mac. Changing private to unlisted is treated the same way when the video is in one of the channel's PUBLIC playlists (anyone viewing the playlist could then watch it); the preview lists those playlists. |
| get_video_statusB | Processing state (processing/ready/failed/rejected), actual visibility, schedule, title, description, tags, category, default language, thumbnails and other details of a video. |
| get_share_linkA | Return the shareable URL of a video (with its visibility), optionally copying it to the macOS clipboard. |
| list_uploadsA | List videos. source='youtube' lists the channel's uploads from YouTube (newest first); source='local' lists this server's local upload history, including failed and in-progress uploads. |
| get_channel_infoA | Identify the YouTube channel this server is authorized for (name, ID, URL, counts). |
| upload_captionsA | Add a subtitle track to a video from a SubRip (.srt) or WebVTT (.vtt) file. Two-step: returns a preview and confirmation_token; call again with the token after the user approves. Refuses if a track with the same language and name already exists. |
| list_captionsA | List a video's caption tracks (language, name, draft, status). |
| update_captionsA | Replace a caption track's file and/or change its draft status. YouTube's API cannot rename a track or change its language. Two-step approval. |
| download_captionsA | Read-only: return the text of one of the channel's caption tracks (captions.download, about 250 quota units including the ownership check). list_captions returns metadata only; this is the only way to read caption text. |
| list_playlistsB | List the channel's playlists (title, privacy, item count). |
| create_playlistA | Create a playlist (PRIVATE by default). Two-step approval; a public playlist also needs confirm_public=true with the user's explicit approval. |
| update_playlistA | Change a playlist's title, description and/or privacy; other fields are preserved. Two-step approval; making it public also needs confirm_public=true and the native dialog. The preview lists unlisted videos in the playlist that would become visible to anyone viewing it. |
| list_playlist_itemsB | List the videos in a playlist, with their playlist_item_id. |
| add_to_playlistA | Add a video to a playlist. Refuses duplicates (playlist_duplicate). Two-step approval. |
| remove_from_playlistA | Remove an entry from a playlist (the video itself is NOT deleted). Pass video_id or a specific playlist_item_id. Two-step approval. |
| list_categoriesA | List YouTube video categories for a region (default from YOUTUBE_MCP_REGION, 'US'). Use category IDs with assignable=true in upload_video and update_metadata. The default upload category is set by YOUTUBE_MCP_DEFAULT_CATEGORY (22, People & Blogs, if unset). |
| schedule_publishA | Schedule a PRIVATE, never-published video to become PUBLIC at a given time. A time without an offset is read in |
| get_publish_scheduleC | Show whether a video has a scheduled publish time. |
| cancel_publish_scheduleA | Remove a video's scheduled publish time; it stays private. Two-step approval. |
| get_channel_analyticsB | Channel views, watch time, average view duration, subscribers gained/lost, likes, comments, shares and traffic sources for a date range. Optional feature: needs analytics authorization (see README). |
| get_video_analyticsA | Analytics for one video: views, watch time, average view duration, engagement, traffic sources and audience retention. Optional feature: needs analytics authorization. |
| get_top_videosB | The channel's top videos for a date range, ranked by a metric (max 200). Optional feature. |
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 26 tools
Most tools have clearly distinct resource/action targets, especially across video, captions, playlists, scheduling, and analytics. There is some potential confusion between upload-progress/status/list-uploads tools and between scheduling/visibility tools, but the descriptions make the boundaries reasonably clear.
Tool names consistently use snake_case with a predictable verb_noun pattern (e.g. upload_video, get_video_status, update_captions, remove_from_playlist). The few longer names like cancel_publish_schedule remain readable and fit the same convention.
With 26 tools, the surface is just over the 'too many' threshold and feels heavy despite the broad YouTube-management scope. Optional analytics, granular approval flows, and separate progress/status/list tools add surface area that could likely be consolidated.
Core workflows are covered: upload, metadata, visibility, scheduling, captions, playlists, and analytics. However, notable lifecycle gaps remain, especially missing delete operations for videos, playlists, and caption tracks, plus no comment management.