import uvicorn
import os
from main import app
# Environment variable configuration
HOST = os.getenv("HOST", "0.0.0.0")
PORT = int(os.getenv("PORT", "8000"))
def run():
"""Start the FastAPI server with uvicorn"""
uvicorn.run(app, host=HOST, port=PORT, log_level="info")
if __name__ == "__main__":
run()
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/akream/mcppython'
If you have feedback or need assistance with the MCP directory API, please join our Discord server