OlympHill
mcp-openapi-schema-explorer logo

mcp-openapi-schema-explorermcp 服务器提供令牌高效访问 OpenAPI/Swagger 规范的 MCP 资源,以客户端资源进行探索。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

MCP OpenAPIschemaExplorer 是个 mcp 服务器以令牌高效访问 OpenAPI/Swagger 规范的 MCP 资源以客户端资源进行探索。它允许客户端探索大规模的 OpenAPI 规范而不需要将整个文件加载到 LLM 上下文窗口中,以便通过 MCP 资源模块公开规范的部分。服务器支持从本地文件路径和远程 HTTP/HTTPS URL加载规范,并在加载时将 Swagger v2.0 规范转换为 OpenAPI v3.0。这使得动态访问规范的某些部分变得可能,而不是事先枚举所有可能的值。

主要功能

  • MCP 资源模板用于参数化访问
  • 支持本地文件路径和远程 HTTP/HTTPS URL
  • Swagger v2.0 自动转换为 OpenAPI v3.0
  • 动态访问规范的某些部分

价格

模型
Free
评分
暂无评价

使用场景

探索大规模的 OpenAPI 规范

使用 MCP OpenAPI Schema Explorer 以令牌高效访问 OpenAPI/Swagger 规范并在 LLM 上下文窗口中避免加载整个文件。

集成 mcp 客户端

将 MCP OpenAPI Schema Explorer 与 mcp 客户端如 Cline 或 Claude Desktop 集成,以提供令牌高效访问 OpenAPI/Swagger 规范。

优点 & 缺点

优点

  • 高效访问大规模的 OpenAPI 规范
  • 动态发现可用资源
  • 结构化、按需访问规范的部分

缺点

  • 需要mcp 客户端进行访问
  • 仅支持 OpenAPI V3.0 和 Swagger V2.0 规范

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the limitations of the OpenAPI Schema Explorer?

It only supports read‑only exploration of OpenAPI v3.0 and Swagger v2.0 specs and requires an MCP client to interact with the resource templates; it does not provide pre‑enumerated resources or executable tools.

Asked by Margaret Whitfield · Sep 2, 2025

What access method does the server use for client exploration?

The server exposes the spec via MCP Resource Templates, which are parameterized URIs (e.g., openapi://paths/{path}/{method}) that let MCP clients retrieve specific parts on demand without loading the whole document.

Asked by Ingrid Bauer · Jul 3, 2025

How does the explorer load an OpenAPI specification?

You can load specs either from a local file path or a remote HTTP/HTTPS URL. When a Swagger v2.0 file is provided, the server automatically converts it to OpenAPI v3.0 before exposing it.

Asked by Aisha Khan · Jun 27, 2025

提问

服务配缩器 的替代品