Skip to main content
Glama
health-check.ts520 B
import { logger } from "./utils/logger"; const check = async (): Promise<void> => { try { const response = await fetch("http://localhost:3000/health"); if (!response.ok) { logger.error("Health check failed:", response.status); process.exit(1); } logger.info("Health check passed"); process.exit(0); } catch (error) { logger.error("Health check failed:", error); process.exit(1); } }; // Execute check - no need for outer catch since check handles all errors void check();

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/jango-blockchained/advanced-homeassistant-mcp'

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