KM

kadykov/mcp-openapi-schema-explorer

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

76 stars 14 forks 품질 86 트렌드 20MIT

kadykov/mcp-openapi-schema-explorer는 MCP 서버 후보자가 https://github.com/kadykov/mcp-openapi-schema-explorer.에서 가져온

개요

kadykov/mcp-openapi-schema-explorer는 MCP 서버 후보자가 https://github.com/kadykov/mcp-openapi-schema-explorer.에서 가져온

개요(AI 번역)

MCP (Model Context Protocol) 서버는 OpenAPI (v3.0) 및 Swagger (v2.0) 사양에 토큰 효율적인 액세스를 제공하는 ** MCP 리소스 템플릿**.

프로젝트 목표

이 프로젝트의 기본 목표는 MCP 클라이언트(Cline 또는 Claude Desktop과 같은)를 허용하는 것입니다. LLM의 컨텍스트 윈도우로 전체 파일을로드하지 않고 대형 OpenAPI 사양의 구조와 세부 사항을 탐구하기 위해. MCP Resource Templates를 통해 사양의 부품을 exposing함으로써, read-only data exploration에 대한 매개변수화된 접근 패턴을 제공합니다.

이 서버는 로컬 파일 경로와 원격 HTTP/HTTPS URL에서 로드 사양을 지원합니다. Swagger v2.0 사양은 자동으로 로드시 OpenAPI v3.0로 변환됩니다.

주: 이 서버는 ** 리소스 템플릿 ** (이전 소스)를 제공합니다. MCP 클라이언트는 resources/templates/list] 프로토콜 방법을 통해 이러한 템플릿에 액세스합니다. 리소스 템플릿에 대한 자세한 내용은 MCP 리소스 템플릿 문서를 참조하십시오.

왜 MCP 자원 템플릿?

Model Context Protocol은 Resources 및 Tools를 모두 정의합니다.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

MCP OpenAPI Schema Explorer

An MCP (Model Context Protocol) server that provides token-efficient access to OpenAPI (v3.0) and Swagger (v2.0) specifications via MCP Resource Templates.

Project Goal

The primary goal of this project is to allow MCP clients (like Cline or Claude Desktop) to explore the structure and details of large OpenAPI specifications without needing to load the entire file into an LLM’s context window. It achieves this by exposing parts of the specification through MCP Resource Templates, which provide parameterized access patterns for read-only data exploration.

This server supports loading specifications from both local file paths and remote HTTP/HTTPS URLs. Swagger v2.0 specifications are automatically converted to OpenAPI v3.0 upon loading.

Note: This server provides resource templates (not pre-enumerated resources). MCP clients access these templates through the resources/templates/list protocol method. For more information about resource templates, see the MCP Resource Templates documentation.

Why MCP Resource Templates?

The Model Context Protocol defines both Resources and Tools.

  • Resources: Represent data sources (like files, API responses). They are ideal for read-only access and exploration by MCP clients.
    • Resource Templates: A special type of resource that uses parameterized URIs (e.g., openapi://paths/{path}/{method}), allowing dynamic access without pre-enumerating all possible values.
  • Tools: Represent executable actions or functions, often used by LLMs to perform tasks or interact with external systems.
GitHub에서 전체 README 보기

설치

npx -y mcp-openapi-schema-explorer@latest <path-or-url-to-spec> --output-format yaml
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "My API Spec (npx)": { "command": "npx", "args": [ "-y", "mcp-openapi-schema-explorer@latest", "<path-or-url-to-spec>", "--output-format", "yaml" ], "env": {} } } }