Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
GenericError.tsx932 B
"use client"; import { usePathname } from "next/navigation"; import { UnreadyBanner } from "src/components/site/Unready"; import { Button } from "@/components/ui/button"; import { LinkButton } from "@/components/ui/link-button"; import { HStack, VStack } from "@/styled-system/jsx"; export function GenericError({ reset, message, }: { reset?: () => void; message?: string; }) { const pathName = usePathname(); const isHome = pathName === "/"; return ( <VStack p="4" h="dvh" justify="center"> <VStack maxW="sm" minH="60" gap="8"> <UnreadyBanner error={message ?? "An unexpected error occurred."} /> <HStack> {!isHome && ( <LinkButton variant="subtle" href="/"> Home </LinkButton> )} <Button variant="outline" onClick={reset}> Retry </Button> </HStack> </VStack> </VStack> ); }

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/Southclaws/storyden'

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