We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/r33drichards/mcp-js'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
events {
worker_connections 1024;
}
http {
upstream mcp_cluster {
server node1:3000;
server node2:3000;
server node3:3000;
}
server {
listen 8080;
location /mcp {
proxy_pass http://mcp_cluster;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# SSE support for Streamable HTTP response streaming
proxy_set_header Connection '';
proxy_buffering off;
proxy_cache off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
}
# Health check endpoint (hits any upstream node)
location /health {
proxy_pass http://mcp_cluster/raft/status;
proxy_http_version 1.1;
}
}
}