MCP
Google Serveur MCP
Des milliards de personnes utilisent Google chaque jour pour trouver des pages web, actualités, images, vidéos et résultats locaux, ce qui en fait un canal essentiel pour la visibilité, la gestion de réputation et la capture de demande.
MCP Version: 1.0.0 6 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 search_web
Rechercher Web
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
| lang_code | string | Non | Code langue |
| country_code | string | Non | Code pays |
| count | integer | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Recherche sécurisée |
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": "search_web",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_news
Rechercher actualités
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
| lang_code | string | Non | Code langue |
| country_code | string | Non | Code pays |
| 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": "search_news",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_images
Rechercher images
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
| lang_code | string | Non | Code langue |
| country_code | string | Non | Code pays |
| count | integer | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Recherche sécurisée |
| color | string | Non | Couleur |
| size | string | Non | Taille |
| type_image | string | Non | Type d'image |
| layout | string | Non | Disposition |
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": "search_images",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_videos
Rechercher vidéos
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
| lang_code | string | Non | Code langue |
| country_code | string | Non | Code pays |
| count | integer | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Recherche sécurisée |
| timelimit | string | Non | Limite de temps |
| duration | string | Non | Durée |
| resolution | string | Non | Résolution |
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": "search_videos",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_map
Rechercher carte
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
| place | string | Non | Lieu |
| street | string | Non | Rue |
| city | string | Non | Ville |
| state | string | Non | État |
| country | string | Non | Pays |
| postalcode | string | Non | Code postal |
| latitude | string | Non | Latitude |
| longitude | string | Non | Longitude |
| radius | string | Non | Rayon |
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": "search_map",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' auto_complete
Saisie semi-automatique
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Texte de la requête |
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": "auto_complete",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}'