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
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,
};
}