MCP
在线新闻MCP服务器
在线新闻包括由数字原生媒体、报纸、广播、通讯社和网络杂志发布的报道。它对声誉、市场信号、政策发展和快速流动的公共信息至关重要。
MCP 版本: 1.0.0 3 MCP工具 身份验证
基本网址
https://mcp.pressmonitor.com/mcp 身份验证
MCP 调用也使用 Bearer 令牌通过 JSON-RPC 2.0 请求。
Authorization: Bearer YOUR_TOKEN headlines
头条工具
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | 关键词文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | integer | 不 | 数量 |
| cursor | string | 不 | 游标 |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | latest|relevance(default) |
代码示例
curl -X POST "https://mcp.pressmonitor.com/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
摘要工具
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | 关键词文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | integer | 不 | 数量 |
| cursor | string | 不 | 游标 |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | latest|relevance(default) |
代码示例
curl -X POST "https://mcp.pressmonitor.com/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
全文工具
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | 关键词文本 |
| lang_code | string | 不 | 语言代码 |
| country_code | string | 不 | 国家代码 |
| count | integer | 不 | 数量 |
| cursor | string | 不 | 游标 |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | latest|relevance(default) |
代码示例
curl -X POST "https://mcp.pressmonitor.com/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
}'