Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
useFeed.ts542 B
import { useThreadList } from "src/api/openapi-client/threads"; import { ThreadListParams, ThreadListResult } from "src/api/openapi-schema"; export type Props = { params?: ThreadListParams; initialData?: ThreadListResult; }; export function useFeed({ params, initialData }: Props) { const { data, mutate, error } = useThreadList(params, { swr: { fallbackData: initialData }, }); if (!data) { return { ready: false as const, error, }; } return { ready: true as const, data, mutate, }; }

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