Skip to content
YouTube logoYouTube logo

YouTube Integrations

Google

Build YouTube automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across YouTube and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
5
available app actions
7
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

YouTube MCP server: connect YouTube to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with YouTube and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my YouTube account and help me build a Zap with YouTube: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build YouTube automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection youtube

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to YouTube and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use YouTube and other apps.

Use a premade YouTube automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the YouTube triggers and actions your agent can build with right away.

  • New Comment on Video

    Triggers when a new comment is posted on a specific YouTube video.

  • New Live Stream

    Triggers when a new live stream is created or becomes active for a specific YouTube channel.

  • New Video in Channel

    Triggers when a new video is published to a specific YouTube channel.

  • New Video in Playlist

    Triggers when a new video is added to a specific playlist. Note does not work for your "watch later" playlist.

  • New Video by Search

    Triggers when a new video is uploaded that matches a specific search string.

  • Add Video to Playlist

    Add a video to one of your playlists

  • Upload Video

    Post a video to your channel

  • Update Video Thumbnail

    Updates the thumbnail image for a video. You must have verified your phone number in order to update a video's thumbnail image

Your agent picks the right YouTube action from what you ask. Connect Zapier once and it can use 13 YouTube tools, each with typed inputs. Zapier handles YouTube’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up YouTube MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for YouTube.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect YouTube. It calls discover_zapier_actions to find the YouTube actions, then enable_zapier_action to add them.
  3. Approve the YouTube sign-in when prompted. If YouTube isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use YouTube in 35 AI tools with Zapier MCP

13 YouTube MCP tools

ToolMCP nameWhat it does
New Comment on Videoyoutube_new_comment_on_video

Trigger · Read-only. Triggers when a new comment is posted on a specific YouTube video.

Required: videoId (Video ID)

New Live Streamyoutube_new_live_stream

Trigger · Read-only. Triggers when a new live stream is created or becomes active for a specific YouTube channel.

Required: channel (Channel ID)

New Video in Channelyoutube_new_video_in_channel

Trigger · Read-only. Triggers when a new video is published to a specific YouTube channel.

Required: channel

New Video in Playlistyoutube_new_video_in_playlist

Trigger · Read-only. Triggers when a new video is added to a specific playlist. Note does not work for your "watch later" playlist.

Required: playlist_id

Optional: privacy_status (Privacy status)

New Video by Searchyoutube_new_video_by_search

Trigger · Read-only. Triggers when a new video is uploaded that matches a specific search string.

Required: query

Find Channelyoutube_find_channel

Search · Read-only. Finds YouTube channels by channel ID or handle, or lists the channels of the connected account, with their details and statistics.

Optional: channel_ids (Channel IDs), handle, parts (Details to include)

Find Videoyoutube_find_video

Search · Read-only. Search for videos on YouTube using various criteria like keywords, channel, date range, and more.

Optional: query (Search Query), channel_id (Channel ID), order (Order Results By), published_after (Published After), published_before (Published Before), video_duration (Video Duration), video_definition (Video Definition), video_dimension (Video Dimension), video_caption (Video Caption), video_license (Video License), safe_search (Safe Search), region_code (Region Code), relevance_language (Relevance Language), video_category_id (Video Category ID), max_results (Max Results)

Get Reportyoutube_get_report

Search · Read-only. Creates a report on specified data from your owned and managed channels.

Required: report_type (Report Type), start_date (Start Date), end_date (End Date), metrics (Report Metrics)

Optional: report_breakdown (Report Breakdown)

Make API GET Requestyoutube_make_api_get_request

Action · Read-only. Make a GET HTTP request to YouTube's API, without needing to handle authentication. Fixed parameters: - method: GET This integration requests the following OAuth scopes: https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly.

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Add Video to Playlistyoutube_add_video_to_playlist

Action · Writes data. Add a video to one of your playlists

Required: playlist_id (Playlist), video_id (Video ID)

Optional: position, note

Upload Videoyoutube_upload_video

Action · Writes data. Post a video to your channel

Required: title, description, video

Optional: thumbnail, privacy_status, publish_at, tags, default_language (Default Language), default_audio_language (Default Audio Language), language_code (Language Code), localized_title (Localized Title), localized_description (Localized Description), recording_date (Recording Date), recording_location (Recording Location), license, embeddable (Allow Embedding), public_stats_viewable (Public Statistics Viewable), category_id (Category), made_for_kids, notify_subscribers

Update Video Thumbnailyoutube_update_video_thumbnail

Action · Writes data. Updates the thumbnail image for a video. You must have verified your phone number in order to update a video's thumbnail image

Required: video_id, thumbnail

Make API Mutating Requestyoutube_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to YouTube's API, without needing to handle authentication. This integration requests the following OAuth scopes: https://www.googleapis.com/auth/youtube https://www.googleapis.com/auth/youtube.upload https://www.googleapis.com/auth/yt-analytics.readonly https://www.googleapis.com/auth/yt-analytics-monetary.readonly https://www.googleapis.com/auth/youtubepartner https://www.googleapis.com/auth/youtube.force-ssl https://www.googleapis.com/auth/youtube.readonly.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

YouTube API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call YouTube. You connect your account once, and your code references that connection instead of a raw token.

add_video_to_playlist (Add Video to Playlist) requires playlist_id and video_id. Every YouTube action and its inputs are listed under YouTube triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection youtube
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "youtube", owner: "me" });

const { data } = await zapier.runAction({
  app: "youtube",
  actionType: "write",
  action: "add_video_to_playlist",
  connection: connection.id,
  inputs: {
    playlist_id: "", // Playlist
    video_id: "", // Video ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action youtube write add_video_to_playlist \
  --inputs '{"playlist_id":"","video_id":""}'

Frequently asked questions about automating with YouTube

How do I connect YouTube to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect YouTube. Claude finds the YouTube actions and adds them. If YouTube needs a sign-in, you approve it once.

Can I use the YouTube API without managing API keys?

With the Zapier SDK you connect your YouTube account to Zapier once, and your code runs actions through that connection. Zapier handles YouTube’s login, so you never paste an API key into your code.

What can an AI agent do with YouTube?

Through Zapier MCP, your agent can use 13 YouTube tools, such as New Comment on Video, New Live Stream, and New Video in Channel. 9 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build YouTube automations. It covers how YouTube connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI.

About YouTube

YouTube allows billions of people to discover, watch and share originally-created videos. YouTube provides a forum for people to connect, inform, and inspire others across the globe and acts as a distribution platform for original content creators and advertisers large and small.

Related categories: Google, Video & Audio