Back to Browse

Freshrss MCP Server

by Ni C
Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for FreshRSS, the self-hosted RSS feed aggregator

About

MCP server for FreshRSS, the self-hosted RSS feed aggregator

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (3 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (7/7 approved).

5 files analyzed ยท 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

What You'll Need

Set these up before or after installing:

Root URL of the FreshRSS instance, e.g. https://rss.example.comOptional

Environment variable: FRESHRSS_URL

FreshRSS user nameOptional

Environment variable: FRESHRSS_USER

API password from Settings -> Profile -> API management, not the web login passwordRequired

Environment variable: FRESHRSS_API_PASSWORD

Set to true to register only the read toolsOptional

Environment variable: FRESHRSS_READ_ONLY

Set to true to accept a self-signed certificate for this connection onlyOptional

Environment variable: FRESHRSS_INSECURE_TLS

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-ni-c-freshrss-mcp": {
      "env": {
        "FRESHRSS_URL": "your-freshrss-url-here",
        "FRESHRSS_USER": "your-freshrss-user-here",
        "FRESHRSS_READ_ONLY": "your-freshrss-read-only-here",
        "FRESHRSS_API_PASSWORD": "your-freshrss-api-password-here",
        "FRESHRSS_INSECURE_TLS": "your-freshrss-insecure-tls-here"
      },
      "args": [
        "-y",
        "@ni-c/freshrss-mcp"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

freshrss-mcp

CI npm version npm downloads node license container docs

A Model Context Protocol server for FreshRSS, the self-hosted RSS and Atom feed aggregator.

It speaks the Google Reader compatible API that FreshRSS exposes at /api/greader.php, and it hides that API's quirks behind tool arguments an assistant can actually use: numeric feed ids, category and label names, ISO dates and decimal article ids instead of user/-/state/com.google/โ€ฆ stream identifiers and hexadecimal item tags.

๐Ÿ“– Full documentation: freshrss-mcp.ni-c.de

Architecture: an MCP client speaks stdio to freshrss-mcp, which calls the Google Reader compatible API of FreshRSS over HTTPS with a GoogleLogin auth token

Demo: listing the tools, the subscribed feeds and the newest article through the MCP Inspector CLI

Requirements

  • Node.js 22 or newer
  • A FreshRSS instance (developed against 1.29) with
    • the API enabled: Settings โ†’ Authentication โ†’ "Allow API access"
    • an API password set for the user: Settings โ†’ Profile โ†’ API management. This is a separate password from the web login.

Configuration

VariableRequiredDescription
FRESHRSS_URLyesRoot URL of the instance, e.g. https://rss.example.com. The API path /api/greader.php is appended automatically.
FRESHRSS_USERyesFreshRSS user name.
FRESHRSS_API_PASSWORDyesThe API password from the profile page, not the web login password.
FRESHRSS_READ_ONLYnotrue registers only the read tools.
FRESHRSS_INSECURE_TLSnotrue accepts self-signed certificates for this connection only.

The server starts without credentials so its tools stay listable; every call then fails with these setup instructions.

Claude Code

claude mcp add freshrss -- npx -y @ni-c/freshrss-mcp

Claude Desktop

{
  "mcpServers": {
    "freshrss": {
      "command": "npx",
      "args": ["-y", "@ni-c/freshrss-mcp"],
      "env": {
        "FRESHRSS_URL": "https://rss.example.com",
        "FRESHRSS_USER": "alice",
        "FRESHRSS_API_PASSWORD": "โ€ฆ"
      }
    }
  }
}

Codex

[mcp_servers.freshrss]
command = "npx"
args = ["-y", "@ni-c/freshrss-mcp"]
env = { FRESHRSS_URL = "https://rss.example.com", FRESHRSS_USER = "alice", FRESHRSS_API_PASSWORD = "โ€ฆ" }

Tools

Reading

ToolDescription
get_user_infoThe authenticated account โ€” a quick credential check.
list_feedsEvery subscription with its category and unread count.
list_categoriesCategories (folders of feeds) and user labels (tags on articles).
get_unread_countsTotal and per-feed/category unread counts, sorted.
list_articlesArticles of a feed, category, label or built-in stream, with excerpts or bounded full text.
get_articlesFull text of specific articles by id.
list_article_idsIds only โ€” the cheap way to collect a set for mark_articles.
export_opmlAll subscriptions as an OPML document.

Writing

Not registered when FRESHRSS_READ_ONLY=true.

ToolDescriptionConfirmation
mark_articlesSet read state, star and labels on specific articles.โ€”
mark_all_as_readMark a whole feed, category, label or stream as read.yes
subscribe_feedSubscribe to a feed or website URL.โ€”
update_feedRename a feed or move it to another category.โ€”
unsubscribe_feedDelete a feed and all of its stored articles.yes
rename_category_or_labelRename a category or a user label.โ€”
delete_category_or_labelDelete a category or a user label.yes
import_opmlSubscribe to every feed in an OPML document.yes

No search

FreshRSS does not offer full-text search over its API โ€” the Google Reader endpoints filter by stream, read state and date only. list_articles therefore has no query parameter; narrow the result with feed_id/category and since/until and filter the returned articles yourself.

Safety

  • Article text is untrusted input. Everything this server returns from FreshRSS was written by a third party on the internet, so responses that carry article text, titles or feed names are explicitly marked as data, never as instructions.
  • Destructive tools are two-step. They return a single-use confirmation token bound to the exact target; the second call has to carry it. A plain boolean could be set on the very first call, or be talked into it by text hidden in a feed. The confirmation messages deliberately never quote titles or names coming from the API.
  • Response budgets. FreshRSS returns up to 500 000 characters of HTML per article. Article text is converted to plain text, capped per article and against a per-response budget, and is opt-in in listings.
  • Credentials are read once, removed from process.env afterwards and never written to disk. Requests never follow redirects, which would resend the authorization header to another host, and relaxed TLS validation is scoped to this connection instead of the whole process.
  • Feed URLs are redacted. FreshRSS stores HTTP-auth feeds as https://user:password@host/feed. The userinfo part is stripped before a feed URL reaches a tool result or the OPML export, so list_feeds cannot print the password of a paid or private feed into the transcript.
  • subscribe_feed refuses internal targets. FreshRSS fetches the URL server-side, which makes the tool an SSRF primitive reachable from text inside an article. Loopback and link-local addresses โ€” including cloud metadata endpoints โ€” are rejected. Private LAN addresses stay allowed, because self-hosted setups legitimately subscribe to feeds on their own network.
  • import_opml refuses a <!DOCTYPE>. No XML is parsed in this process, but the document is handed to FreshRSS, where a document type declaration is the carrier for entity-expansion and external-entity attacks. OPML never needs one.
  • FRESHRSS_READ_ONLY=true does not register the write tools at all rather than refusing them at call time.

Which tools are gated by a confirmation token: mark_all_as_read, unsubscribe_feed, delete_category_or_label and import_opml. mark_articles is deliberately not gated โ€” the caller names each of at most 100 articles explicitly and every field can be set back โ€” but it is declared destructive, so a client may still prompt for it.

Container

docker run --rm -i \
  -e FRESHRSS_URL=https://rss.example.com \
  -e FRESHRSS_USER=alice \
  -e FRESHRSS_API_PASSWORD=... \
  ghcr.io/ni-c/freshrss-mcp:latest

The image is published for linux/amd64 and linux/arm64 with an SBOM and build provenance. It runs as the unprivileged node user and carries no npm, so the only thing in it is Node, the runtime dependencies and dist/.

Development

npm install
npm run lint && npm run build && npm test
npm run test:coverage

See CONTRIBUTING.md for a throwaway FreshRSS to develop against. The full documentation lives at freshrss-mcp.ni-c.de.

Releasing

  1. Move the [Unreleased] entries in CHANGELOG.md under the new version and bump version in package.json.
  2. npm run lint && npm run build && npm run test:coverage.
  3. Commit, then tag: git tag -s vX.Y.Z -m vX.Y.Z && git push origin main vX.Y.Z.

The tag triggers release.yml, which verifies the tag matches package.json, publishes to npm via Trusted Publishing with provenance (no token involved), creates the GitHub release from the CHANGELOG section, and publishes the entry to the MCP Registry. If only the registry step fails, fix it on main and re-run mcp-registry.yml by hand โ€” never re-run the tagged job, which would check out the old tree.

License

MIT

Reviews

No reviews yet

Be the first to review this server!

Freshrss MCP Server - MCP server for FreshRSS, the self-hosted RSS feed aggregator | MCP Marketplace