Skip to main content
Glama
youtube-studio-mcp

youtube-studio-mcp

by foxlancerr

youtube-studio-mcp

npm version License: MIT

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-mcp authenticates 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-mcp

Or globally:

npm install -g youtube-studio-mcp

Setup

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 auth

Configure 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_videos
You: "List unmoderated comments on my latest 3 videos and suggest replies for the friendly ones."
Claude → list_my_videos + list_comment_threads + reply_to_comment
You: "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.json with 0600 permissions.

  • client_secret.json is 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…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables 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
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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
    • A
      license
      A
      quality
      C
      maintenance
      Lets 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.
      11
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables 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