# Connect YouTube to your AI agent

> Yes — ClawLink is a hosted YouTube MCP server. 47 tools your agent can call from chat, with one-click hosted OAuth and nothing to run locally.

Web version: https://claw-link.dev/hub/youtube

ClawLink hosts a managed YouTube MCP server that exposes 47 tools to your AI agent. You connect YouTube in one click, and your agent can read, create, and update YouTube data from chat without you building or running a local MCP server.

## Quick facts

- 47 tools callable from chat
- One-click hosted OAuth
- Works with OpenClaw, Hermes, Claude Code, Cursor, Codex, and any MCP client
- No local server or config files

## Overview

The usual path is: build auth, handle token refresh, wire up the tools. With ClawLink you connect YouTube once and start using the real actions from the agent.

## Setup

YouTube uses OAuth. You connect it in the browser: click Connect, sign in, approve. ClawLink stores the token and refreshes it on its own. You never touch a key or wire up a redirect URL.

Authentication: hosted OAuth

## What you can do

- **Draft with live context** — The agent writes content and checks recent YouTube activity before you publish.
- **Handle engagement faster** — Review YouTube replies, comments, or performance and respond with better context.
- **Less manual publishing** — YouTube scheduling, reporting, and channel management become chat-driven.

## YouTube tools

47 YouTube tools, ready the moment you connect.

- `youtube_add_video_to_playlist` — Add a video to a YouTube playlist
- `youtube_create_comment_reply` — Reply to a YouTube comment
- `youtube_create_playlist` — Create a YouTube playlist
- `youtube_get_channel_activities` — List YouTube channel activities
- `youtube_get_channel_statistics` — Get YouTube channel statistics
- `youtube_get_video_details_batch` — Get YouTube video metadata
- `youtube_list_channel_videos` — List YouTube videos for a channel
- `youtube_list_comment_threads2` — List YouTube comment threads
- `youtube_list_comments` — List YouTube comments
- `youtube_list_user_playlists` — List YouTube playlists
- `youtube_multipart_upload_video` — Upload a large video to YouTube via multipart
- `youtube_post_comment` — Post a comment on a YouTube video
- `youtube_rate_video` — Rate a YouTube video
- `youtube_search_you_tube` — Search YouTube videos and channels
- `youtube_subscribe_channel` — Subscribe to a YouTube channel
- `youtube_unsubscribe_channel` — Unsubscribe from a YouTube channel
- `youtube_update_playlist` — Update a YouTube playlist
- `youtube_update_video` — Update YouTube video metadata
- `youtube_upload_video` — Upload a video to YouTube
- `youtube_get_channel_id_by_handle` — Retrieves the YouTube Channel ID for a specific YouTube channel handle
- `youtube_get_video_rating` — Retrieves the ratings that the authorized user gave to a list of specified videos
- `youtube_list_caption_track` — Retrieves a list of caption tracks for a YouTube video
- `youtube_list_channel_sections` — Retrieve channel sections from YouTube
- `youtube_list_i18n_languages` — Returns a list of application languages that the YouTube website supports
- `youtube_list_i18n_regions` — Retrieve a list of content regions that the YouTube website supports
- `youtube_list_live_chat_messages` — List live chat messages for a specific chat
- `youtube_list_playlist_images` — Retrieve playlist images associated with a specific playlist
- `youtube_list_playlist_items` — List videos in a playlist, with pagination support
- `youtube_list_super_chat_events` — Lists Super Chat events for a channel, showing supporter purchases during live streams
- `youtube_list_user_subscriptions` — Retrieves the authenticated user's YouTube channel subscriptions, allowing specification of

## Example prompts

- **Add video to playlist:** Use YouTube to add video to playlist and walk me through it.
- **Create comment reply:** Create it in YouTube. Confirm the key fields with me before you finish.
- **Create playlist:** Create it in YouTube. Confirm the key fields with me before you finish.
- **Get channel activities:** Pull the data from YouTube. Sum it up and flag anything I need to look at.

## ClawLink vs. building it yourself

| | Manual | ClawLink |
|---|---|---|
| Connection | Build it yourself. You register a developer app with YouTube, set up redirect URLs, handle the consent screen, store and refresh access tokens, and redo the wiring when scopes change. | Hosted hosted OAuth. Connect once in the browser. ClawLink owns the lifecycle. |
| Maintenance | Token refresh, permission debugging, env config, every edge case. All yours. | ClawLink handles the plumbing. You focus on the workflow. |
| Time to first call | Days to weeks. Auth, storage, tool wiring, testing. Then the agent can act. | About two minutes from sign-up to the agent calling YouTube. |

## FAQ

### How do I connect YouTube to my AI agent?

Install ClawLink, open the dashboard, click Connect next to YouTube, and finish the hosted OAuth flow. Your agent can call YouTube from the next message. Two minutes, total.

### Is there a YouTube MCP server I can use?

Yes. ClawLink exposes YouTube as 47 tools your agent calls through a hosted MCP-compatible runtime. You don't run a local server or edit a config file. The tools are there the moment you connect.

### Do I need YouTube API credentials?

No separate API key. You sign in to YouTube through the normal OAuth flow and ClawLink handles the token after that.

### How much does it cost?

Your first integration is free, plus a 7-day trial of the full catalog. Paid plans unlock the rest of the library.

### Can I set this up from the terminal instead of the dashboard?

Yes. Run npx -y @useclawlink/cli login, then npx -y @useclawlink/cli connect youtube. The first opens a browser to sign in to ClawLink. The second opens a browser to authorize YouTube. No API keys to create. Works with OpenClaw, Hermes, Claude Code, Cursor, Codex, and any agent that runs shell commands.
