We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/richinex/berry-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
exceptions.py•630 B
"""
Authentication-related exceptions for Berry MCP Server
"""
class AuthenticationError(Exception):
"""Base exception for authentication-related errors"""
pass
class TokenExpiredError(AuthenticationError):
"""Raised when an authentication token has expired"""
pass
class InvalidTokenError(AuthenticationError):
"""Raised when an authentication token is invalid or malformed"""
pass
class OAuth2FlowError(AuthenticationError):
"""Raised when there's an error in the OAuth2 flow"""
pass
class RefreshTokenError(AuthenticationError):
"""Raised when token refresh fails"""
pass