Skip to main content
Glama
og-image.tsx605 B
import { ImageResponse } from "next/og"; import type { ImageResponseOptions } from "next/server"; import { OhImgBaseTemplate, ohimgConfig } from "./ohimg"; export const contentType = "image/png"; export const dynamic = "force-static"; export const revalidate = false; // Revalidate every hour (or your preferred interval) const imageOptions: ImageResponseOptions = { width: 1200, height: 630, }; // Image generation export function generateOGImage(title: string) { const config = ohimgConfig; config.content.title = title; return new ImageResponse(OhImgBaseTemplate(config), imageOptions); }

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/metacode0602/open-mcp'

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