We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sriramkreddy10/mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
registry_loader.py•343 B
# registry/registry_loader.py
import yaml # or json
import os
_registry_cache = None
def load_registry(path="registry/model_registry.yaml"):
global _registry_cache
if _registry_cache:
return _registry_cache
with open(path, "r") as f:
data = yaml.safe_load(f)
_registry_cache = data
return data