Skip to main content
Glama

Agentic MCP Weather System

by Shivbaj
health_server.py•753 B
""" Simple health check server for Streamlit container health monitoring. Runs alongside Streamlit to provide health check endpoint. """ from flask import Flask import threading import time app = Flask(__name__) @app.route('/health') def health(): """Health check endpoint for Docker health monitoring.""" return {'status': 'healthy', 'service': 'streamlit-ui'}, 200 def run_health_server(): """Run health check server on port 8502.""" app.run(host='0.0.0.0', port=8502, debug=False) if __name__ == '__main__': # Start health server in background thread health_thread = threading.Thread(target=run_health_server, daemon=True) health_thread.start() # Keep main thread alive while True: time.sleep(60)

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/Shivbaj/MCP'

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