mcp-youtube
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YOUTUBE_CONFIG | No | Config file path. | |
| YOUTUBE_CLIENT_ID | Yes | Desktop-app OAuth client id (`….apps.googleusercontent.com`). | |
| YOUTUBE_CHANNEL_ID | No | Expected channel (`UC…`). Every tool refuses if the token acts as another channel. | |
| YOUTUBE_TOKEN_FILE | No | Where the login is stored. | ~/.config/youtube/tokens.json |
| YOUTUBE_ALLOW_WRITES | No | Set to `1` to register the upload and other write tools, and ask for the `youtube` scope. | |
| YOUTUBE_CHUNK_SIZE_MB | No | Upload chunk size in MB. | 16 |
| YOUTUBE_CLIENT_SECRET | Yes | The OAuth client secret. Google requires it even with PKCE. | |
| YOUTUBE_REFRESH_TOKEN | No | Use this refresh token in memory instead of the token file. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| youtube_auth_statusA | Whether the server is configured and signed in, which channel the token acts as (the token picks the channel, so this is where uploads land), the granted scopes, whether write tools are registered, and the daily quota model. When unconfigured, returns the exact setup steps. Call this first when a tool you expected is missing, or a setting seems to have no effect ( |
| youtube_auth_loginA | Sign in with Google: opens the consent screen in the browser and waits for it to finish, then stores a refresh token (mode 600) and reports which channel it acts as. On the account chooser, pick the channel uploads should go to — a Brand Account channel is listed separately from the personal one. The app is unverified, so Google shows a warning first: Advanced → Go to (app). If no browser can be opened, or the wait runs out, returns the authorize URL instead and keeps listening for 5 minutes; call youtube_auth_status afterwards. Logging in again replaces the stored login. |
| youtube_auth_logoutA | Revoke the stored refresh token at Google and delete it locally. Recoverable by calling youtube_auth_login again. Uploads already in progress fail at their next chunk. |
| youtube_get_channelA | The channel the signed-in token acts as: id, handle, uploads playlist, subscriber/video/view counts, and |
| youtube_list_categoriesA | The video categories that can be assigned to an upload in a region, as {id, title}. Pass the id as |
| youtube_list_videosA | This channel's uploads, newest first, including private, unlisted and scheduled ones: id, title, privacy, upload status, duration, views/likes/comments and URL. A video still processing shows upload_status |
| youtube_get_videoA | One video in full: snippet, status (privacy, uploadStatus, failure/rejection reason, publishAt, madeForKids), contentDetails, statistics, and — for your own videos — processingDetails (processing progress after an upload) and fileDetails. Use it to follow processing after youtube_upload_video finishes: processingStatus goes |
| youtube_list_playlistsA | This channel's playlists, including private ones: id, title, privacy and item count. The id is what youtube_add_to_playlist and youtube_upload_video's playlistId take. Costs 1 quota unit per page. |
| youtube_requestA | Escape hatch: call any YouTube Data API v3 endpoint (https://developers.google.com/youtube/v3/docs) that has no dedicated tool, e.g. GET /captions, GET /commentThreads, GET /search. The path is relative to /youtube/v3; parameters go in |
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 9 tools
The read tools are cleanly separated by resource and grain: youtube_get_video (one video, full detail), youtube_list_videos (channel uploads), youtube_list_playlists, youtube_get_channel, youtube_list_categories, plus a clearly scoped auth trio. The one soft boundary is youtube_request, a read-only catch-all that overlaps with every dedicated tool, but its description explicitly frames it as a last-resort escape hatch and steers agents back to the specific tools.
All nine tools share a `youtube_` prefix and snake_case, with a predictable `youtube_<verb>_<noun>` shape (get_video, list_videos, list_categories, get_channel). The slight deviation is the `youtube_auth_<action>` cluster (status/login/logout), which is noun-first rather than verb-first, but it reads as a deliberate coherent subgroup rather than inconsistency.
Nine tools is well within a sensible range for a YouTube server and each earns its place: three auth tools for a genuinely stateful OAuth flow, five domain reads, and one escape hatch. The set only feels slightly thin because the write tools (upload_video, update_video, add_to_playlist) are referenced in descriptions but not registered in this listing.
Read coverage is solid — video detail, video listing, playlists, channel, categories, and an arbitrary-endpoint fallback — but the surface shown has no create/update/delete operations at all: no upload, no metadata update, no playlist item add/remove, no video delete. Those are gated behind write registration and YOUTUBE_ALLOW_WRITES, so the default surface has notable dead ends for anything mutating, and even the escape hatch is GET-only.