Back to Directory/Developer Tools

io.github.daedalus/mcp-rfc-editor

An MCP server that provides rfc editing capabilities

Developer ToolsPythonv0.1.2

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

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/

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-rfc-editor

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-daedalus-mcp-rfc-editor": {
      "command": "uvx",
      "args": [
        "mcp-rfc-editor"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-rfc-editorpypi

Compatible MCP Clients

io.github.daedalus/mcp-rfc-editor works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More