MCP
Medias audiovisuels d'actualite Serveur MCP
Television, radio, chaines, emissions, transcriptions, journalisme audiovisuel et actualite diffusee.
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
Obtenir les titres de diffusion
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Termes ou mots-clés de recherche |
| channel | string | Non | ID de chaîne pour filtrer |
| country_code | string | Non | Filtrer par code pays (ISO 3166-1 alpha-2) |
| lang_code | string | Non | Filtrer par code langue (ISO 639-1) |
| count | integer | Non | Nombre de résultats à retourner |
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
Obtenir les résumés de diffusion (titre + description)
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Termes ou mots-clés de recherche |
| channel | string | Non | ID de chaîne pour filtrer |
| count | integer | Non | Nombre de résultats à retourner |
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
}' headlines
Obtenir les titres de diffusion traduits
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Termes ou mots-clés de recherche |
| target_lang_code | string | Oui | Code langue cible pour la traduction (ISO 639-1) |
| channel | string | Non | ID de chaîne pour filtrer |
| count | integer | Non | Nombre de résultats à retourner |
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",
"target_lang_code": "VALUE"
}
},
"id": 1
}' briefs
Obtenir les résumés de diffusion traduits
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| keywords_text | string | Oui | Termes ou mots-clés de recherche |
| target_lang_code | string | Oui | Code langue cible pour la traduction (ISO 639-1) |
| channel | string | Non | ID de chaîne pour filtrer |
| count | integer | Non | Nombre de résultats à retourner |
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",
"target_lang_code": "VALUE"
}
},
"id": 1
}'