News Feed Python Server
Provide a data feed of Blockbeats RSS to large language models, enabling them to answer user queries about news and information. Serve as an MCP server exposing news content via HTTP for seamless integration with LLM applications. Facilitate easy testing and interaction through a web-based MCP inspector UI.
Ask AI about News Feed Python Server
Powered by Claude · Grounded in docs
I know everything about News Feed Python Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
News feed (python version)
使用fastmcp工具,进行mcp server的开发,提供 blockbeats rss的data feed给大模型,以完成用户对于咨询查询的回答。
启动
安装依赖
uv pip install -r requirements.txt
启动http 监听
uv run ./news-feed.py
Testing
可以使用mcp-inspector提供的ui来测试mcp的功能:
npx @modelcontextprotocol/inspector
启动后,终端会print出可以访问的http link,在浏览器中访问该link。
然后可以启动mcp server:
uv run ./news-feed.py
server此时可通过 http 被链接:http://127.0.0.1:8000/mcp/,你可以在上一步中的ui中通过 streamable HTTP的方式去连接到mcp 并进行测试。
Future Work
- ASGI Integration
