news-server
Project description
News MCP Server
基于MCP协议的新闻获取服务器,支持热点新闻获取和新闻搜索功能。
功能特性
- 🔥 获取热点新闻(多个分类)
- 🔍 搜索新闻
- 🌐 RESTful API 接口
- 🐳 Docker 容器化部署
- 📊 健康检查
API接口
健康检查
GET /health
获取新闻分类
GET /news/categories
获取热点新闻
GET /news/hot?category=general&limit=10
搜索新闻
GET /news/search?keyword=科技&limit=10
MCP接口
/mcp
本地测试
- 安装依赖:
pip install -r requirements.txt
运行测试:
bash
python src/mcp_server.py
启动服务器:
bash
python app.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppsky_new_server-1.5.0-py3-none-any.whl.
File metadata
- Download URL: ppsky_new_server-1.5.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
078e51b8bd6e8ce680d8822809dccfb5a466be42cc94a2fc97e1a392e2b70859
|
|
| MD5 |
e50ad363828f989f57b997272f1cfa2c
|
|
| BLAKE2b-256 |
daa649095d989d07abf7f95b0e5e78e611d52ec6adc3906941f2e5abe1dc4603
|