Основные услуги MCP
Онлайн Новости MCP Сервер
Онлайн новости включают отчеты, опубликованные цифровыми изданиями, газетами, вещателями, информационными службами и журналами в Интернете. Это важно для репутации, рыночных сигналов, и развития политики.
MCP Версия: 1.0.0 3 Инструменты MCP Аутентификация
Базовый URL
https://mcp.pressmonitor.com/ Аутентификация
Вызовы MCP также используют токены Bearer в запросах JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Обнаружить инструменты
Начните с перечисления инструментов, доступных через сервер MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.com/', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.com/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_headlines Инструмент заголовков
Инструмент заголовков
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| keywords_text | string | Да | Текст ключевых слов |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество |
| cursor | string | Нет | Курсор |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_headlines","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_headlines", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_headlines", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_briefs Инструмент кратких новостей
Инструмент кратких новостей
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| keywords_text | string | Да | Текст ключевых слов |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество |
| cursor | string | Нет | Курсор |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_briefs","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_briefs", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_briefs", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_fulltext Инструмент полного текста
Инструмент полного текста
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| keywords_text | string | Да | Текст ключевых слов |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество |
| cursor | string | Нет | Курсор |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_fulltext","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_fulltext", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_fulltext", "arguments": { "keywords_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())