MCP
Presse ecrite Serveur MCP
Journaux, magazines, publications professionnelles, production editoriale, couverture de presse et journalisme imprime.
MCP Version: 1.0.0 4 Outils MCP Authentification
URL de base
https://mcp.pressmonitor.fr/mcp Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN headlines
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | |
| lang_code | string | Non | |
| country_code | string | Non | |
| count | integer | Non | |
| cursor | string | Non | |
| sort | string | Non | Sort order (date or relevance) |
| date_from | string | Non | Start date for news (YYYY-MM-DD format) |
| date_to | string | Non | End date for news (YYYY-MM-DD format) |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | |
| lang_code | string | Non | |
| country_code | string | Non | |
| count | integer | Non | |
| cursor | string | Non | |
| sort | string | Non | Sort order (date or relevance) |
| date_from | string | Non | Start date for news (YYYY-MM-DD format) |
| date_to | string | Non | End date for news (YYYY-MM-DD format) |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | |
| lang_code | string | Non | |
| country_code | string | Non | |
| count | integer | Non | |
| cursor | string | Non | |
| sort | string | Non | Sort order (date or relevance) |
| date_from | string | Non | Start date for news (YYYY-MM-DD format) |
| date_to | string | Non | End date for news (YYYY-MM-DD format) |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| id | string | Oui | Clip/article ID to resolve |
| ns | string | Non | Namespace prefix for multi-tenant index resolution |
| date | string | Oui | Date of the clip (YYYY-MM-DD) |
| host | string | Non | Host name for tenant resolution |
| ttl | integer | Non | Signed URL time-to-live in seconds |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
}'