Mcp Rfc Editor

io.github.daedalus由 GitHub 账号 daedalus 发布v0.1.2更新于 Oct 24, 2026

An MCP server that provides rfc editing capabilities

已验证STDIO仅桌面文件与存储开发者工具

概览

AI 生成的概览

以 Python 包在本地运行,让助手加载、编辑并保存 RFC 纯文本文档。

可以做什么
加载本地 RFC TXT 文件、按编号下载 RFC,或创建空白 RFC 文档以开启会话。读取当前会话中的文档内容与章节列表。设置标题、摘要、版权声明与作者。新增、更新或删除章节。将文档保存为 TXT 格式或转换为字典结构。
适用场景
当你需要助手协助撰写、修改或整理 RFC 纯文本文件,并希望逐段编辑章节、标题、摘要与作者信息时使用。
运行要求
需在本机安装 Python 3.11 或更高版本,并用 pip 安装 mcp-rfc-editor 包;通过标准输入输出启动,无需账号或 API 密钥。下载 RFC 时需要网络连接。
安装前请注意
可新增、修改和删除章节,并覆盖保存的 RFC 文件,操作前应确认目标文件。下载功能会连接外部 RFC 网站。会话状态保存在服务器内存中,重启后可能丢失。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-rfc-editor

mcp-name: io.github.daedalus/mcp-rfc-editor

An MCP (Model Context Protocol) server for editing RFC TXT documents using the rfc-editor Python library.

Installation

bash
pip install mcp-rfc-editor

Usage

CLI

bash
python -m mcp_rfc_editor

Programmatic

python
from mcp_rfc_editor import mainmain()

MCP Tools

The server exposes the following tools:

  • load_rfc - Load and parse an RFC TXT file (creates session)
  • download_rfc - Download an RFC from rfc-editor by ID (creates session)
  • create_rfc - Create a new empty RFC document (creates session)
  • get_document - Get the current document from session context
  • save_rfc - Save an RFC document to TXT format
  • set_title - Set the document title
  • set_abstract - Set the document abstract
  • add_section - Add a new section
  • update_section - Update an existing section
  • delete_section - Delete a section
  • list_sections - List all sections in the document
  • set_copyright - Set copyright notice
  • set_authors - Set document authors
  • to_dict - Convert document to dictionary

Session-Based Workflow

The server maintains session context so you don't need to pass the full document object on every call:

python
# 1. Download an RFC - returns Session IDresult = download_rfc(rfc_id="791")# Returns: {document..., "Session ID": "abc-123"}
# 2. Use session ID to get title (no document needed)get_title(session_id="abc-123")
# 3. Modify and changes are persistedset_title(session_id="abc-123", title="New Title")

Alternatively, you can always pass the full document object directly (legacy mode).

Development

Requirements

  • Python 3.11+
  • mcp
  • rfc-editor

Setup

bash
pip install -e ".[dev]"

Testing

bash
pytest tests/

Linting

bash
black src/ tests/ruff check src/ tests/

来源:README.md,提交 65aee5d

工具

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

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。