Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
DraftListScreen.tsx1.02 kB
"use client"; import { Unready } from "src/components/site/Unready"; import { NodeCardRows } from "@/components/library/NodeCardList"; import { ThreadReferenceList } from "@/components/post/ThreadReferenceList"; import { Heading } from "@/components/ui/heading"; import { VStack } from "@/styled-system/jsx"; import { useLibraryPath } from "../library/useLibraryPath"; import { Props, useDraftListScreen } from "./useDraftListScreen"; export function DraftListScreen(props: Props) { const { ready, data, error } = useDraftListScreen(props); const libraryPath = useLibraryPath(); if (!ready) return <Unready error={error} />; const { nodes, threads } = data; return ( <VStack w="full" alignItems="start"> <Heading>Your drafts</Heading> <Heading color="fg.subtle">Threads</Heading> <ThreadReferenceList threads={threads} /> <Heading color="fg.subtle">Library</Heading> <NodeCardRows libraryPath={libraryPath} context="generic" nodes={nodes} /> </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