"""Custom exceptions for MCP client."""
class MCPClientError(Exception):
"""Base exception for MCP client errors."""
pass
class MCPAuthError(MCPClientError):
"""Authentication error."""
pass
class MCPToolError(MCPClientError):
"""Tool execution error."""
pass
class MCPStreamError(MCPClientError):
"""Streaming error."""
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/yepdama/medical-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server