Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
permissions.ts577 B
import { Account, Collection, Permission } from "@/api/openapi-schema"; import { hasPermissionOr } from "@/utils/permissions"; export function canDeleteCollection(col: Collection, account?: Account) { if (!account) return false; return hasPermissionOr( account, () => col.owner.id === account.id, Permission.MANAGE_COLLECTIONS, ); } export function canEditCollection(col: Collection, account?: Account) { if (!account) return false; return hasPermissionOr( account, () => col.owner.id === account.id, Permission.MANAGE_COLLECTIONS, ); }

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