Skip to main content
Glama
metadata.ts1.44 kB
import type { Metadata } from "next/types"; export function createMetadata(override: Metadata): Metadata { return { ...override, authors: [ { name: "聚链科技", url: "https://docs.julianshuke.top", }, ], creator: "Rajiv", openGraph: { title: override.title ?? undefined, description: override.description ?? undefined, url: "https://docs.julianshuke.top", siteName: "", ...override.openGraph, }, twitter: { card: "summary_large_image", site: "@julianshuke.top", creator: "@julianshuke.top", title: override.title ?? undefined, description: override.description ?? undefined, ...override.twitter, }, alternates: { canonical: "/", types: { "application/rss+xml": "/api/rss.xml", }, ...override.alternates, }, icons: { icon: [ { media: "(prefers-color-scheme: light)", url: "/assets/light-logo.svg", href: "/assets/light-logo.svg", }, { media: "(prefers-color-scheme: dark)", url: "/assets/dark-logo.svg", href: "/assets/dark-logo.svg", }, ], }, }; } export const baseUrl = process.env.NODE_ENV === "development" || !process.env.NEXT_PUBLIC_SITE_URL ? new URL("http://localhost:3000") : new URL(`https://${process.env.NEXT_PUBLIC_SITE_URL}`);

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