Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
feed.ts1.12 kB
import { z } from "zod"; export const FeedLayoutConfigSchema = z.union([ z.object({ type: z.literal("list"), }), z.object({ type: z.literal("grid"), }), ]); export type FeedLayoutConfig = z.infer<typeof FeedLayoutConfigSchema>; export const FeedSourceConfigSchema = z.union([ z.object({ type: z.literal("threads"), quickShare: z.enum(["enabled", "disabled"]).default("enabled"), }), z.object({ type: z.literal("library"), node: z.string().optional(), }), z.object({ type: z.literal("categories"), threadListMode: z .enum(["none", "all", "uncategorised"]) .default("uncategorised"), quickShare: z.enum(["enabled", "disabled"]).default("enabled"), }), ]); export type FeedSourceConfig = z.infer<typeof FeedSourceConfigSchema>; export const FeedConfigSchema = z.object({ layout: FeedLayoutConfigSchema, source: FeedSourceConfigSchema, }); export type FeedConfig = z.infer<typeof FeedConfigSchema>; export const DefaultFeedConfig: FeedConfig = { layout: { type: "list", }, source: { type: "threads", quickShare: "enabled", }, };

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