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-服务器-IETF

用于获取大型语言模型的 IETF 文档 (RFC) 的模型上下文协议服务器。

概述

该项目实现了一个模型上下文协议 (MCP)服务器,用于访问 IETF RFC 文档。它使大型语言模型能够通过标准化接口访问 RFC 规范。

主要特点:

  • 下载并缓存 RFC 索引和文档
  • 按标题中的关键字搜索 RFC
  • 通过分页支持访问 RFC 文档
  • 从文档中提取页码等元数据

安装

要求

  • Python 3.11 或更高版本
  • pyproject.toml中列出的依赖项

从源安装

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

用法

启动服务器

# Start the server mcp-server-ietf

或者与 MCP 检查器一起使用:

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

可用工具

连接到服务器后,可以使用以下工具:

list_docs_number

获取索引中可用的 RFC 文档总数。

get_doc

通过编号获取 RFC 文档,并支持分页。

参数:

  • number :RFC 编号(例如“1234”)
  • start_line :开始的行号(默认值:1)
  • max_lines :返回的最大行数(默认值:200)
search_rfc_by_keyword

通过标题中的关键字搜索 RFC 文档。

参数:

  • keyword :在 RFC 标题中查找的搜索词

发展

设置开发环境

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

使用 Makefile 运行检查器:

make dev

运行测试

# Run tests uv run pytest

或者使用 Makefile:

make test

缓存位置

默认情况下,服务器将 RFC 文档和索引缓存在~/.cache/ietf-doc-server中。

环境变量

  • LOG_LEVEL :设置日志级别(默认值:“DEBUG”)

执照

MIT 许可证 - 有关详细信息,请参阅LICENSE文件。

贡献

欢迎贡献代码!欢迎提交 Pull 请求。

-
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.

模型上下文协议服务器使大型语言模型能够搜索和访问具有分页支持的 IETF RFC 文档。

  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