MCP
Veille stratégique des actualités en ligne en Inde MCP Server
Outils MCP Online News Search Direct
URL de base
https://mcp.pressmonitor.com/ Authentification
Les appels MCP utilisent aussi un jeton Bearer avec des requetes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Decouvrir les outils
Commencez par lister les outils exposes par le serveur 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 News Headlines
News Headlines
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Keywords text |
| lang_code | string | Non | Lang code |
| country_code | string | Non | Country code |
| count | string | Non | Count |
| cursor | string | Non | Cursor |
Exemples de code
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 News Briefs
News Briefs
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Keywords text |
| lang_code | string | Non | Lang code |
| country_code | string | Non | Country code |
| count | string | Non | Count |
| cursor | string | Non | Cursor |
Exemples de code
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 News Fulltext
News Fulltext
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Keywords text |
| lang_code | string | Non | Lang code |
| country_code | string | Non | Country code |
| count | string | Non | Count |
| cursor | string | Non | Cursor |
Exemples de code
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())