## import yaml and load the config.yaml file
import yaml
import sys
# Initialize the config variable
config = {}
def load_config():
""" Function to load the config.yaml file """
config = {}
with open('config.yaml', 'r') as file:
config = yaml.safe_load(file)
return config
## Format will be like a json object.
config = load_config()
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/gharshit/mcpServer'
If you have feedback or need assistance with the MCP directory API, please join our Discord server