MCP.so
登录

MCP Reddit Digest Server

@omendra02

关于 MCP Reddit Digest Server

A FastAPI-based MCP server tool that fetches and summarizes top Reddit posts using Azure OpenAI. It generates a daily PDF digest and uploads it to Slack, with support for topic-based subreddits and scheduled jobs.

基本信息

分类

其他

许可证

Apache-2.0

运行时

python

传输方式

stdio

发布者

omendra02

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Reddit Digest Server?

MCP Reddit Digest Server is a FastAPI-based Model Context Protocol server that automatically fetches top Reddit posts, generates AI‑powered summaries using Azure OpenAI, formats them into PDF reports, and delivers the digest directly to Slack. It is designed for teams who want to stay informed about discussions in subreddits related to AI, cybersecurity, programming, or any custom topic.

How to use MCP Reddit Digest Server?

Set up the required environment variables (Reddit API, Azure OpenAI, Slack bot token) in a .env file, install dependencies, and start the server with uvicorn mcp_server.main:app --reload. Use the POST /mcp/reddit endpoint to get a digest by topic (e.g., “ai”) or POST /mcp/reddit/subreddit to specify custom subreddits. The system can also be configured to run on a daily or custom schedule by editing scheduler.py.

Key features of MCP Reddit Digest Server

  • Smart Reddit Monitoring: fetch top posts by topic or custom subreddits.
  • AI‑Powered Summaries: condense Reddit discussions using Azure OpenAI.
  • Clean Markdown Formatting: generates well‑structured digests.
  • Professional PDF Reports: converts markdown to styled PDFs with custom CSS.
  • Slack Integration: automatically delivers digests to team Slack channels.
  • Scheduled Delivery: configure daily or custom automated digests.
  • Modular Architecture: easily extend with new features or integrations.

Use cases of MCP Reddit Digest Server

  • Send a daily roundup of top Reddit posts on AI to your team’s Slack channel.
  • Generate a PDF report of discussions from custom subreddits (e.g., MachineLearning, artificial).
  • Monitor cybersecurity or programming news without manually browsing Reddit.

FAQ from MCP Reddit Digest Server

What are the prerequisites to run the server?

Python 3.8+, Reddit API credentials, Azure OpenAI API access, and a Slack workspace with a bot integration are required.

How do I configure the environment variables?

Create a .env file with variables for Reddit (CLIENT_ID, CLIENT_SECRET, USERNAME, PASSWORD, USER_AGENT), Azure OpenAI (KEY, API_VERSION, ENDPOINT, DEPLOYMENT), and Slack (BOT_TOKEN, CHANNEL_ID).

How can I customize the subreddits or topics?

Use the POST /mcp/reddit/subreddit endpoint with a comma‑separated list of subreddit names, or edit the TOPIC_SUBREDDITS dictionary in reddit_fetcher.py to add new topic‑to‑subreddit mappings.

Can I schedule automatic digests?

Yes. Edit scheduler.py to adjust the cron job (e.g., daily at 9 AM) or set an interval schedule for testing.

Which API endpoints are available?

GET / for health check, POST /mcp/hello for testing connectivity, POST /mcp/reddit for topic‑based digests, and POST /mcp/reddit/subreddit for custom subreddit digests.

评论

其他 分类下的更多 MCP 服务器