mcpField
M
Mcp Quanmiao Hotnews

Mcp Quanmiao Hotnews

Local
bailian.aliyun.comSearch7Updated 76w ago

About Mcp Quanmiao Hotnews

Mcp Quanmiao Hotnews is a news aggregation MCP server built on Alibaba Cloud Bailian API. It retrieves current trending news and provides Node.js and Python implementations.

Key features

  1. 01Fetch current trending news
  2. 02Node.js and Python implementations
  3. 03stdio and SSE transport

Use cases

  1. 01Check trending news in a conversation
  2. 02Retrieve news through an MCP client

MCP support

The MCP server provides clients with a tool for fetching trending news, using either stdio or SSE transport.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"quanmiao-hotnews": {
"command": "npx",
"args": [
"-y",
"@iic-llm-solution/mcp-quanmiao-hotnews-node"
]
}
}
}
Run commandnpx -y @iic-llm-solution/mcp-quanmiao-hotnews-node

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@iic-llm-solution/mcp-quanmiao-hotnews-node

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
categorystringNoNews category (technology, entertainment, society, sports, education, automobiles, travel, culture); can be empty.
sizeanyNoNumber of news articles; minimum 1, maximum 100; can be empty.
keywordstringNoSearch keyword; can be empty.

Details

From the project README

全妙新闻播报MCP Server

项目简介

全妙新闻播报MCP Server 是一个基于阿里云百炼API的新闻聚合服务,专注于实时获取热点新闻资讯。

提供以下工具列表

img.png

项目结构
├── mcp-quanmiao-hotnews-node/    # Node.js 服务端实现
├── mcp-quanmiao-hotnews-python/  # Python 服务端实现
├── .env.example                  # 环境变量配置示例文件
└── .gitignore                    # Git 忽略文件配置
环境要求
  • Node.js 版本: >= 14.0.0
  • 环境变量配置(.env 文件)
前置要求
注册阿里云

链接:https://www.aliyun.com/

开通阿里云百炼

链接: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

使用RAM用户创建AKSK 使用RAM用户创建AKSK 创建完成RAM用户后获取AKSK

授权AK、SK访问 POP 接口

权限管理授予权限

权限管理授予权限

授予全妙AliyunAiMiaoBiFullAccess

将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 SERVER

在对话中启用MCP

启用 MCP SERVER

对话使用

开启对话

许可证

本项目采用 Apache License 2.0 许可证 详细信息请查看 LICENSE 文件。

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.