How to integrate Youtube MCP with Hermes

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows. This guide explains the easiest and most robust way to connect your Youtube account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Youtube logoYoutube
Oauth2

YouTube is a leading video-sharing platform for uploading, streaming, and discovering content. It empowers creators and businesses to reach global audiences and monetize their work.

47 Tools4 Triggers

Introduction

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Youtube account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Youtube with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,000+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Youtube with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Youtube

Ask your agent to connect to Youtube, or simply request any Youtube-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Youtube connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Youtube or request any Youtube-related task. It will prompt you to authenticate and authorize access.

5. Done!

What is the Youtube MCP server, and what's possible with it?

The Youtube MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Youtube account. It provides structured and secure access to your channel data, so your agent can perform actions like searching videos, managing playlists, retrieving channel insights, and handling subscriptions on your behalf.

  • Channel activity monitoring: Let your agent fetch and summarize recent channel activities, including uploads, likes, playlist additions, and more, to keep you up to date at a glance.
  • Automated video and playlist management: Easily list videos from any channel, retrieve your own playlists, and organize your content—all through AI-driven commands.
  • Channel analytics and statistics: Ask your agent to pull detailed channel metrics such as subscriber counts, total views, or video counts for quick reporting and insights.
  • Subscription management: Have your agent list your current subscriptions or even subscribe you to new channels based on your interests or instructions.
  • Search and caption handling: Empower your agent to search YouTube for videos, channels, or playlists, as well as retrieve and download caption tracks for accessible viewing and content repurposing.

Way Forward

With Youtube connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

TOOLS & TRIGGERS

Supported Tools and Triggers

Every Youtube action and event your agent gets out of the box.

Add Video to Playlist

Tool to add a video to a playlist by inserting a playlist item.

Insert Channel Section

Tool to create a new channel section for the authenticated user's YouTube channel.

Insert Comment Reply

Tool to create a reply to an existing YouTube comment.

Create Playlist

Tool to create a new YouTube playlist on the authenticated user's channel.

Delete Channel Section

Tool to delete a YouTube channel section.

Delete Comment

Tool to delete a YouTube comment owned by the authenticated user or channel.

Delete Playlist

Tool to delete a YouTube playlist owned by the authenticated user/channel.

Delete Playlist Item

Tool to delete a playlist item (remove a video from a playlist).

Delete Video

Tool to delete a YouTube video owned by the authenticated user/channel.

Get Channel Activities

Gets recent activities from a YouTube channel including video uploads, playlist additions, likes, and other channel events.

Get channel ID by handle

Retrieves the YouTube Channel ID for a specific YouTube channel handle.

Get Channel Statistics

Gets detailed statistics for YouTube channels including subscriber counts, view counts, and video counts.

Video Details Batch

Retrieves multiple YouTube video resource parts in a single batch call.

Get Video Rating

Retrieves the ratings that the authorized user gave to a list of specified videos.

List captions

Retrieves a list of caption tracks for a YouTube video.

List Channel Sections

Tool to retrieve channel sections from YouTube.

List channel videos

Lists videos from a specified YouTube channel.

List Comments

List individual comments from YouTube videos.

List Comment Threads

Tool to retrieve comment threads from YouTube videos or channels matching API request parameters.

List I18n Languages

Returns a list of application languages that the YouTube website supports.

List I18n Regions

Tool to retrieve a list of content regions that the YouTube website supports.

List Live Chat Messages

Tool to list live chat messages for a specific chat.

List Playlist Images

Tool to retrieve playlist images associated with a specific playlist.

List Playlist Items

Tool to list videos in a playlist, with pagination support.

List Super Chat Events

Lists Super Chat events for a channel, showing supporter purchases during live streams.

List user playlists

Retrieves playlists owned by the authenticated user, implicitly using mine=True.

List user subscriptions

Retrieves the authenticated user's YouTube channel subscriptions, allowing specification of response parts and pagination.

List Video Abuse Report Reasons

Tool to retrieve a list of abuse report reasons that can be used to report abusive videos on YouTube.

List Video Categories

Tool to list YouTube video categories that can be associated with videos.

Download YouTube caption track

Downloads a specific YouTube caption track, which must be owned by the authenticated user, and returns its content as text.

Multipart upload video

Uploads a video to YouTube using multipart upload in a single request.

Post Comment on Video

Tool to post a new top-level comment on a YouTube video.

Rate Video

Tool to add a like or dislike rating to a YouTube video, or remove an existing rating.

Report Video for Abuse

Tool to report a YouTube video for containing abusive content.

Search YouTube

Searches YouTube for videos, channels, or playlists using a query term, returning the raw API response.

Set Comment Moderation Status

Tool to set the moderation status of one or more YouTube comments.

Subscribe to channel

Subscribes the authenticated user to a specified YouTube channel, identified by its unique `channelId` which must be valid and existing.

Unsubscribe from channel

Tool to unsubscribe the authenticated user from a YouTube channel by deleting a subscription.

Update caption track

Updates a YouTube caption track's metadata such as name, language, or draft status.

Update channel

Updates a channel's metadata including branding settings and localizations.

Update Channel Section

Tool to update an existing YouTube channel section by ID.

Update Comment

Tool to modify the text of an existing YouTube comment.

Update Playlist

Tool to modify an existing YouTube playlist's metadata (title, description, privacy status).

Update Playlist Item

Tool to modify a playlist item's properties such as position or note.

Update thumbnail

Sets the custom thumbnail for a YouTube video using an image from a URL.

Update video

Updates metadata for a YouTube video identified by videoId, which must exist; an empty list for tags removes all existing tags.

Upload video

Uploads a video from a local file path to a YouTube channel; the video file must be in a YouTube-supported format.

FAQ

Frequently asked questions

With a standalone Youtube MCP server, the agents and LLMs can only access a fixed set of Youtube tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Youtube and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Youtube tools.

Yes, absolutely. You can configure which Youtube scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Youtube data and credentials are handled as safely as possible.

Start with Youtube.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Youtube tool your agent needs.Free to start.

Start building