Skip to main content
Glama

MCP Server

by hburgoyne
views_health.py577 B
from django.http import JsonResponse from django.db import connection from django.db.utils import OperationalError def health_check(request): """Health check endpoint for the Django client.""" # Check database connection try: with connection.cursor() as cursor: cursor.execute("SELECT 1") db_status = "healthy" except OperationalError: db_status = "unhealthy" # Return health status return JsonResponse({ "status": "healthy", "database": db_status, "service": "django_client" })

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/hburgoyne/picard_mcp'

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