平台智能 MCP
谷歌MCP服务器
数十亿人每天使用谷歌查找网页、新闻、图片、视频和本地结果,使其在可发现性、声誉管理和需求捕捉中至关重要。
MCP 版本: 1.0.0 6 MCP工具 身份验证
基本网址
https://mcp.pressmonitor.com/google/v1 身份验证
MCP 调用也使用 Bearer 令牌通过 JSON-RPC 2.0 请求。
Authorization: Bearer YOUR_TOKEN 发现工具
首先列出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 网页搜索
网页搜索
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | string | 不 | 返回结果数量 |
| safesearch | string | 不 | 安全搜索 |
代码示例
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 新闻搜索
新闻搜索
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | string | 不 | 返回结果数量 |
代码示例
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 图片搜索
图片搜索
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | string | 不 | 返回结果数量 |
| safesearch | string | 不 | 安全搜索 |
| color | string | 不 | 颜色 |
| size | string | 不 | 大小 |
| type_image | string | 不 | 图片类型 |
| layout | string | 不 | 布局 |
代码示例
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 视频搜索
视频搜索
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | string | 不 | 返回结果数量 |
| safesearch | string | 不 | 安全搜索 |
| timelimit | string | 不 | 时间限制 |
| duration | string | 不 | 时长 |
| resolution | string | 不 | 分辨率 |
代码示例
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 地图搜索
地图搜索
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
| place | string | 不 | 地点 |
| street | string | 不 | 街道 |
| city | string | 不 | 城市 |
| county | string | 不 | 县 |
| state | string | 不 | 州 |
| country | string | 不 | 国家 |
| postalcode | string | 不 | 邮政编码 |
| latitude | string | 不 | 纬度 |
| longitude | string | 不 | 经度 |
| radius | string | 不 | 半径 |
代码示例
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 自动完成
自动完成
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| query_text | string | 是 | 查询文本 |
代码示例
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())