Skip to main content
Glama
tooltip.tsx647 B
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "@repo/design/shadcn/tooltip"; export function EasyTooltip({ children, tooltip, duration = 0, }: { children: React.ReactNode; tooltip: React.ReactNode; duration?: number; }) { if (!tooltip) { return children; } if (typeof children === "string") { children = <span>{children}</span>; } return ( <TooltipProvider delayDuration={duration}> <Tooltip> <TooltipTrigger asChild>{children}</TooltipTrigger> <TooltipContent> <p>{tooltip}</p> </TooltipContent> </Tooltip> </TooltipProvider> ); }

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/madarco/ragrabbit'

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