Back to Home
kadykov icon

mcp-openapi-schema-explorer

Verified Safe

by kadykov

Overview

Provides token-efficient, granular access to OpenAPI (v3.0) and Swagger (v2.0) specifications via MCP Resources, enabling LLMs and MCP clients to explore API structure without loading entire large files into context.

Installation

Run Command
npx -y mcp-openapi-schema-explorer@latest <path-or-url-to-spec> --output-format yaml

Security Notes

The server loads and processes OpenAPI/Swagger specification files from local paths or remote URLs. This functionality inherently involves file system and network access via the 'swagger2openapi' library. While the code itself does not contain explicit malicious patterns, hardcoded secrets, or direct 'eval' calls, processing untrusted external specification files could, in theory, expose vulnerabilities in the underlying parsing libraries (e.g., 'swagger2openapi', 'js-yaml'). The input 'specPath' is provided via command-line arguments by the MCP client runner, so the immediate risk is tied to the trustworthiness of the provided specification file.

Similar Servers

Stats

Interest Score47
Security Score8
Cost ClassLow
Avg Tokens300
Stars61
Forks10
Last Update2025-12-15

Tags

MCP ServerOpenAPISwaggerAPI ExplorerLLM Context Management