Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
page.tsx746 B
import { AdminScreen } from "src/screens/admin/AdminScreen"; import { Permission } from "@/api/openapi-schema"; import { getServerSession } from "@/auth/server-session"; import { UnreadyBanner } from "@/components/site/Unready"; import { hasPermission } from "@/utils/permissions"; export default async function Page() { try { const session = await getServerSession(); if ( !session || !hasPermission( session, Permission.ADMINISTRATOR, Permission.MANAGE_SETTINGS, ) ) { return ( <UnreadyBanner error="Not authorised to view the system configuration page." /> ); } return <AdminScreen />; } catch (error) { return <UnreadyBanner error={error} />; } }

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