io.github.daedalus/mcp-rfc-editor
An MCP server that provides rfc editing capabilities
ماذا يمكنك أن تفعل مع io.github.daedalus/mcp-rfc-editor؟
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 section
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
mcp-rfc-editorclaude mcp add mcp-rfc-editor -- uvx mcp-rfc-editor==0.1.2
{
"mcpServers": {
"mcp-rfc-editor": {
"command": "uvx",
"args": [
"mcp-rfc-editor==0.1.2"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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
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/
الأسئلة الشائعة
ما هو io.github.daedalus/mcp-rfc-editor؟
An MCP server that provides rfc editing capabilities
كيف أثبّت io.github.daedalus/mcp-rfc-editor؟
يعمل على جهازك. في Claude Code: claude mcp add mcp-rfc-editor -- uvx mcp-rfc-editor==0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.daedalus/mcp-rfc-editor إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.daedalus/mcp-rfc-editor مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.daedalus/mcp-rfc-editor؟
ينشره daedalus. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.