
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 toolsPublic 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 contextsave_rfc- Save an RFC document to TXT formatset_title- Set the document titleset_abstract- Set the document abstractadd_section- Add a new sectionupdate_section- Update an existing sectiondelete_section- Delete a sectionlist_sections- List all sections in the documentset_copyright- Set copyright noticeset_authors- Set document authorsto_dict- Convert document to dictionary
Session-Based Workflow
Details
- Repository
- github.com/daedalus/mcp-rfc-editor
- Package
mcp-rfc-editor- Transport
- STDIO
- Registry
- MCP registry, active