Back to Home
kadykov icon

mcp-openapi-schema-explorer

Verified Safe

by kadykov

Overview

Provides token-efficient, on-demand access to OpenAPI and Swagger specifications for MCP clients (like LLMs) by exposing parts of the specification via resource templates.

Installation

Run Command
npx -y mcp-openapi-schema-explorer@latest https://petstore3.swagger.io/api/v3/openapi.json --output-format json

Security Notes

The server primarily parses and traverses OpenAPI/Swagger specifications. The main attack surface is the `specPath` argument, which can be a local file path or a remote URL. While the server doesn't execute arbitrary code directly from the spec content, a malicious or extremely large/malformed spec could potentially lead to DoS or parser vulnerabilities in the `swagger2openapi` library or underlying JSON/YAML parsers. All URI path components are URL-encoded, and object lookups use Maps to mitigate prototype pollution.

Similar Servers

Stats

Interest Score47
Security Score8
Cost ClassLow
Avg Tokens500
Stars63
Forks12
Last Update2026-01-19

Tags

MCPOpenAPISwaggerAPI ExplorerLLM Context