MCP-Server-IETF

by tizee

Integrations

  • Provides integration with Git for cloning the repository during installation from source.

  • Enables accessing the source repository at github.com/tizee/mcp-server-ietf for installation and contributions.

  • Supports development workflows through a Makefile with commands for running the inspector and tests.

MCP-Server-IETF

A Model Context Protocol server for fetching IETF documents (RFCs) for Large Language Models.

Overview

This project implements a Model Context Protocol (MCP) server that provides access to IETF RFC documents. It enables Large Language Models to access RFC specifications through a standardized interface.

Key features:

  • Download and cache RFC index and documents
  • Search RFCs by keyword in titles
  • Access RFC documents with pagination support
  • Extract metadata like page numbers from documents

Installation

Requirements

  • Python 3.11 or higher
  • Dependencies as listed in pyproject.toml

Install from source

# Clone the repository git clone https://github.com/tizee/mcp-server-ietf cd mcp-server-ietf # Install with pip pip install -e .

Usage

Starting the server

# Start the server mcp-server-ietf

Or use it with the MCP inspector:

npx @modelcontextprotocol/inspector uv run mcp-server-ietf

Available Tools

When connected to the server, the following tools are available:

list_docs_number

Get the total number of RFC documents available in the index.

get_doc

Get an RFC document by its number with pagination support.

Parameters:

  • number: The RFC number (e.g., "1234")
  • start_line: The line number to start from (default: 1)
  • max_lines: Maximum number of lines to return (default: 200)
search_rfc_by_keyword

Search for RFC documents by keyword in their titles.

Parameters:

  • keyword: The search term to look for in RFC titles

Development

Setup Development Environment

# Install development dependencies uv install -e .[dev]

Run inspector with Makefile:

make dev

Running Tests

# Run tests uv run pytest

Or using the Makefile:

make test

Cache Location

By default, the server caches RFC documents and the index at ~/.cache/ietf-doc-server.

Environment Variables

  • LOG_LEVEL: Set the logging level (default: "DEBUG")

License

MIT License - See LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A Model Context Protocol server that enables Large Language Models to search and access IETF RFC documents with pagination support.

  1. Overview
    1. Installation
      1. Requirements
      2. Install from source
    2. Usage
      1. Starting the server
      2. Available Tools
    3. Development
      1. Setup Development Environment
      2. Running Tests
      3. Cache Location
      4. Environment Variables
    4. License
      1. Contributing

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables Large Language Models to seamlessly interact with ClickHouse databases, supporting resource listing, schema retrieval, and query execution.
          Last updated -
          1
          Python
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that allows Large Language Models to interact with Astra DB databases, providing tools for managing collections and records through natural language commands.
          Last updated -
          10
          115
          12
          TypeScript
          Apache 2.0
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables large language models to access the latest trending news headlines and detailed content across various categories including recommended, domestic, technology, and sports news.
          Last updated -
          Python
          • Apple
        • -
          security
          -
          license
          -
          quality
          An MCP server that enables programmatic access to IETF RFC documents, allowing users to fetch, search, and extract specific sections from RFCs.
          Last updated -
          2
          TypeScript
          Apache 2.0

        View all related MCP servers

        ID: d2semq6372