Skip to main content
Glama
Card.tsx723 B
"use client"; import Link from "next/link"; import { Card as UICard, CardContent } from "@/components/ui/card"; import type { ReactNode } from "react"; interface CardProps { title: string; href: string; children?: ReactNode; } export default function Card({ title, href, children }: CardProps) { return ( <UICard className="hover:shadow-md transition-shadow"> <Link href={href} className="block h-full w-full"> <CardContent className="p-4 h-full flex flex-col justify-between"> <h3 className="text-lg font-medium mb-2">{title}</h3> {children ? <div className="text-sm text-muted-foreground">{children}</div> : null} </CardContent> </Link> </UICard> ); }

Latest Blog Posts

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/mcpauth/mcpauth'

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