Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
BodyInput.tsx887 B
import { PropsWithChildren } from "react"; import { Controller } from "react-hook-form"; import { Asset } from "src/api/openapi-schema"; import { ContentComposer } from "src/components/content/ContentComposer/ContentComposer"; import { FormControl } from "@/components/ui/form/FormControl"; import { useBodyInput } from "./useBodyInput"; type Props = { onAssetUpload: (asset: Asset) => void; }; export function BodyInput({ onAssetUpload }: PropsWithChildren<Props>) { const { control } = useBodyInput(); return ( <FormControl h="full"> <Controller render={({ field, formState }) => ( <ContentComposer onChange={field.onChange} onAssetUpload={onAssetUpload} initialValue={formState.defaultValues?.["body"]} /> )} control={control} name="body" /> </FormControl> ); }

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