Prerequisites
- A Google Cloud project with YouTube Data API v3 enabled
- For authenticated tools (comments, subscriptions, ratings): OAuth access token with appropriate scopes
- For public read-only tools (
youtube_list_channel_videos_rss,youtube_resolve_channel_id): no token required - project_contributor access in AgentRuntime
Connect in AgentRuntime
1
Enable YouTube Data API
In Google Cloud Console, enable YouTube Data API v3 for your project.
2
Obtain credentials
For public RSS and search tools, you may omit
AccessToken. For write operations and authenticated reads, complete OAuth and store a refreshable access token.3
Create a connection
Go to Connections and click New custom connection. Add
AccessToken when using authenticated tools. Optionally set APIBase, UserAgent, and TimeoutSec.4
Add youtube MCP instance
Go to MCP, click Add instance for youtube, wire your connection on Instance config, set the profile active, and save.
5
Test public access
Run mcp_call →
youtube_list_channel_videos_rss with a channel handle to verify without OAuth.youtube_list_channel_videos_rss uses the public RSS feed and does not consume YouTube Data API quota. Prefer it for simple “latest videos” monitoring when OAuth is not configured.What you can build
- Channel digest —
youtube_list_channel_videos_rsson competitor channels → LLM weekly summary → email or Notion. - Comment moderation —
youtube_get_comment_threads→ LLM flags spam → human_task →youtube_reply_commentor hide via custom API call. - Playlist curation —
youtube_search→ filter → add items to internal tracking sheet. - Subscription sync —
youtube_subscriptions_list→ compare to CRM list →youtube_subscriptions_insertfor new channels.
Tools
Example
Fetch the latest videos from a channel via RSS:Configuration
Troubleshooting
Related
- Integrations quickstart
- RSS connector — generic feed parsing
- Connector catalog
- Troubleshooting