We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/code4mk/coxs-bazar-itinerary-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
from mcp_server.mcp_instance import mcp
from starlette.responses import JSONResponse, PlainTextResponse
@mcp.custom_route("/", methods=["GET"])
async def root(request):
"""Root endpoint for health check."""
return JSONResponse({
"message": "Hello, World!",
"service": "Cox's Bazar AI Itinerary MCP Server",
"status": "running"
})
@mcp.custom_route("/health", methods=["GET"])
async def health(request):
"""Health check endpoint."""
return PlainTextResponse("OK")