Skip to main content
Glama

Document Retrieval MCP Server

start.pyโ€ข446 B
#!/usr/bin/env python """ Start script for Railway deployment Programmatically runs uvicorn to avoid PATH issues """ import os import sys import uvicorn if __name__ == "__main__": # Get port from environment variable, default to 8000 port = int(os.environ.get("PORT", 8000)) # Run the FastAPI app uvicorn.run( "main:app", host="0.0.0.0", port=port, log_level="info", access_log=True )

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/Pramod-Potti-Krishnan/retriever_mcp'

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