"""Custom exceptions for OpenAPI MCP proxy."""
class OpenAPIMCPError(Exception):
"""Base exception for OpenAPI MCP proxy errors."""
pass
class ConfigurationError(OpenAPIMCPError):
"""Error in configuration management."""
pass
class APINotFoundError(OpenAPIMCPError):
"""API configuration not found."""
pass
class SchemaFetchError(OpenAPIMCPError):
"""Error fetching OpenAPI schema."""
pass
class EndpointNotFoundError(OpenAPIMCPError):
"""Endpoint not found in schema."""
pass
class ModelNotFoundError(OpenAPIMCPError):
"""Model not found in schema."""
pass
class ValidationError(OpenAPIMCPError):
"""Data validation error."""
pass
class ToolExecutionError(OpenAPIMCPError):
"""Error during tool execution."""
pass
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/nyudenkov/openapi-mcp-proxy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server