Skip to main content
Glama

MCP RSS

MCP RSS ist ein Model Context Protocol (MCP)-Server für die Interaktion mit RSS-Feeds.

Merkmale

  • Analysieren Sie OPML-Dateien, um RSS-Feed-Abonnements zu importieren

  • Artikel automatisch aus RSS-Feeds abrufen und aktualisieren

  • RSS-Inhalte über die MCP-API verfügbar machen

  • Artikel als Favoriten markieren

  • Artikel nach Quelle und Status filtern

Related MCP server: Feedbagel MCP Server

Installation

Voraussetzungen

  • Node.js (v14 oder höher)

  • MySQL-Datenbank

MySQL einrichten

$ docker run -itd --name mysql-test -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql

MCP installieren

Dieses MCP verwendet stdio für die Kommunikation. Geben Sie im Befehl npx mcp_rss ein, geben Sie die Konfiguration ein, die in der Umgebungsvariable angepasst werden muss, und verwenden Sie mindestens Ihre eigene opml-Datei.

Verwendung in Claude Desktop

{
  "key": "rss",
  "command": "npx",
  "args": [
    "mcp_rss"
  ],
  "env": {
    "OPML_FILE_PATH": "/Users/guyanhua/feeds.opml"
  }
}

Konfiguration

Legen Sie die folgenden Umgebungsvariablen fest, um MCP RSS zu konfigurieren:

Konfigurationsoptionen

Option

Beschreibung

Standardwert

DB_HOST

Datenbankhost

lokaler Host

DB_PORT

Datenbankport

3306

DB_USERNAME

Datenbankbenutzername

Wurzel

DB_PASSWORD

Datenbankkennwort

123456

DB_DATABASE

Datenbankname

mcp_rss

OPML_FILE_PATH

Pfad zu Ihrer OPML-Datei mit RSS-Feeds

"./feeds.opml"

RSS_UPDATE_INTERVAL

Intervall zum Abrufen von RSS-Updates (in Minuten)

1

MCP-API-Referenz

Der MCP RSS-Server stellt die folgenden API-Methoden bereit:

Inhalt abrufen

Erhalten Sie Artikel aus abonnierten RSS-Feeds.

Parameter:

Parameter

Typ

Beschreibung

Erforderlich

Status

Schnur

Filtern nach Artikelstatus („normal“ oder „Favorit“)

NEIN

Quelle

Schnur

Filtern nach Quelle (Feedtitel)

NEIN

Limit

Nummer

Maximale Anzahl zurückzugebender Artikel

Nein (Standard: 10)

Antwort:

{
  "articles": [
    {
      "id": 1,
      "title": "Article Title",
      "content": "Article content...",
      "link": "https://example.com/article",
      "pubDate": "2023-01-01T12:00:00Z",
      "fetchDate": "2023-01-01T12:30:00Z",
      "status": "normal",
      "feedTitle": "Example Feed",
      "feedCategory": "Technology"
    }
  ],
  "success": true
}

Quellen abrufen

Holen Sie sich alle verfügbaren RSS-Feed-Quellen.

Parameter: Keine

Antwort:

{
  "sources": [
    {
      "id": 1,
      "title": "Example Feed",
      "category": "Technology"
    }
  ],
  "success": true
}

set_tag

Legen Sie den Status eines Artikels fest (normal oder Favorit).

Parameter:

Parameter

Typ

Beschreibung

Erforderlich

Status

Schnur

Artikelstatus („normal“ oder „Favorit“)

Ja

Artikel-ID

Nummer

ID des zu aktualisierenden Artikels

Ja

Antwort:

{
  "success": true,
  "message": "Article 1 status has been updated to favorite"
}

Lizenz

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Model Context Protocol server for the Feedbagel API. Enables agents to follow RSS feeds, manage webhook subscriptions, and read entries on a user's behalf.
    17
    15 npm
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A Model Context Protocol server for RSSHub that enables AI assistants to access and query various RSS feeds, manage subscriptions, and search routes through natural language.
    5
    14 npm
    9
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server for managing and querying RSS/news feeds, enabling real-time fetching, searching, and retrieval of feed items.
    5
    22 npm
    1
    MIT