Skip to main content
Glama

Swagger MCP Server

by tuskermanshu

parse-swagger-optimized

Parse Swagger/OpenAPI documents efficiently with caching, large file support, and options for filtering, validation, and schema inclusion. Optimized for performance and scalability.

Instructions

Parse Swagger/OpenAPI document using optimized parser with caching and large document support.

Input Schema

NameRequiredDescriptionDefault
cacheTTLMinutesNoCache TTL in minutes
filterTagNoFilter operations by tag
headersNoRequest headers
includeDetailsNoWhether to include all details like request bodies, responses, etc.
includeSchemasNoWhether to include schema definitions
lazyLoadingNoWhether to use lazy loading for schema parsing
pathPrefixNoFilter operations by path prefix
skipValidationNoWhether to skip validation, used for handling non-fully compliant API documents
urlYesSwagger/OpenAPI document URL
useCacheNoWhether to use cache

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "cacheTTLMinutes": { "description": "Cache TTL in minutes", "type": "number" }, "filterTag": { "description": "Filter operations by tag", "type": "string" }, "headers": { "additionalProperties": { "type": "string" }, "description": "Request headers", "type": "object" }, "includeDetails": { "description": "Whether to include all details like request bodies, responses, etc.", "type": "boolean" }, "includeSchemas": { "description": "Whether to include schema definitions", "type": "boolean" }, "lazyLoading": { "description": "Whether to use lazy loading for schema parsing", "type": "boolean" }, "pathPrefix": { "description": "Filter operations by path prefix", "type": "string" }, "skipValidation": { "description": "Whether to skip validation, used for handling non-fully compliant API documents", "type": "boolean" }, "url": { "description": "Swagger/OpenAPI document URL", "type": "string" }, "useCache": { "description": "Whether to use cache", "type": "boolean" } }, "required": [ "url" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tuskermanshu/swagger-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server