youtube-mcp
Manages a YouTube channel: lists and searches videos, edits titles, descriptions, tags, and thumbnails, creates and organizes playlists, and retrieves channel and video analytics and stats.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@youtube-mcprename my latest upload"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
An MCP server with 20 tools for your YouTube channel: rename videos, edit descriptions and thumbnails, organize playlists, and get real stats. Run it locally for Claude Code, or deploy to Cloudflare Workers and use it from claude.ai anywhere.
Tools
Videos |
|
Editing |
|
Playlists |
|
Insights |
|
Related MCP server: YouTube MCP Server
Setup
1. Google credentials (free, 5 min)
In Google Cloud Console: create a project, enable YouTube Data API v3 and YouTube Analytics API, set up the OAuth consent screen (External, add yourself as test user), and create an OAuth client ID (Web application). Note the client id and secret.
2. Deploy (pick one)
Click the deploy button above. During setup, fill in GOOGLE_CLIENT_ID and the two secrets: GOOGLE_CLIENT_SECRET and MCP_PATH_TOKEN (any long random string, keep it safe).
Or with the CLI:
bun install
bunx wrangler kv namespace create TOKENS # paste the id into wrangler.jsonc
bunx wrangler secret put GOOGLE_CLIENT_SECRET
bunx wrangler secret put MCP_PATH_TOKEN # e.g. from: openssl rand -hex 24
bun run deployThen:
Add
https://<your-worker-url>/auth/callbackas a redirect URI on your Google OAuth clientOpen
https://<your-worker-url>/auth/login?key=<MCP_PATH_TOKEN>and approveIn claude.ai: Settings, Connectors, Add custom connector (Authentication: None) with
https://<your-worker-url>/mcp/<MCP_PATH_TOKEN>
Add http://localhost:3456/auth/callback as a redirect URI on your Google OAuth client, then:
bun install
cp .env.example .env # fill in client id and secret
bun run auth # open http://localhost:3456/auth/login and approve
claude mcp add youtube -- bun run /absolute/path/to/youtube-mcp/src/mcp.ts3. Use it
Ask Claude: "what is my top video this month", "make a playlist of my calculus videos", "rename my latest upload".
Notes
Your MCP URL contains the secret token. Treat it like a password.
YouTube API is free: 10,000 units/day (reads 1, edits ~50, search 100).
Thumbnails: JPEG/PNG, max 2MB, phone-verified channel required.
License
Related MCP Connectors
YouTube transcripts, search, channel/playlist listings and upload tracking for AI agents.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
YouTube discovery, transcripts, library search, and monitors with API keys or OAuth.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to access and manage YouTube channel data through the YouTube Data API v3 and YouTube Analytics API. Provides tools for reading analytics, fetching video metadata, searching uploads, and updating video SEO directly from Claude.9 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with YouTube Data API for searching videos, channels, and playlists, and retrieving details and playlists.17 npm-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to search YouTube for artists and manage playlists on your YouTube account.1-
- FlicenseNot gradedqualityCmaintenanceEnables managing a YouTube channel through natural language: upload videos, edit metadata, set thumbnails, run pseudo A/B thumbnail tests, and pull analytics.-