MCP

YouTube Monitor MCP Сервер

The AI-powered YouTube provides 360° Global Media Data & Intelligence on YouTube creators, video producers, brand marketers, and content distributors.

MCP Версия: 1.0.0 15 Инструменты MCP Аутентификация
YouTube Monitor

Базовый URL

https://pressmonitor.com/mcp

Аутентификация

Вызовы MCP требуют заголовков x-api-key и x-subscription-id в каждом запросе JSON-RPC 2.0.

x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID

youtube_media_suggestions

Get YouTube search suggestions for a keyword.

Аргументы

Имя Тип Обязательно Описание
keyword string Нет Keyword

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_suggestions",
    "arguments": {
      "keyword": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_details

Get full video details: stats, channel, and signed stream URLs

Аргументы

Имя Тип Обязательно Описание
videoId string Нет YouTube video ID

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_details",
    "arguments": {
      "videoId": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_subtitles

Get a video transcript (WebVTT) using the subtitleUrl from details.

Аргументы

Имя Тип Обязательно Описание
videoId string Нет YouTube video ID
subtitleUrl string Нет Subtitle URL

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_subtitles",
    "arguments": {
      "videoId": "VALUE",
      "subtitleUrl": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_comments

Get video comments.

Аргументы

Имя Тип Обязательно Описание
videoId string Нет YouTube video ID
limit integer Нет Number of results
page string Нет Page number

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_comments",
    "arguments": {
      "videoId": "VALUE",
      "limit": 0,
      "page": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_channel

Get channel details by channelId.

Аргументы

Имя Тип Обязательно Описание
channelId string Нет YouTube channel ID

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_channel",
    "arguments": {
      "channelId": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_channel_videos

List a channel's videos.

Аргументы

Имя Тип Обязательно Описание
channelId string Нет YouTube channel ID
limit integer Нет Number of results
page string Нет Page number
type string Нет Type (videos, shorts, live; or playlists, releases, podcasts)

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_channel_videos",
    "arguments": {
      "channelId": "VALUE",
      "limit": 0,
      "page": "VALUE",
      "type": "VALUE"
    }
  },
  "id": 1
}'

youtube_transcript

Fetch and parse a YouTube video transcript into timed segments.

Аргументы

Имя Тип Обязательно Описание
videoId string Нет YouTube video ID

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_transcript",
    "arguments": {
      "videoId": "VALUE"
    }
  },
  "id": 1
}'

youtube_download

Download a YouTube video or audio stream to a local file.

Аргументы

Имя Тип Обязательно Описание
videoId string Нет YouTube video ID
kind string Нет Kind (video or audio)

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_download",
    "arguments": {
      "videoId": "VALUE",
      "kind": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_search_channels

Search YouTube channels by keyword.

Аргументы

Имя Тип Обязательно Описание
keyword string Нет Keyword
limit integer Нет Number of results
page string Нет Page number

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_search_channels",
    "arguments": {
      "keyword": "VALUE",
      "limit": 0,
      "page": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_search_playlists

Search YouTube playlists by keyword.

Аргументы

Имя Тип Обязательно Описание
keyword string Нет Keyword
limit integer Нет Number of results
page string Нет Page number

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_search_playlists",
    "arguments": {
      "keyword": "VALUE",
      "limit": 0,
      "page": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_channel_playlists

List a channel's playlists, releases and podcasts.

Аргументы

Имя Тип Обязательно Описание
channelId string Нет YouTube channel ID
limit integer Нет Number of results
page string Нет Page number
type string Нет Type (videos, shorts, live; or playlists, releases, podcasts)

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_channel_playlists",
    "arguments": {
      "channelId": "VALUE",
      "limit": 0,
      "page": "VALUE",
      "type": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_playlist_details

Get playlist details by playlistId.

Аргументы

Имя Тип Обязательно Описание
playlistId string Нет YouTube playlist ID

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_playlist_details",
    "arguments": {
      "playlistId": "VALUE"
    }
  },
  "id": 1
}'

youtube_media_playlist_videos

List a playlist's videos.

Аргументы

Имя Тип Обязательно Описание
playlistId string Нет YouTube playlist ID
limit integer Нет Number of results
page string Нет Page number

Примеры кода

curl -X POST \
  "https://pressmonitor.com/mcp" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-subscription-id: YOUR_SUB_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "youtube_media_playlist_videos",
    "arguments": {
      "playlistId": "VALUE",
      "limit": 0,
      "page": "VALUE"
    }
  },
  "id": 1
}'