MCP
印刷媒体MCP服务器
报纸、杂志、行业出版物、编辑输出、媒体报道及印刷新闻。
MCP 版本: 1.0.0 4 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 | 不 | |
| sort | string | 不 | Sort order (date or relevance) |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
代码示例
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 | 不 | |
| sort | string | 不 | Sort order (date or relevance) |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
代码示例
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 | 不 | |
| sort | string | 不 | Sort order (date or relevance) |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
代码示例
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
}' clip
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| id | string | 是 | Clip/article ID to resolve |
| ns | string | 不 | Namespace prefix for multi-tenant index resolution |
| date | string | 是 | Date of the clip (YYYY-MM-DD) |
| host | string | 不 | Host name for tenant resolution |
| ttl | integer | 不 | Signed URL time-to-live in seconds |
代码示例
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": "clip",
"arguments": {
"id": "VALUE",
"date": "VALUE"
}
},
"id": 1
}'