mcp-rfc-editor
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-rfc-editor Create a new RFC draft titled 'Modern Auth' and add an Introduction section"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-editorRelated MCP server: RFC MCP Server
Usage
CLI
python -m mcp_rfc_editorProgrammatic
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
The server maintains session context so you don't need to pass the full document object on every call:
# 1. Download an RFC - returns Session ID
result = 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 persisted
set_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
pip install -e ".[dev]"Testing
pytest tests/Linting
black src/ tests/
ruff check src/ tests/Available Tools
29 toolsadd_sectionC
Add a new section to an RFC document
Inputs: document (required), number (required), title (required), content (required).
create_rfcC
Create a new empty RFC document
Inputs: rfc_number, title.
delete_sectionB
Delete a section from an RFC document
Inputs: document (required), number (required).
download_rfcB
Download an RFC by number from rfc-editor and parse it
Inputs: rfc_id (required), filepath.
get_abstractC
Get the abstract of an RFC document
Inputs: document (required).
get_acknowledgementsC
Get the acknowledgements of an RFC document
Inputs: document (required).
get_authors_addressB
Get the authors address section of an RFC document
Inputs: document (required).
get_contributorsC
Get the contributors of an RFC document
Inputs: document (required).
get_copyrightA
Get the copyright notice of an RFC document
Inputs: document (required).
get_documentA
Get the current active RFC document from session context
Inputs: no named parameters.
get_section_by_titleC
Get a section by its title
Inputs: document (required), title (required).
get_status_of_memoB
Get the status of this memo section
Inputs: document (required).
get_titleB
Get the title of an RFC document
Inputs: document (required).
get_tocC
Get the table of contents
Inputs: document (required).
list_sectionsB
List all sections in an RFC document
Inputs: document (required).
load_rfcC
Load an RFC TXT file and parse its sections
Inputs: filepath (required).
save_rfcC
Save an RFC document to a TXT file
Inputs: filepath (required), document (required).
set_abstractB
Set the abstract of an RFC document
Inputs: document (required), abstract (required).
set_acknowledgementsC
Set the acknowledgements of an RFC document
Inputs: document (required), content (required).
set_authorsC
Set the authors of an RFC document
Inputs: document (required), authors (required).
set_authors_addressC
Set the authors address section of an RFC document
Inputs: document (required), address (required).
set_contributorsC
Set the contributors of an RFC document
Inputs: document (required), content (required).
set_copyrightB
Set the copyright notice of an RFC document
Inputs: document (required), year (required), holders (required).
set_section_by_titleC
Update a section by its title
Inputs: document (required), title (required), content (required).
set_status_of_memoC
Set the status of this memo section
Inputs: document (required), status (required).
set_titleC
Set the title of an RFC document
Inputs: document (required), title (required).
set_tocC
Set the table of contents
Inputs: document (required), toc (required).
to_dictB
Convert an RFC document to a dictionary
Inputs: document (required).
update_sectionB
Update an existing section in an RFC document
Inputs: document (required), number (required), title, content.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 29 tools
Most tools have clearly distinct purposes, with getters/setters for specific fields and section operations. However, 'update_section' and 'set_section_by_title' are ambiguous as both update a section, and the distinction between them is unclear from descriptions.
The naming pattern is largely verb_noun with 'get_' and 'set_' for attributes, and 'add_', 'delete_', 'update_', 'list_' for sections. Deviations include 'to_dict' and 'set_section_by_title' which is a longer form, but overall consistent.
29 tools is relatively high for a document editor, with individual getters/setters for each field. While this provides clarity, it may be excessive; a more streamlined set with fewer, more generic tools could suffice.
The tool set covers core RFC editing operations: download, load, save, create, metadata fields, and section management. Minor gaps include lack of tools for section reordering or retrieving full document text directly.
Maintenance
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP server for manus documentation, generated by doc2mcp.
MCP server for opencode documentation, generated by doc2mcp.
MCP server for developer documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Python-based text editor server built with FastMCP that provides tools for file operations. This server enables reading, editing, and managing text files through a standardized API following a multi-step process.1414MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables programmatic access to IETF RFC documents, allowing users to fetch, search, and extract specific sections from RFCs.3139 npm20Apache 2.0
- AlicenseBqualityDmaintenanceAn MCP server for obtaining, parsing and reading RFC documents from the ietf.org website, providing programmatic interactive tools.32Apache 2.0
- AlicenseBqualityBmaintenanceA Model Context Protocol (MCP) server for structured understanding of RFC documents.713 npm4MIT