Skip to main content
Glama
getPlanDetails.ts364 B
import { Period, Plans } from '@components/PricingPage/data.content'; import { Steps } from './steps'; export const getPlanDetails = (details: string[]) => { const [step, ...rest] = details ?? []; return { step: (step as Steps) ?? Steps.Registration, plan: (rest[0] as Plans) ?? Plans.Free, period: (rest[1] as Period) ?? Period.Monthly, }; };

Latest Blog Posts

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/aymericzip/intlayer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server