MCP

Печать СМИ MCP Сервер

Газеты, журналы, отраслевые публикации, редакционные материалы, пресс-освещение и печатная журналистика.

MCP Версия: 1.0.0 4 Инструменты MCP Аутентификация
Печать СМИ

Базовый URL

https://mcp.pressmonitor.com/mcp

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

Вызовы MCP также используют токены Bearer в запросах JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

headlines

Аргументы

Имя Тип Обязательно Описание
keywords_text string Да
lang_code string Нет
country_code string Нет
count integer Нет
cursor string Нет
sort string Нет Sort order (date or relevance)
date_from string Нет Start date for news (YYYY-MM-DD format)
date_to string Нет End date for news (YYYY-MM-DD format)

Примеры кода

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

briefs

Аргументы

Имя Тип Обязательно Описание
keywords_text string Да
lang_code string Нет
country_code string Нет
count integer Нет
cursor string Нет
sort string Нет Sort order (date or relevance)
date_from string Нет Start date for news (YYYY-MM-DD format)
date_to string Нет End date for news (YYYY-MM-DD format)

Примеры кода

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

fulltext

Аргументы

Имя Тип Обязательно Описание
keywords_text string Да
lang_code string Нет
country_code string Нет
count integer Нет
cursor string Нет
sort string Нет Sort order (date or relevance)
date_from string Нет Start date for news (YYYY-MM-DD format)
date_to string Нет End date for news (YYYY-MM-DD format)

Примеры кода

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

clip

Аргументы

Имя Тип Обязательно Описание
id string Да Clip/article ID to resolve
ns string Нет Namespace prefix for multi-tenant index resolution
date string Да Date of the clip (YYYY-MM-DD)
host string Нет Host name for tenant resolution
ttl integer Нет Signed URL time-to-live in seconds

Примеры кода

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