Skip to main content
Glama
custom-toaster.tsx645 B
"use client" import { Toaster as SonnerToaster } from "sonner" interface CustomToasterProps { position?: "top-left" | "top-right" | "bottom-left" | "bottom-right" | "top-center" | "bottom-center" duration?: number className?: string } export function CustomToaster({ position = "top-right", duration = 3000, className = "" }: CustomToasterProps) { return ( <SonnerToaster position={position} toastOptions={{ duration: duration, className: className, style: { background: "var(--toast-bg-gradient)", color: "white", border: "none", }, }} /> ) }

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/myeong-ga/research-agent-mcp-0.36-pro-preview-06-01'

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