Skip to main content
Glama

OpenAPI to MCP Server

config.example.json1.22 kB
{ "// This is an example configuration file for OpenAPI to MCP Generator": "// Comments like this are for documentation only and should be removed in actual config", "// OpenAPI Specification Settings": "", "// spec can be a local file path or HTTP/HTTPS URL": "", "spec": "./path/to/openapi-spec.json", "// overlays can be comma-separated local file paths or HTTP/HTTPS URLs": "", "overlays": "./path/to/overlay1.json,./path/to/overlay2.json", "// Example with HTTP URLs": "", "// spec": "https://example.com/api/openapi.json", "// overlays": "https://example.com/api/overlay.json,./local/overlay.json", "// MCP Server Settings": "", "port": 8080, "targetUrl": "https://api.example.com", "// API Filtering": "", "whitelist": "getPets,createPet,/pets/*", "blacklist": "deletePet,/admin/*", "// Authentication & Security": "", "apiKey": "your-api-key", "securitySchemeName": "ApiKeyAuth", "securityCredentials": { "ApiKeyAuth": "your-api-key", "OAuth2": "your-oauth-token" }, "// Custom Headers": "", "headers": { "X-Custom-Header": "custom-value", "User-Agent": "OpenAPI-MCP-Client/1.0" }, "// Other Settings": "", "disableXMcp": false }

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/TykTechnologies/api-to-mcp'

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