yt-studio-mcp

v0.8.0
yt-studio-mcp Checked 4 days ago Published 2 months ago

MCP 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.

ParameterTypeDescription
description
dry_runboolean
keywords

list_subscribers

List PUBLIC subscribers (YouTube only reveals subscribers who set their subscriptions public — most don't; totals live in channel_info).

ParameterTypeDescription
limitinteger

list_videos

List the channel's uploaded videos, newest first, with basic stats.

ParameterTypeDescription
limitinteger

get_video

Get full metadata and statistics for one video.

ParameterTypeDescription
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.

ParameterTypeDescription
video_id *string
category_id
description
dry_runboolean
privacy
publish_at
tags
title

set_thumbnail

Set a custom thumbnail from a local image file (JPG/PNG, <2MB).

ParameterTypeDescription
image_path *string
video_id *string
dry_runboolean

upload_video

Upload a video (resumable). privacy: private|unlisted|public. publish_at (RFC3339) schedules publication and requires privacy=private.

ParameterTypeDescription
file_path *string
title *string
descriptionstring
dry_runboolean
privacystring
publish_at
tags

delete_video

Permanently delete a video. Irreversible.

ParameterTypeDescription
video_id *string
dry_runboolean

list_playlists

List the channel's playlists.

ParameterTypeDescription
limitinteger

create_playlist

Create a playlist. privacy: public|unlisted|private.

ParameterTypeDescription
title *string
descriptionstring
dry_runboolean
privacystring

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.

ParameterTypeDescription
playlist_id *string
description
dry_runboolean
privacy
title

delete_playlist

Delete a playlist (videos are not deleted).

ParameterTypeDescription
playlist_id *string
dry_runboolean

add_to_playlist

Add a video to a playlist, optionally at a specific position.

ParameterTypeDescription
playlist_id *string
video_id *string
dry_runboolean
position

remove_from_playlist

Remove an item from a playlist by playlist-item id (from list results).

ParameterTypeDescription
playlist_item_id *string
dry_runboolean

list_playlist_items

List videos in a playlist.

ParameterTypeDescription
playlist_id *string
limitinteger

list_comments

List comment threads for one video, or channel-wide when video_id is omitted.

ParameterTypeDescription
limitinteger
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.

ParameterTypeDescription
limitinteger
statusstring

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.

ParameterTypeDescription
text *string
video_id *string
dry_runboolean

reply_to_comment

Reply to a comment as the channel.

ParameterTypeDescription
comment_id *string
text *string
dry_runboolean

moderate_comment

Set moderation status: published | heldForReview | rejected.

ParameterTypeDescription
comment_id *string
status *string
dry_runboolean

mark_spam

Flag a comment as spam.

ParameterTypeDescription
comment_id *string
dry_runboolean

delete_comment

Delete a comment authored by the channel (own comments only).

ParameterTypeDescription
comment_id *string
dry_runboolean

list_broadcasts

List live broadcasts. status: all|active|upcoming|completed.

ParameterTypeDescription
limitinteger
statusstring

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.

ParameterTypeDescription
start_time *string
title *string
descriptionstring
dry_runboolean
privacystring
twitchboolean
twitch_gamestring
twitch_titlestring

list_streams

List reusable stream keys and their health.

ParameterTypeDescription
limitinteger

bind_broadcast

Bind a broadcast to a stream key.

ParameterTypeDescription
broadcast_id *string
stream_id *string
dry_runboolean

live_chat_messages

Read messages from a live chat (chat_id from list_broadcasts).

ParameterTypeDescription
chat_id *string
limitinteger

post_chat_message

Post a message to a live chat as the channel.

ParameterTypeDescription
chat_id *string
text *string
dry_runboolean

delete_chat_message

Delete a live chat message.

ParameterTypeDescription
message_id *string
dry_runboolean

ban_chat_user

Ban a user from live chat; temporary when duration_seconds given, else permanent.

ParameterTypeDescription
channel_id *string
chat_id *string
dry_runboolean
duration_seconds

list_captions

List caption tracks on a video.

ParameterTypeDescription
video_id *string

upload_caption

Upload a caption track (SRT/VTT file).

ParameterTypeDescription
file_path *string
language *string
video_id *string
dry_runboolean
namestring

download_caption

Download a caption track's text. fmt: srt|vtt.

ParameterTypeDescription
caption_id *string
fmtstring

channel_report

Channel analytics between start/end (YYYY-MM-DD).

ParameterTypeDescription
end *string
start *string
dimensionsstring
metricsstring

video_report

Per-video analytics between start/end (YYYY-MM-DD).

ParameterTypeDescription
end *string
start *string
video_id *string
metricsstring

top_videos

Top videos by views between start/end (YYYY-MM-DD).

ParameterTypeDescription
end *string
start *string
limitinteger

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.

ParameterTypeDescription
end *string
start *string
comment_limit_per_videointeger
exclude_channel_ids
max_entries_per_userinteger

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.

ParameterTypeDescription
snapshot_path *string
ninteger
seedstring

make_verification_code

Generate a short verification code for a winner and record it in the audit file.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
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.

ParameterTypeDescription
audit_path *string
claim_daysinteger
contactstring

post_winner_reply

Reply to a winning comment as the channel (winner announcement/notification).

ParameterTypeDescription
comment_id *string
text *string
dry_runboolean

banned_words_list

Show the managed banned-word list used by scan_comments.

banned_words_add

Add words/phrases to the banned list.

ParameterTypeDescription
words *array

banned_words_remove

Remove words from the banned list.

ParameterTypeDescription
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.

ParameterTypeDescription
auto_actionstring
dry_runboolean
extra_words
incrementalboolean
limitinteger
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.

ParameterTypeDescription
mode *string
text *string
dry_runboolean
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.

ParameterTypeDescription
add
dry_runboolean
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.

ParameterTypeDescription
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).

ParameterTypeDescription
question *string
rules_url *string
video_id *string
dry_runboolean
forceboolean

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.

ParameterTypeDescription
prompt *string
dry_runboolean
qualitystring
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.

ParameterTypeDescription
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).

ParameterTypeDescription
dry_runboolean
game_namestring
tags
titlestring