yt_channel_videos
Pack: youtube · Endpoint: https://gateway.pipeworx.io/youtube/mcp
List recent videos from a YouTube channel, ordered by date. Returns video ID, title, description, and publish date.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | YouTube Data API v3 key from Google Cloud Console |
channel_id | string | yes | Channel ID to list videos from |
max_results | number | no | Number of videos to return (default 10, max 50) |
published_after | string | no | Filter videos published after this ISO 8601 date |
published_before | string | no | Filter videos published before this ISO 8601 date |
Example call
Arguments
{
"_apiKey": "your-youtube-api-key",
"channel_id": "UCkRfArvrzheW2E7b6SVV7vA"
}
curl
curl -X POST https://gateway.pipeworx.io/youtube/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"yt_channel_videos","arguments":{"_apiKey":"your-youtube-api-key","channel_id":"UCkRfArvrzheW2E7b6SVV7vA"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('yt_channel_videos', {
"_apiKey": "your-youtube-api-key",
"channel_id": "UCkRfArvrzheW2E7b6SVV7vA"
});
More examples
{
"_apiKey": "your-youtube-api-key",
"channel_id": "UCkRfArvrzheW2E7b6SVV7vA",
"max_results": 25,
"published_after": "2024-06-01T00:00:00Z"
}
Response shape
Always returns: total_results, videos
| Field | Type | Description |
|---|---|---|
total_results | number | Total number of videos in channel |
videos | array | Array of video summary objects |
Full JSON Schema
{
"type": "object",
"properties": {
"total_results": {
"type": "number",
"description": "Total number of videos in channel"
},
"videos": {
"type": "array",
"description": "Array of video summary objects",
"items": {
"type": "object",
"properties": {
"video_id": {
"type": [
"string",
"null"
],
"description": "Video ID"
},
"title": {
"type": "string",
"description": "Video title"
},
"description": {
"type": "string",
"description": "Video description"
},
"published_at": {
"type": "string",
"description": "ISO 8601 publish date"
},
"thumbnail": {
"type": [
"string",
"null"
],
"description": "Default thumbnail URL"
}
},
"required": [
"video_id",
"title",
"description",
"published_at",
"thumbnail"
]
}
}
},
"required": [
"total_results",
"videos"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"youtube": {
"url": "https://gateway.pipeworx.io/youtube/mcp"
}
}
}
See Getting Started for client-specific install steps.