import os
# Load the agent name from the environment variables.
AGENT_NAME = os.getenv('AGENT_NAME', 'MCP Server')
def add_code_source_id(model):
model.codeSourceId = AGENT_NAME
return model
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/i-dream-of-ai/quantconnect-mcp-jwt'
If you have feedback or need assistance with the MCP directory API, please join our Discord server