Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
scroll-to-top.tsx650 B
"use client"; import Link from "next/link"; import { ReactNode, useCallback } from "react"; import { button } from "@/styled-system/recipes"; import { scrollToTop } from "@/utils/scroll"; interface ScrollToTopProps { children?: ReactNode; } export function ScrollToTop({ children = "scroll to top" }: ScrollToTopProps) { const handleClick = useCallback((e: React.MouseEvent<HTMLAnchorElement>) => { e.preventDefault(); scrollToTop(); }, []); return ( <Link href="#" className={button({ variant: "subtle", size: "xs", })} onClick={handleClick} > {children} </Link> ); }

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