目录 / Youtube
Youtube
MCP server for YouTube Data API v3 with OAuth 2.0 authentication. ## Features - Search videos, channels, and playlists with filters (duration, date, region, type) - Get video details — views, likes, comments, duration, tags, thumbnails - Browse channel statistics — subscribers, video count, total views - List and manage playlists — create, update, delete, add/remove videos - Read and post comments — top-level threads, replies, moderation - Rate videos with like/dislike/unrate - Get trending videos by region and category - Automatic access token refresh via OAuth 2.0 ## 20 Tools **Search & Discovery**: search YouTube, get popular/trending videos, list video categories **Videos & Channels**: get video details, get channel info **Playlists**: list playlists, list playlist items, create/update/delete playlist, add/remove playlist item **Comments**: list comment threads, list replies, post comment, reply to comment, update/delete comment **Ratings**: rate video (like/dislike/none) ## Configuration - YOUTUBE_CLIENT_ID — OAuth 2.0 Client ID from https://console.cloud.google.com/apis/credentials - YOUTUBE_CLIENT_SECRET — OAuth 2.0 Client Secret - YOUTUBE_REFRESH_TOKEN — Refresh Token from https://developers.google.com/oauthplayground (scope: youtube)
接入信息
- 传输形态
- http
- 鉴权方式
- 需 API Key(需要配置:YOUTUBE_CLIENT_ID、YOUTUBE_CLIENT_SECRET、YOUTUBE_REFRESH_TOKEN)
- 端点
https://youtube--node2flow.run.tools
{
"mcpServers": {
"Youtube": {
"headers": {
"Authorization": "Bearer \u003cYOUR_KEY\u003e"
},
"url": "https://youtube--node2flow.run.tools"
}
}
}
能力清单
| 工具 | 说明 |
|---|---|
| youtube_search | Search YouTube for videos, channels, or playlists. Costs 100 quota units per request. Use filters to narrow results. Returns up to 50 results per page with pagination support. |
| youtube_get_video | Get detailed information about one or more videos by ID. Returns snippet (title, description, thumbnails), statistics (views, likes, comments), content details (duration, definition), and status. Costs 1 quota unit. |
| youtube_get_channel | Get channel information by ID or username. Returns snippet (name, description, avatar), statistics (subscribers, views, video count), and branding settings. Costs 1 quota unit. |
| youtube_list_playlists | List playlists by channel ID or playlist IDs. Returns playlist title, description, item count, and privacy status. Costs 1 quota unit. |
| youtube_list_playlist_items | List videos in a playlist. Returns video titles, descriptions, positions, and video IDs. Costs 1 quota unit. |
| youtube_list_comments | List top-level comment threads on a video or channel. Returns comment text, author, likes, reply count, and optionally the first few replies. Costs 1 quota unit. |
| youtube_list_comment_replies | List replies to a specific comment. Provide the parent comment ID to get all replies. Costs 1 quota unit. |
| youtube_list_video_categories | List available video categories for a region. Returns category ID, title, and whether it is assignable. Costs 1 quota unit. |
| youtube_list_subscriptions | List subscriptions for a channel. Returns subscribed channel names, descriptions, and item counts. Costs 1 quota unit. |
| youtube_get_popular_videos | Get trending/most popular videos for a region. Optionally filter by video category. Returns video details with statistics. Costs 1 quota unit. |
| youtube_post_comment | Post a new top-level comment on a video. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_reply_comment | Reply to an existing comment. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_update_comment | Edit an existing comment. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_delete_comment | Delete a comment. This action is irreversible. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_create_playlist | Create a new playlist. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_update_playlist | Update a playlist title, description, or privacy status. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_delete_playlist | Delete a playlist. This action is irreversible. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_add_playlist_item | Add a video to a playlist. Optionally specify position (0-based). Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_remove_playlist_item | Remove a video from a playlist by playlist item ID (not video ID). Use youtube_list_playlist_items to find the item ID. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
| youtube_rate_video | Like, dislike, or remove rating from a video. Requires OAuth credentials (CLIENT_ID + CLIENT_SECRET + REFRESH_TOKEN). Costs 50 quota units. |
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。