Skip to main content
Glama

MCP Server

by hburgoyne
asgi.py782 B
""" ASGI configuration for the MCP server. This is used for production with Uvicorn. """ import os from app.main import app import uvicorn from app.utils.logger import logger if __name__ == "__main__": host = os.getenv("MCP_SERVER_HOST", "0.0.0.0") port = int(os.getenv("MCP_SERVER_PORT", "8000")) log_level = os.getenv("LOG_LEVEL", "info").lower() logger.info(f"Starting ASGI server at {host}:{port} with log level {log_level}") uvicorn.run( "asgi:app", host=host, port=port, log_level=log_level, reload=False, workers=int(os.getenv("WORKERS", "1")), limit_concurrency=int(os.getenv("LIMIT_CONCURRENCY", "100")), limit_max_requests=int(os.getenv("LIMIT_MAX_REQUESTS", "10000")), )

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/hburgoyne/picard_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server