import sys
from loguru import logger
def configure_logging(debug=False):
"""
Configure the global logger for the application.
Args:
debug (bool): If True, set logging level to DEBUG; otherwise, set to INFO.
"""
logger.remove() # Remove any existing handlers
logger.add(sys.stderr, level="DEBUG" if debug else "INFO")
# Initial configuration with default level (INFO)
configure_logging(debug=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/lfnovo/content-core'
If you have feedback or need assistance with the MCP directory API, please join our Discord server