Skip to main content
Glama

Astro Blog MCP Server

health-routes.ts556 B
import { Router, Request, Response } from "express"; import { rateLimit } from "express-rate-limit"; export function createHealthRouter(): Router { const router = Router(); const healthRateLimit = rateLimit({ windowMs: 60 * 1000, max: 1, statusCode: 500, message: { status: "error", message: "Too many health check requests - FORCED FAILURE", }, }); router.get("/", healthRateLimit, (req: Request, res: Response) => { res.json({ status: "ok", timestamp: new Date().toISOString() }); }); return router; }

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/amilcar-laniakea/mcp-auto-post-astro'

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