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
}'