Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
MemberActions.tsx986 B
"use client"; import { useSession } from "src/auth"; import { LoginAnchor, RegisterAnchor, } from "src/components/site/Navigation/Anchors/Login"; import { Account } from "@/api/openapi-schema"; import { NotificationsMenu } from "@/components/notifications/NotificationsMenu"; import { HStack } from "@/styled-system/jsx"; import { AccountMenu } from "./AccountMenu/AccountMenu"; import { ComposeAnchor } from "./Anchors/Compose"; type Props = { session: Account | undefined; }; export function MemberActions({ session }: Props) { const account = useSession(session); return ( <HStack w="full" gap="2" alignItems="center" justify="end" pr="1"> {account ? ( <> <ComposeAnchor>Post</ComposeAnchor> <NotificationsMenu status="unread" /> <AccountMenu account={account} /> </> ) : ( <> <RegisterAnchor w="full" /> <LoginAnchor flexShrink={0} /> </> )} </HStack> ); }

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