Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
shared.ts336 B
import { z } from "zod"; const DEFAULT_SIDEBAR_STATE = false; const CookieSchema = z.string().transform((value) => value === "true"); export function parseSidebarCookie(cookieValue?: string) { const { success, data } = CookieSchema.safeParse(cookieValue); if (!success) { return DEFAULT_SIDEBAR_STATE; } return data; }

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