MCPServers
OpenAPI Schema Explorer - MCP server logo

OpenAPI Schema Explorer

13
0

Summary

MCP OpenAPI Schema Explorer is a TypeScript server that provides token-efficient access to OpenAPI (v3.0) and Swagger (v2.0) specifications. Developed by Aleksandr Kadykov, it transforms large API specifications into navigable MCP resources with URI-based references, allowing AI assistants to explore API structures without loading entire specs into their context windows. The server loads specs from local files or remote URLs, automatically converts Swagger v2.0 to OpenAPI v3.0, and returns information in configurable formats (JSON, YAML, or minified JSON), making it particularly valuable for working with complex APIs that would otherwise consume excessive tokens.

Available Actions(5)

openapi://{field}

Accesses top-level fields of the OpenAPI document (e.g., info, servers, tags) or lists the contents of paths or components. The specific available fields depend on the loaded specification.

openapi://paths/{path}

Lists the available HTTP methods (operations) for a specific API path. Parameter: {path} - The API path string. Must be URL-encoded.

openapi://paths/{path}/{method*}

Gets the detailed specification for one or more operations (HTTP methods) on a specific API path. Parameters: {path} - The API path string (URL-encoded); {method*} - One or more HTTP methods (e.g., get, post).

openapi://components/{type}

Lists the names of all defined components of a specific type (e.g., schemas, responses, parameters). The specific available types depend on the loaded specification.

openapi://components/{type}/{name*}

Gets the detailed specification for one or more named components of a specific type. Parameters: {type} - The component type; {name*} - One or more component names (case-sensitive).

Last Updated: June 3, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签