youtube-studio-mcp
Enables YouTube channel owners to manage comments, analytics, videos, playlists, and channel branding through the YouTube Data and Analytics APIs, including replying to comments, editing video metadata, uploading videos, managing captions/localizations, and querying audience and revenue analytics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
youtube-studio-mcp
An MCP server for YouTube channel owners. Manage comments, analytics, videos, and playlists from Claude, Cursor, Windsurf, Cline, or any MCP-compatible client.
Unlike other YouTube MCP servers (which read public transcripts and metadata),
youtube-studio-mcpauthenticates as the channel owner and exposes write-side workflows: replying to comments, editing video metadata, querying Analytics, uploading videos, and more.
What you can do
Comments — list, reply, edit, delete, moderate, mark as spam (7 tools)
Analytics — channel overview, top videos, audience demographics, traffic sources, revenue, raw query escape hatch (7 tools)
Videos — list, get details, edit metadata/status, set thumbnail, delete, upload (resumable), manage captions and localizations (11 tools)
Playlists — list, create, update, add/remove/reorder items (4 tools)
Channel — info, branding, sections (3 tools)
32 tools total.
Related MCP server: YouTube MCP Connector
Install
npx youtube-studio-mcpOr globally:
npm install -g youtube-studio-mcpSetup
You need a Google Cloud project with the YouTube Data API v3 and YouTube Analytics API enabled, plus a Desktop OAuth client. The full walkthrough is in docs/SETUP.md.
After downloading client_secret.json:
export YOUTUBE_OAUTH_CLIENT_PATH=/absolute/path/to/client_secret.json
npx youtube-studio-mcp authConfigure your MCP client
Add to your client config (Claude Desktop example):
{
"mcpServers": {
"youtube-studio": {
"command": "npx",
"args": ["-y", "youtube-studio-mcp"],
"env": {
"YOUTUBE_OAUTH_CLIENT_PATH": "/absolute/path/to/client_secret.json"
}
}
}
}Set ENABLE_MONETARY=true if you also want revenue scopes (re-run auth after toggling).
Tested with Claude Desktop, Claude Code, Cursor, Windsurf, and Cline.
Tools
See docs/TOOLS.md for the full tool catalog.
Quota
The YouTube Data API has a default quota of 10,000 units per day. Uploads cost 1,600 units each. See docs/QUOTA.md for the cost table and how to request more quota.
Example workflows
You: "Get my channel overview for last 30 days and the top 5 videos by watch time."
Claude → get_channel_overview + get_top_videosYou: "List unmoderated comments on my latest 3 videos and suggest replies for the friendly ones."
Claude → list_my_videos + list_comment_threads + reply_to_commentYou: "Upload /Users/me/render.mp4 as 'Episode 14', schedule it for next Friday at 18:00 UTC."
Claude → upload_video (privacyStatus=private, publishAt=...)Security
Tokens are stored at
~/.config/youtube-studio-mcp/tokens.jsonwith0600permissions.client_secret.jsonis never read on every request — only on auth and on token refresh.The MCP runs locally over stdio; it never opens a network port for incoming connections.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP for YouTube Studio: uploads, metadata, playlists, comments, analytics, captions.
Unofficial YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
Publish to your YouTube and Instagram accounts: schedule posts, read analytics and manage comments.
Search videos; read channels, playlists, comments and popular videos in YouTube.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables users to access their own YouTube channel, videos, and analytics through MCP-compatible clients such as ChatGPT and Claude, exposing tools for channel stats, video listing, video analytics, and video search.18 npm-
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible clients to search YouTube videos, read subscriptions and playlists, generate catch-up digests of recent uploads, and manage playlists with approval-gated writes via the YouTube Data API v3.MIT
- AlicenseAqualityCmaintenanceLets an MCP client read comment threads on your own YouTube channel, prepare replies, moderate or hide comments, and query YouTube Analytics reports. Every publishing or moderation action is held for explicit user confirmation before it takes effect.11MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to manage multiple named YouTube accounts through one local stdio server, covering video upload and scheduling, metadata, captions, playlists, comments, live broadcasts and chat, channel branding, and analytics reporting via the official Google APIs. It also offers optional FFmpeg-based local media tools for probing, muxing audio, normalizing loudness, trimming, burning subtitles, and extracting thumbnails.MIT