daedalus avatar

Mcp Rfc Editor

daedalus/mcp-rfc-editor

This server wraps the rfc-editor Python library to let you manipulate RFC documents directly through MCP tools. You get session-based editing so you can download an RFC by ID, modify its title, abstract, authors, and sections, then save it back to TXT format without passing the full document around between calls. The workflow is straightforward: load or create a document to get a session ID, then use that ID to list sections, add new ones, update content, or set metadata like copyright notices. Reach for this when you need to programmatically edit RFC documents as part of a larger workflow, whether you're updating existing RFCs or drafting new ones from scratch.

tools
14
transport
STDIO
last updated
Mar 25, 2026

Tools

14 tools

Public tool metadata for what this MCP can expose to an agent.

load_rfcLoad and parse an RFC TXT file (creates session)

Load and parse an RFC TXT file (creates session)

No parameter schema in public metadata yet.

download_rfcDownload an RFC from rfc-editor by ID (creates session)

Download an RFC from rfc-editor by ID (creates session)

No parameter schema in public metadata yet.

create_rfcCreate a new empty RFC document (creates session)

Create a new empty RFC document (creates session)

No parameter schema in public metadata yet.

get_documentGet the current document from session context

Get the current document from session context

No parameter schema in public metadata yet.

save_rfcSave an RFC document to TXT format

Save an RFC document to TXT format

No parameter schema in public metadata yet.

set_titleSet the document title

Set the document title

No parameter schema in public metadata yet.

set_abstractSet the document abstract

Set the document abstract

No parameter schema in public metadata yet.

add_sectionAdd a new section

Add a new section

No parameter schema in public metadata yet.

update_sectionUpdate an existing section

Update an existing section

No parameter schema in public metadata yet.

delete_sectionDelete a section

Delete a section

No parameter schema in public metadata yet.

list_sectionsList all sections in the document

List all sections in the document

No parameter schema in public metadata yet.

set_copyrightSet copyright notice

Set copyright notice

No parameter schema in public metadata yet.

set_authorsSet document authors

Set document authors

No parameter schema in public metadata yet.

to_dictConvert document to dictionary

Convert document to dictionary

No parameter schema in public metadata yet.

Sponsors

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

pip install mcp-rfc-editor

Usage

CLI

python -m mcp_rfc_editor

Programmatic

from mcp_rfc_editor import main
main()

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


View the full README on GitHub

Details

Repository
github.com/daedalus/mcp-rfc-editor
Package
mcp-rfc-editor
Transport
STDIO
Registry
MCP registry, active

More from daedalus