yt-studio-mcp
v0.8.0MCP server for managing a YouTube channel: videos, comments, playlists, live streams, analytics, and auditable comment-entry giveaways.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
channel_info
Get the authorized channel's profile, statistics, and uploads playlist id.
update_channel
Update the channel description or keywords. The description is the channel's pitch — the first thing a visitor reads and the only place the channel can state what it actually is. keywords is a space-separated string; quote multi-word phrases.
| Parameter | Type | Description |
|---|---|---|
description | ||
dry_run | boolean | |
keywords |
list_subscribers
List PUBLIC subscribers (YouTube only reveals subscribers who set their subscriptions public — most don't; totals live in channel_info).
| Parameter | Type | Description |
|---|---|---|
limit | integer |
list_videos
List the channel's uploaded videos, newest first, with basic stats.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
get_video
Get full metadata and statistics for one video.
| Parameter | Type | Description |
|---|---|---|
video_id * | string |
update_video
Update video metadata. Only supplied fields change; others are preserved. publish_at (RFC3339, e.g. 2026-08-07T17:00:00Z) reschedules a video. YouTube only honours it while privacyStatus is private, so this forces private unless an explicit privacy is passed. Pass publish_at="" to clear the schedule and leave the video private indefinitely.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
category_id | ||
description | ||
dry_run | boolean | |
privacy | ||
publish_at | ||
tags | ||
title |
set_thumbnail
Set a custom thumbnail from a local image file (JPG/PNG, <2MB).
| Parameter | Type | Description |
|---|---|---|
image_path * | string | |
video_id * | string | |
dry_run | boolean |
upload_video
Upload a video (resumable). privacy: private|unlisted|public. publish_at (RFC3339) schedules publication and requires privacy=private.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
title * | string | |
description | string | |
dry_run | boolean | |
privacy | string | |
publish_at | ||
tags |
delete_video
Permanently delete a video. Irreversible.
| Parameter | Type | Description |
|---|---|---|
video_id * | string | |
dry_run | boolean |
list_playlists
List the channel's playlists.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
create_playlist
Create a playlist. privacy: public|unlisted|private.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
description | string | |
dry_run | boolean | |
privacy | string |
update_playlist
Rename a playlist or change its description/privacy. Only supplied fields change. A playlist's title is the label a viewer sees on every video in it, so this is how a series gets named without recreating the playlist and losing its members and URL.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | string | |
description | ||
dry_run | boolean | |
privacy | ||
title |
delete_playlist
Delete a playlist (videos are not deleted).
| Parameter | Type | Description |
|---|---|---|
playlist_id * | string | |
dry_run | boolean |
add_to_playlist
Add a video to a playlist, optionally at a specific position.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | string | |
video_id * | string | |
dry_run | boolean | |
position |
remove_from_playlist
Remove an item from a playlist by playlist-item id (from list results).
| Parameter | Type | Description |
|---|---|---|
playlist_item_id * | string | |
dry_run | boolean |
list_playlist_items
List videos in a playlist.
| Parameter | Type | Description |
|---|---|---|
playlist_id * | string | |
limit | integer |
list_comments
List comment threads for one video, or channel-wide when video_id is omitted.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
search_terms | ||
video_id |
list_held_comments
Comments awaiting moderation, channel-wide. Held comments are invisible to the public until approved, so without this they simply accumulate unseen — the scan pipeline could flag them but nothing could show them for review. status: heldForReview | likelySpam | published. Approve or reject with moderate_comment.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | string |
post_video_question
Post a top-level comment on a video as the channel (e.g. a question prompt for viewers). Note: the API cannot pin comments — pin manually in YouTube Studio if desired.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
video_id * | string | |
dry_run | boolean |
reply_to_comment
Reply to a comment as the channel.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
text * | string | |
dry_run | boolean |
moderate_comment
Set moderation status: published | heldForReview | rejected.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
status * | string | |
dry_run | boolean |
mark_spam
Flag a comment as spam.
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
dry_run | boolean |
delete_comment
Delete a comment authored by the channel (own comments only).
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
dry_run | boolean |
list_broadcasts
List live broadcasts. status: all|active|upcoming|completed.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
status | string |
create_broadcast
Schedule a live broadcast. start_time is RFC3339 (e.g. 2026-08-01T18:00:00Z). Multistream plugins (Aitum, Restream) copy the VIDEO to Twitch but NOT the metadata, so by default this also sets the Twitch title/category. Twitch reuses `title` unless twitch_title is given; twitch_game sets the category and is strongly recommended -- otherwise Twitch keeps the PREVIOUS stream's game. Pass twitch=False for a YouTube-only broadcast. If Twitch is not configured the YouTube broadcast still succeeds and the result says why.
| Parameter | Type | Description |
|---|---|---|
start_time * | string | |
title * | string | |
description | string | |
dry_run | boolean | |
privacy | string | |
twitch | boolean | |
twitch_game | string | |
twitch_title | string |
list_streams
List reusable stream keys and their health.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
bind_broadcast
Bind a broadcast to a stream key.
| Parameter | Type | Description |
|---|---|---|
broadcast_id * | string | |
stream_id * | string | |
dry_run | boolean |
live_chat_messages
Read messages from a live chat (chat_id from list_broadcasts).
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
limit | integer |
post_chat_message
Post a message to a live chat as the channel.
| Parameter | Type | Description |
|---|---|---|
chat_id * | string | |
text * | string | |
dry_run | boolean |
delete_chat_message
Delete a live chat message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
dry_run | boolean |
ban_chat_user
Ban a user from live chat; temporary when duration_seconds given, else permanent.
| Parameter | Type | Description |
|---|---|---|
channel_id * | string | |
chat_id * | string | |
dry_run | boolean | |
duration_seconds |
list_captions
List caption tracks on a video.
| Parameter | Type | Description |
|---|---|---|
video_id * | string |
upload_caption
Upload a caption track (SRT/VTT file).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | |
language * | string | |
video_id * | string | |
dry_run | boolean | |
name | string |
download_caption
Download a caption track's text. fmt: srt|vtt.
| Parameter | Type | Description |
|---|---|---|
caption_id * | string | |
fmt | string |
channel_report
Channel analytics between start/end (YYYY-MM-DD).
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string | |
dimensions | string | |
metrics | string |
video_report
Per-video analytics between start/end (YYYY-MM-DD).
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string | |
video_id * | string | |
metrics | string |
top_videos
Top videos by views between start/end (YYYY-MM-DD).
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string | |
limit | integer |
collect_entries
Collect giveaway entries: walk every upload's comments in the window (RFC3339 timestamps), one entry per distinct video per commenter, capped per user. Writes an auditable snapshot file and returns its hash.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string | |
comment_limit_per_video | integer | |
exclude_channel_ids | ||
max_entries_per_user | integer |
draw_winners
Deterministically draw n winners (distinct channels) from a snapshot. Same snapshot + seed always reproduces the same winners. Writes an audit record next to the snapshot.
| Parameter | Type | Description |
|---|---|---|
snapshot_path * | string | |
n | integer | |
seed | string |
make_verification_code
Generate a short verification code for a winner and record it in the audit file.
| Parameter | Type | Description |
|---|---|---|
audit_path * | string | |
winner_channel_id * | string |
check_verification_reply
Verify a winner's reply: fetches the comment and checks it was authored by the winning channel and contains their verification code.
| Parameter | Type | Description |
|---|---|---|
audit_path * | string | |
comment_id * | string | |
winner_channel_id * | string |
export_entries_csv
Export a snapshot's entries to CSV (channel_id, author, video_id, comment_id, published) for spreadsheets or records.
| Parameter | Type | Description |
|---|---|---|
snapshot_path * | string | |
csv_path |
winner_announcement
Draft winner-announcement text (for a pinned comment / community post) from a draw's audit record. Review before posting.
| Parameter | Type | Description |
|---|---|---|
audit_path * | string | |
claim_days | integer | |
contact | string |
post_winner_reply
Reply to a winning comment as the channel (winner announcement/notification).
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
text * | string | |
dry_run | boolean |
banned_words_list
Show the managed banned-word list used by scan_comments.
banned_words_add
Add words/phrases to the banned list.
| Parameter | Type | Description |
|---|---|---|
words * | array |
banned_words_remove
Remove words from the banned list.
| Parameter | Type | Description |
|---|---|---|
words * | array |
scan_comments
Sweep comments (one video, or channel-wide when video_id omitted) for banned words. auto_action: none | heldForReview | rejected — matches get that moderation status applied (dry_run previews instead). incremental=True only examines comments newer than the previous incremental scan (watermark stored locally) — cheap to run daily.
| Parameter | Type | Description |
|---|---|---|
auto_action | string | |
dry_run | boolean | |
extra_words | ||
incremental | boolean | |
limit | integer | |
video_id |
batch_update_descriptions
Update descriptions across many videos in one sweep. mode=append: add text at the end (skips videos that already contain it). mode=footer: everything after the last "---" marker line is replaced with text (marker added if missing) — ideal for a links/giveaway footer kept in sync across all videos. mode=replace: replace occurrences of `find` with text. Scope: video_ids, or every upload when omitted. Quota: ~51 units per changed video.
| Parameter | Type | Description |
|---|---|---|
mode * | string | |
text * | string | |
dry_run | boolean | |
find | ||
video_ids |
batch_update_tags
Add and/or remove tags across many videos at once. Tags drift as a catalogue grows — a series tag added halfway through is missing from everything before it. Existing tags are preserved; only the named ones change. Scope: video_ids, or every upload when omitted. Quota: ~51 units per changed video.
| Parameter | Type | Description |
|---|---|---|
add | ||
dry_run | boolean | |
remove | ||
video_ids |
made_for_kids_audit
Audit every upload's made-for-kids designation (COPPA). Reports both the platform-effective flag and the self-declared one per video.
post_stream_digest
Channel performance digest for a date window (YYYY-MM-DD): totals, per-day trend, and top videos — run it the morning after a stream.
| Parameter | Type | Description |
|---|---|---|
end * | string | |
start * | string |
post_giveaway_question
Post the formatted giveaway question comment (unique question + official-rules link) on a video as the channel. Tracks state locally and refuses to double-post unless force=True. Result includes the Studio URL for the one-click manual pin (no pin API exists).
| Parameter | Type | Description |
|---|---|---|
question * | string | |
rules_url * | string | |
video_id * | string | |
dry_run | boolean | |
force | boolean |
giveaway_question_status
Cross-reference every upload against posted question comments: which videos still need one, which are posted (with pin links).
generate_thumbnail
Generate a 1280x720 thumbnail from a prompt via the configured image API (YT_MCP_IMAGE_API_KEY required; quality: low|medium|high). reference_images: local image paths fed to the model to keep characters on-model (e.g. a recurring mascot character sheet) — uses the edits endpoint. If video_id is given, the thumbnail is also uploaded.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
dry_run | boolean | |
quality | string | |
reference_images | ||
video_id |
quota_status
Quota units spent this session (local estimate from the official cost table).
health_check
Verify stored credentials refresh and the channel is reachable.
twitch_status
Whether Twitch is configured, and which channel it would write to.
twitch_authorize_url
Step 1 of connecting Twitch: the URL to approve as the channel owner. Open it anywhere, approve, then pass the ?code=... from the redirect to twitch_finish_auth. The redirect (http://localhost:8271) will fail to load -- that is expected and harmless; only the code matters.
twitch_finish_auth
Step 2: exchange the pasted ?code=... for a stored refresh token. Runs inside the server so the client secret never leaves its process -- it is injected from the vault at launch and is never typed or logged.
| Parameter | Type | Description |
|---|---|---|
code * | string |
twitch_get_channel
Current Twitch title, category and tags.
twitch_set_channel
Set the Twitch stream title and/or category before going live. Multistream plugins carry the video, not the metadata -- without this the Twitch channel keeps the PREVIOUS stream's title. game_name is resolved to a Twitch category id ("Example Game" -> id).
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | |
game_name | string | |
tags | ||
title | string |