RSS MCP Server
Provides tools and resources for fetching and aggregating multiple RSS feeds, retrieving information about specific feeds, accessing individual feed data, and generating RSS content analysis or news briefings.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
RSS MCP Server
π Available Languages / Idiomas Disponibles
πΊπΈ English - English documentation
πͺπΈ EspaΓ±ol - DocumentaciΓ³n en espaΓ±ol
A comprehensive TypeScript-based RSS aggregation service that provides both a REST API and multiple Model Context Protocol (MCP) transport options in a unified server architecture. It fetches, parses, and serves RSS feeds with full AI assistant integration capabilities, all running on a single port for simplified deployment and usage.
Related MCP server: feed-reader-mcp
π Quick Start
Unified Server (Recommended)
Everything runs on one port for maximum simplicity:
# Start the unified server (REST API + MCP HTTP + MCP SSE)
docker-compose up -d
# All services available on port 3000:
# π REST API: http://localhost:3000/
# π API Docs: http://localhost:3000/api-docs
# π MCP HTTP: http://localhost:3000/mcp
# π‘ MCP SSE: http://localhost:3000/sse
# π¬ SSE Messages: http://localhost:3000/messages
# Test REST API
curl -X POST http://localhost:3000/Fetch_RSSfeed \
-H "Content-Type: application/json" \
-d '{"urls": ["https://feeds.bbci.co.uk/news/rss.xml", "https://rss.cnn.com/rss/edition.rss"]}'
# Test MCP HTTP with Inspector
npx @modelcontextprotocol/inspector
# Connect to: http://localhost:3000/mcpIndividual Transport Options (Advanced)
For specialized use cases, you can still run individual transports:
# Stdio transport - for CLI/subprocess integration
npm run mcp
# HTTP transport only - for web clients
npm run mcp:http:dev
# SSE transport only - for legacy streaming clients
npm run mcp:sse:devποΈ Unified Architecture
The unified server combines all protocols in a single Express.js application:
Protocol | Endpoint | Purpose | Status |
REST API |
| Traditional HTTP API, Swagger docs | β Active |
MCP HTTP |
| Modern MCP clients, web integration | β Active |
MCP SSE |
| Real-time streaming, legacy SSE clients | β Active |
Benefits of Unified Architecture
β Single Port: Only port 3000 to manage and expose
β Simplified Deployment: One container, one service
β Unified Monitoring: Single health endpoint for all protocols
β Better Resource Usage: Shared memory and process management
β Easier Development: One server to start, stop, and debug
β Protocol Independence: Each transport maintains full functionality
Unified Transport Endpoints:
REST API:
http://localhost:3000/(health, RSS endpoints)HTTP Transport:
http://localhost:3000/mcp(MCP over HTTP)SSE Transport:
http://localhost:3000/sse(connection) +http://localhost:3000/messages(messages)
Features
β TypeScript: Full type safety and modern JavaScript features
β Express.js: Fast, unopinionated web framework
β RSS Aggregation: Fetch and parse multiple RSS feeds
β Multiple MCP Transports: Stdio, HTTP (StreamableHTTP), SSE, and Multi-transport
β Health Monitoring: Basic and comprehensive health checks across all transports
β Input Validation: Comprehensive request validation with detailed errors
β OpenAPI 3.0: Complete API specification and documentation
β Swagger UI: Interactive API documentation and testing
β MCP Inspector Compatible: Works with web-based MCP testing tools
β Session Management: Advanced session handling for HTTP-based transports
β CORS Support: Web client compatibility
β Jest Testing: Comprehensive unit and integration tests (65 tests, 90%+ coverage)
β Docker Support: Production-ready containerization
β Security: Non-root containers, input sanitization
β AI Integration: MCP tools, resources, and prompts for AI assistants
π Integration Options
REST API Interface
Traditional REST API for direct HTTP integration with applications.
MCP Server Interface (Multiple Transports)
Model Context Protocol server with flexible transport options:
Stdio: For command-line tools and subprocess communication
StreamableHTTP: Modern HTTP-based transport with full MCP support
SSE: Server-Sent Events for real-time streaming (deprecated but supported)
Multi-Transport: Combined HTTP and SSE support on single server
π API Endpoints (REST)
Endpoint | Method | Description |
| GET | Basic health check |
| GET | Comprehensive health monitoring |
| POST | Aggregate multiple RSS feeds |
| GET | API documentation (redirect) |
| GET | Interactive Swagger UI |
| GET | OpenAPI 3.0 specification |
π MCP Transport Endpoints
Transport | Endpoint | Method | Purpose |
Stdio | N/A | stdin/stdout | Subprocess integration |
HTTP |
| POST | Web clients, MCP Inspector |
SSE |
| EventSource | SSE connection endpoint |
SSE |
| POST | SSE message endpoint |
π€ MCP Capabilities (AI Assistant)
Type | Name | Description |
Tools |
| Fetch and aggregate multiple RSS feeds |
| Get information about a specific RSS feed | |
Resources |
| Access individual RSS feed data |
| List of popular RSS feeds | |
Prompts |
| Analyze RSS content for insights |
| Generate news briefings from RSS feeds |
π Documentation
API Documentation
Interactive API Docs: http://localhost:3000/api-docs
OpenAPI Specification: http://localhost:3000/api-docs.json
MCP Transport Documentation
Transport Comparison: README-TRANSPORTS.md | EspaΓ±ol - Comprehensive guide to all transport options
HTTP Transport Guide: README-HTTP.md | EspaΓ±ol - StreamableHTTP transport setup and usage
MCP Setup Guide: MCP_SETUP.md - Original stdio transport setup
Additional Resources
Detailed Guide: OPENAPI_POSTMAN_GUIDE.md
Project Summary: PROJECT_SUMMARY.md
Installation
Local Development
Clone the repository
Install dependencies:
npm install
Docker Installation
Prerequisites: Docker and Docker Compose installed on your system.
Quick Start with Docker Compose (Recommended)
# Production deployment
docker-compose up -d
# Development with hot reload
npm run compose:devManual Docker Commands
# Build the Docker image
npm run docker:build
# Run the container
npm run docker:run
# Stop the container
npm run docker:stopπ§ MCP Configuration
Transport Selection Guide
Choose the transport that best fits your use case:
Stdio (
npm run mcp): Best for Claude Desktop and CLI integrationHTTP (unified server): Best for web applications and MCP Inspector
SSE (unified server): For legacy SSE clients requiring real-time streaming
Unified (
npm run unifiedor Docker): All transports on single port 3000 (recommended)
Client Configuration Examples
Claude Desktop (Stdio Transport)
{
"mcpServers": {
"rss-server": {
"command": "node",
"args": ["dist/mcp-server.js"],
"env": {
"NODE_ENV": "production"
}
}
}
}MCP Inspector (HTTP Transport)
{
"name": "RSS MCP Server (HTTP)",
"transport": "http",
"endpoint": "http://localhost:3000/mcp"
}Custom SSE Client
// SSE connection
const eventSource = new EventSource('http://localhost:3000/sse');
// Send messages
fetch('http://localhost:3000/messages', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ jsonrpc: '2.0', method: 'ping' })
});Usage
Local Development Mode
Run the server in development mode with TypeScript compilation:
npm run devProduction Mode
Build the TypeScript code:
npm run buildStart the server:
npm start
MCP Server Mode
Start the MCP server for AI assistant integration (choose your transport):
# Build all MCP transport variants
npm run build
# Stdio transport (original) - for CLI/subprocess integration
npm run mcp # Production (shortcut for mcp:stdio)
npm run mcp:stdio:dev # Development mode
# HTTP transport (recommended) - for web clients & MCP Inspector
npm run mcp:http # Production
npm run mcp:http:dev # Development mode
# SSE transport - for legacy real-time streaming clients
npm run mcp:sse # Production
npm run mcp:sse:dev # Development mode
# Multi-transport - supports both HTTP and SSE
npm run mcp:multi # Production
npm run mcp:multi:dev # Development modeDocker Usage
Production Deployment
# Start with Docker Compose
docker-compose up -d
# Check logs
npm run compose:logs
# Stop services
npm run compose:downDevelopment with Docker
# Start development container with hot reload
npm run compose:dev
# View logs
docker-compose logs -f rss-mcp-server-devDocker Container Management
# Build image
npm run docker:build
# Run container
npm run docker:run
# Stop and cleanup
npm run docker:stop
npm run docker:removeThe server will start on port 3000 (or the port specified in the PORT environment variable).
API Endpoints
Health Check
URL:
GET /Description: Basic server status check
Response:
{ "message": "RSS MCP Server is running", "status": "OK", "timestamp": "2025-09-21T11:57:05.000Z" }
Enhanced Health Check
URL:
GET /healthDescription: Comprehensive health and system information
Response:
{ "status": "healthy", "message": "RSS MCP Server is running successfully", "timestamp": "2025-09-21T11:57:05.000Z", "uptime": { "seconds": 3661, "formatted": "0d 1h 1m 1s" }, "memory": { "usage": { "rss": 45.2, "heapTotal": 20.1, "heapUsed": 15.3, "external": 2.1 }, "unit": "MB" }, "system": { "nodeVersion": "v18.17.0", "platform": "darwin", "architecture": "x64", "pid": 12345 }, "performance": { "responseTime": 1.23, "unit": "ms" }, "endpoints": { "available": [ "GET /", "GET /health", "POST /Fetch_RSSfeed" ] } }
Fetch RSS Feeds
URL:
POST /Fetch_RSSfeedDescription: Aggregates multiple RSS feeds and returns parsed articles
Request Body:
{ "urls": [ "https://feeds.bbci.co.uk/news/rss.xml", "https://rss.cnn.com/rss/edition.rss" ] }Success Response (200):
{ "success": true, "totalFeeds": 2, "totalArticles": 45, "feeds": [ { "url": "https://feeds.bbci.co.uk/news/rss.xml", "title": "BBC News", "description": "BBC News - Home", "articles": [ { "title": "Article Title", "description": "Article description", "link": "https://www.bbc.com/news/article", "pubDate": "2025-01-21T10:00:00.000Z", "author": "BBC News" } ] } ] }Error Responses:
400 Bad Request: Invalid request format or URLs
500 Internal Server Error: Server error
MCP Integration
Setup with AI Clients
Claude Desktop Configuration:
Add to your Claude Desktop config:
{ "mcpServers": { "rss-aggregator": { "command": "node", "args": ["/path/to/RSS-MCPserver/dist/mcp-server.js"] } } }Other MCP Clients:
Use the provided
mcp-config.jsonfile or configure manually using the server path.
Available MCP Tools
fetch_rss_feeds: Aggregate multiple RSS feeds
get_feed_info: Get information about a specific RSS feed
Available MCP Resources
rss-feed: Access individual RSS feed data via
rss://{feedUrl}available-feeds: List of popular RSS feeds
Available MCP Prompts
analyze_rss_content: Analyze RSS content for insights
news_briefing: Generate news briefings from RSS feeds
Example Usage
Using curl:
# Basic health check
curl http://localhost:3000/
# Enhanced health check
curl http://localhost:3000/health
# Fetch RSS feeds
curl -X POST http://localhost:3000/Fetch_RSSfeed \
-H "Content-Type: application/json" \
-d '{"urls": ["https://feeds.bbci.co.uk/news/rss.xml", "https://rss.cnn.com/rss/edition.rss"]}'Project Structure
```text
RSS-MCPserver/
βββ src/
β βββ index.ts # Legacy REST API server file
β βββ unified-server.ts # Main unified server (REST + MCP HTTP + SSE)
β βββ mcp-server.ts # MCP server implementation (stdio)
β βββ mcp-server-http.ts # HTTP transport MCP server (legacy)
β βββ mcp-server-sse.ts # SSE transport MCP server (legacy)
β βββ mcp-server-multi.ts # Multi-transport MCP server (legacy)
β βββ services/
β β βββ rss-service.ts # RSS aggregation service
β βββ types/
β βββ rss.types.ts # TypeScript type definitions
βββ tests/ # Test suites
βββ dist/ # Compiled JavaScript (after build)
βββ package.json # Dependencies and scripts
βββ tsconfig.json # TypeScript configuration
βββ mcp-config.json # MCP server configuration (stdio)
βββ mcp-config-http.json # HTTP transport configuration (legacy)
βββ mcp-config-sse.json # SSE transport configuration (legacy)
βββ mcp-config-multi.json # Multi-transport configuration (legacy)
βββ MCP_SETUP.md # MCP setup documentation (stdio)
βββ README-HTTP.md # HTTP transport guide
βββ README-TRANSPORTS.md # Transport comparison guide
βββ Dockerfile # Production Docker image (unified server)
βββ Dockerfile.dev # Development Docker image
βββ docker-compose.yml # Docker Compose configuration (single port)
βββ .dockerignore # Docker ignore patterns
βββ README.md # This fileDocker Information
Container Features
Base Image: Node.js 18 Alpine (lightweight)
Security: Non-root user execution
Health Checks: Built-in health monitoring
Multi-stage Build: Optimized production image size
Port: 3000 (configurable via PORT environment variable)
Available Docker Scripts
# Docker Compose (Recommended)
npm run compose:up # Start production services
npm run compose:down # Stop all services
npm run compose:logs # View logs
npm run compose:dev # Start development mode
npm run compose:restart # Restart services
# Manual Docker Commands
npm run docker:build # Build image
npm run docker:run # Run container
npm run docker:stop # Stop container
npm run docker:remove # Remove container
npm run docker:clean # Remove imageEnvironment Variables
PORT: Server port (default: 3000)NODE_ENV: Environment mode (development/production)
Testing
Run the comprehensive test suite:
# Run all tests
npm test
# Run tests with coverage
npm run test:coverage
# Run tests in watch mode
npm run test:watchTest Coverage
The project includes 65+ tests covering:
β Health endpoints
β RSS aggregation functionality
β MCP server implementation
β Integration tests
β Error handling
β Input validation
Development
MCP Development Workflow
Make changes to the MCP server code
Build the MCP server:
npm run mcp:buildTest with development mode:
npm run mcp:devRun tests to validate:
npm test
REST API Development Workflow
Make changes to the REST API code
Start development server:
npm run devTest endpoints using the Swagger UI or curl
Run tests to validate:
npm test
Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Ensure all tests pass
Submit a pull request
License
This project is licensed under the MIT License. See the LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
RSS & Atom feed manager with full-text search, AI curation, and remote MCP endpoint.
Managed cloud RSS, Atom & JSON feed reader with a remote Model Context Protocol (MCP) endpoint. Zero server setup required β enables AI agents like Claude to instantly subscribe to feeds, search full-text articles, extract readable content, and access curated AI editions ("Your Newspaper") over secure streamable HTTP.
Fetch any RSS/Atom feed as clean JSON or extract article text from any URL. Built for AI agents.
Track and browse RSS feeds with ease. Fetch the latest entries from any feed URL and extract fullβ¦
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI to manage RSS subscriptions, fetch and summarize news, and organize results into tools like Notion.93MIT
- AlicenseAqualityDmaintenanceFetches and reads RSS/Atom feeds, enabling MCP clients to pull latest items from blogs, news sites, and release feeds and build digests.237 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables global news retrieval across multiple countries and categories (world, country, technology, science) via RSS feeds, exposing reusable MCP tools for fetching and searching news articles with no API keys required.-
- AlicenseAqualityDmaintenanceMCP server for RSS aggregation and LLM summarization, allowing users to fetch latest articles, search archives, and generate topic-specific digests via natural language.7MIT