核心服务 MCP

在线新闻MCP服务器

在线新闻包括由数字原生媒体、报纸、广播、通讯社和网络杂志发布的报道。它对声誉、市场信号、政策发展和快速流动的公共信息至关重要。

MCP 版本: 1.0.0 3 MCP工具 身份验证
在线新闻

基本网址

https://mcp.pressmonitor.com/

身份验证

MCP 调用也使用 Bearer 令牌通过 JSON-RPC 2.0 请求。

Authorization: Bearer YOUR_TOKEN

发现工具

首先列出MCP服务器公开的工具。

curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
tool news_headlines

头条工具

头条工具

参数

名称 类型 必填 描述
keywords_text string 关键词文本
lang_code string 语言代码
country_code string 国家代码
count string 数量
cursor string 游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_headlines","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool news_briefs

摘要工具

摘要工具

参数

名称 类型 必填 描述
keywords_text string 关键词文本
lang_code string 语言代码
country_code string 国家代码
count string 数量
cursor string 游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_briefs","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool news_fulltext

全文工具

全文工具

参数

名称 类型 必填 描述
keywords_text string 关键词文本
lang_code string 语言代码
country_code string 国家代码
count string 数量
cursor string 游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_fulltext","arguments":{"keywords_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'