Skip to main content
Glama

SwaggerMcp

by NakiriYuuzu

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AUTH_TYPENoAuthentication type: bearer, apikey, basic, nonenone
LOG_LEVELNoLog level: debug, info, warn, errorinfo
AUTH_TOKENNoAuthentication token or credentials
API_TIMEOUTNoRequest timeout in milliseconds30000
AUTH_HEADERNoAuthentication header nameAuthorization
SWAGGER_URLNoURL to the Swagger/OpenAPI documentation
API_BASE_URLNoOverride the base URL in Swagger (important if Swagger uses relative URLs)
SWAGGER_PATHNoLocal file path to the Swagger/OpenAPI documentation
API_KEY_HEADERNoAPI Key header name (for apikey type)X-API-Key
REFRESH_INTERVALNoSwagger document reload interval in milliseconds3600000
ENABLE_REQUEST_LOGGINGNoEnable request/response loggingfalse

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_swagger_info

Fetch Swagger/OpenAPI documentation to discover available API endpoints

list_endpoints

List all available API endpoints after fetching Swagger documentation

get_endpoint_details

Get detailed information about a specific API endpoint

execute_api_request

Execute an API request to a specific endpoint

validate_api_response

Validate an API response against the schema from Swagger documentation

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/NakiriYuuzu/SwaggerMcp'

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