Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
server.ts443 B
"use server"; import { cookies } from "next/headers"; import { NAVIGATION_SIDEBAR_STATE_KEY } from "@/local/state-keys"; import { parseSidebarCookie } from "./shared"; export async function getServerSidebarState() { const serverSidebarCookieState = (await cookies()).get( NAVIGATION_SIDEBAR_STATE_KEY, ); const initialSidebarState = parseSidebarCookie( serverSidebarCookieState?.value, ); return initialSidebarState; }

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