MCP
Intelligence Google pour équipes recherche et contenu MCP Server
Outils MCP pour Recherche Google
URL de base
https://mcp.pressmonitor.com/google/v1 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/google/v1' \ -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/google/v1', { 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/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_web Search Web
Rechercher Web
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
| lang_code | string | Non | Lang Code |
| country_code | string | Non | Country Code |
| count | string | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Safesearch |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_web","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_web", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "search_web", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_news Search News
Rechercher Nouveaus
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
| lang_code | string | Non | Lang Code |
| country_code | string | Non | Country Code |
| count | string | Non | Nombre de résultats à retourner |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_news","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_news", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20 } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "search_news", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20 } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_images Search Images
Rechercher Images
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
| lang_code | string | Non | Lang Code |
| country_code | string | Non | Country Code |
| count | string | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Safesearch |
| color | string | Non | Color |
| size | string | Non | Size |
| type_image | string | Non | Type Image |
| layout | string | Non | Layout |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_images","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE","color":"SOME_STRING_VALUE","size":"SOME_STRING_VALUE","type_image":"SOME_STRING_VALUE","layout":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_images", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "color": "SOME_STRING_VALUE", "size": "SOME_STRING_VALUE", "type_image": "SOME_STRING_VALUE", "layout": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "search_images", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "color": "SOME_STRING_VALUE", "size": "SOME_STRING_VALUE", "type_image": "SOME_STRING_VALUE", "layout": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_videos Search Videos
Rechercher Videos
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
| lang_code | string | Non | Lang Code |
| country_code | string | Non | Country Code |
| count | string | Non | Nombre de résultats à retourner |
| safesearch | string | Non | Safesearch |
| timelimit | string | Non | Timelimit |
| duration | string | Non | Duration |
| resolution | string | Non | Resolution |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_videos","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE","timelimit":"SOME_STRING_VALUE","duration":"SOME_STRING_VALUE","resolution":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_videos", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "timelimit": "SOME_STRING_VALUE", "duration": "SOME_STRING_VALUE", "resolution": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "search_videos", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "timelimit": "SOME_STRING_VALUE", "duration": "SOME_STRING_VALUE", "resolution": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_map Search Map
Rechercher Map
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
| place | string | Non | Place |
| street | string | Non | Street |
| city | string | Non | City |
| county | string | Non | County |
| state | string | Non | State |
| country | string | Non | Pays |
| postalcode | string | Non | Postalcode |
| latitude | string | Non | Latitude |
| longitude | string | Non | Longitude |
| radius | string | Non | Radius |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_map","arguments":{"query_text":"SOME_STRING_VALUE","place":"SOME_STRING_VALUE","street":"SOME_STRING_VALUE","city":"SOME_STRING_VALUE","county":20,"state":"SOME_STRING_VALUE","country":20,"postalcode":"SOME_STRING_VALUE","latitude":"SOME_STRING_VALUE","longitude":"SOME_STRING_VALUE","radius":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_map", "arguments": { "query_text": "SOME_STRING_VALUE", "place": "SOME_STRING_VALUE", "street": "SOME_STRING_VALUE", "city": "SOME_STRING_VALUE", "county": 20, "state": "SOME_STRING_VALUE", "country": 20, "postalcode": "SOME_STRING_VALUE", "latitude": "SOME_STRING_VALUE", "longitude": "SOME_STRING_VALUE", "radius": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "search_map", "arguments": { "query_text": "SOME_STRING_VALUE", "place": "SOME_STRING_VALUE", "street": "SOME_STRING_VALUE", "city": "SOME_STRING_VALUE", "county": 20, "state": "SOME_STRING_VALUE", "country": 20, "postalcode": "SOME_STRING_VALUE", "latitude": "SOME_STRING_VALUE", "longitude": "SOME_STRING_VALUE", "radius": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
auto_complete Auto Complete
Auto Complete
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query_text | string | Oui | Query Text |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"auto_complete","arguments":{"query_text":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "auto_complete", "arguments": { "query_text": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/v1', { 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": "auto_complete", "arguments": { "query_text": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())