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 分

    請在儲存庫或註冊中心條目中宣告授權條款。