
Mcp Quanmiao Hotnews
全妙新闻播报MCP Server 是一个基于阿里云百炼API的新闻聚合服务,专注于实时获取热点新闻资讯。
What is Mcp Quanmiao Hotnews?
Mcp Quanmiao Hotnews is a news aggregation service based on Alibaba Cloud's Bailian API, focusing on real-time acquisition of hot news information.
How to use Mcp Quanmiao Hotnews?
To use the service, you need to set up an Alibaba Cloud account, configure environment variables, and run the Node.js or Python server implementation to fetch hot news.
Key features of Mcp Quanmiao Hotnews?
- Real-time news aggregation from various sources.
- Supports both Node.js and Python implementations.
- Easy integration with other applications through API.
Use cases of Mcp Quanmiao Hotnews?
- Fetching the latest news for a news application.
- Integrating hot news into chatbots or virtual assistants.
- Providing real-time updates for websites or mobile apps.
FAQ from Mcp Quanmiao Hotnews?
- Is Mcp Quanmiao Hotnews free to use?
Yes, it is currently free to use with limited features.
- What are the environment requirements?
Node.js version >= 14.0.0 is required for the Node.js implementation.
- How do I get the Alibaba Cloud Access Key?
You can create a RAM user in Alibaba Cloud to obtain the Access Key ID and Secret.
全妙新闻播报MCP Server
项目简介
全妙新闻播报MCP Server 是一个基于阿里云百炼API的新闻聚合服务,专注于实时获取热点新闻资讯。
提供以下工具列表
项目结构
├── mcp-quanmiao-hotnews-node/ # Node.js 服务端实现
├── mcp-quanmiao-hotnews-python/ # Python 服务端实现
├── .env.example # 环境变量配置示例文件
└── .gitignore # Git 忽略文件配置
环境要求
- Node.js 版本: >= 14.0.0
- 环境变量配置(.env 文件)
前置要求
注册阿里云
开通阿里云百炼
链接:https://bailian.console.aliyun.com/
开通 百炼轻应用:车机网络热点信息互动问答
目前限时免费:无需开通
链接:https://bailian.console.aliyun.com/?tab=app#/app/app-market/quanmiao/news-broadcast
获取百炼业务空间ID(workspace_id)
获取子账号 AK SK
创建RAM用户获取AK、SK
授权AK、SK访问 POP 接口
将RAM用户导入到百炼
开始运行
配置环境变量
ALIBABA_CLOUD_ACCESS_KEY_ID=<阿里云AccessKeyID>
ALIBABA_CLOUD_ACCESS_KEY_SECRET=<阿里云AccessKeySecret>
WORKSPACE_ID=<百炼业务空间ID>
# 传输方式可选:stdio、sse。默认stdio
QUANMIAO_MCP_TRANSPORT=sse
stdio模式[推荐]
npx -y @iic-llm-solution/mcp-quanmiao-hotnews-node
{
"mcpServers": {
"fetch_hot_news": {
"isActive": true,
"name": "fetch_hot_news",
"description": "获取热点新闻列表",
"command": "npx",
"args": [
"-y",
"@iic-llm-solution/mcp-quanmiao-hotnews-node"
],
"env": {
"ALIBABA_CLOUD_ACCESS_KEY_ID": "<阿里云AccessKeyID>",
"ALIBABA_CLOUD_ACCESS_KEY_SECRET": "<阿里云AccessKeySecret>",
"WORKSPACE_ID": "<百炼业务空间ID>"
}
}
}
}
sse模式
export QUANMIAO_MCP_TRANSPORT=sse && export QUANMIAO_MCP_PORT=8080 && npx -y @iic-llm-solution/mcp-quanmiao-hotnews-node
{
"mcpServers": {
"fetch_hot_news": {
"name": "fetch_hot_news",
"type": "sse",
"description": "获取热点新闻列表",
"baseUrl": "http://127.0.0.1:8080"
}
}
}
使用案例
在cherry studio中使用
配置MCP
在对话中启用MCP
对话使用
许可证
本项目采用 Apache License 2.0 许可证 详细信息请查看 LICENSE 文件。
