"""Custom exceptions for the MCP server."""
class APIError(Exception):
"""Base exception for API-related errors."""
def __init__(self, message: str, status_code: int | None = None):
super().__init__(message)
self.message = message
self.status_code = status_code
class ConfigError(Exception):
"""Exception raised when configuration is invalid or missing."""
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/noahw345/property-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server