Feedport

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.1.0更新于 Oct 29, 2026

Fetch and parse RSS or Atom feeds from a URL.

概览

AI 生成的概览

从网址抓取并解析 RSS 2.0 或 Atom 订阅源,返回频道信息与整理好的条目列表,而无需处理原始 XML。

可以做什么
  • 抓取完整订阅源:标题、链接、描述及全部条目
  • 仅抓取条目列表,可用 limit 限制数量
  • 校验某个地址是否为可用订阅源,并返回格式与条目数
  • 解码 CDATA 与 XML 实体,并把 Atom 条目统一成相同的条目结构
适用场景
适合让助手阅读新闻或博客订阅源、汇总最新文章,或在依赖某个地址前先确认它确实是订阅源。它是单一用途的读取工具,并非通用网页抓取器。
运行要求
以本地 stdio 进程运行,可通过 npx 使用 npm 包,或使用容器镜像;MCP 服务器需以 mcp 子命令启动。未声明任何账号、API 密钥或环境变量。需要能访问所给订阅源网址的网络。
安装前请注意
助手可让本机抓取请求中给出的任意网址,请只指向可信的订阅源。订阅源内容是第三方文本,可能包含误导性或注入式指令。不涉及凭据或写入操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Feedport,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

feedport

feedport reads web feeds for you. Give it the address of an RSS 2.0 or Atom document and it hands back the feed's title, link and description plus a clean list of its items — titles, links, descriptions, dates and ids — without you having to look at raw XML. It can also check an address first and tell you whether what lives there really is a feed.

Install

bash
npx @reneturcios/feedport validate-feed https://example.com/feed.xml

Or run the container image:

bash
docker run -i ghcr.io/cloudcorprecords/feedport

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

All commands print JSON.

bash
# Whole feed: channel metadata plus itemsfeedport fetch-feed https://example.com/feed.xml
# Just the items, at most five of themfeedport fetch-feed-items https://example.com/feed.xml --limit 5
# Is this address actually a feed?feedport validate-feed https://example.com/feed.xml# {"valid": true, "format": "rss", "item_count": 12}
feedport --version

Exit codes: 0 on success, 1 when a feed cannot be fetched or parsed (the error names the problem), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

bash
npx -y @reneturcios/feedport mcp

MCP client configuration:

json
{  "mcpServers": {    "feedport": {      "command": "npx",      "args": ["-y", "@reneturcios/feedport", "mcp"]    }  }}

Tools

ToolInputWhat it returns
fetch_feedurl (string, required), limit (integer, optional)The feed's title, link and description, plus items — each with title, link, and description, pubDate and guid when the document carries them.
fetch_feed_itemsurl (string, required), limit (integer, optional)Only the item list, in the same shape as fetch_feed's items.
validate_feedurl (string, required)valid, the detected format (rss, atom or unknown), the item_count, and an error string when the address is not a usable feed.

RSS 2.0 items come from <item> elements and Atom entries from <entry> elements; for Atom, an entry's summary (or content) becomes its description, its published (or updated) date becomes pubDate, and its id becomes guid. CDATA sections and XML entities are decoded.

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # node test runner over test/*.test.ts, no networknpm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

来源:README.md,提交 e4cd3ce

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.0最新Oct 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分