"""
Entry point for HTTP/SSE transport MCP server.
Use this to expose your MCP server on the internet for OpenAI Responses API.
"""
import os
import uvicorn
from test_mcp.http_server import create_http_app
app = create_http_app()
if __name__ == "__main__":
port = int(os.getenv("PORT", 8000))
uvicorn.run(
"main_http:app",
host="0.0.0.0",
port=port,
reload=True,
log_level="info"
)
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/mokesmokane/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server