Skip to main content
Glama

mcp-google-sheets

locked-feature-guard.tsx1.37 kB
import React from 'react'; import { FeatureKey, RequestTrial } from './request-trial'; type LockedFeatureGuardProps = { children: React.ReactNode; locked: boolean; lockTitle: string; lockDescription: string; lockVideoUrl?: string; featureKey: FeatureKey; }; export const LockedFeatureGuard = ({ children, locked, lockTitle, lockDescription, lockVideoUrl, featureKey, }: LockedFeatureGuardProps) => { if (!locked) { return children; } return ( <div className="flex w-full flex-col items-center justify-center gap-2"> <div className="pt-8 text-center flex flex-col gap-2 justify-center items-center"> <h1 className="text-3xl font-bold">{lockTitle}</h1> <div className="text-center w-[485px] my-4 flex flex-col gap-2 justify-center items-center"> <p className="text-md leading-relaxed text-muted-foreground"> {lockDescription} </p> <div className="my-4"> <RequestTrial featureKey={featureKey} /> </div> </div> {lockVideoUrl && ( <video autoPlay loop muted playsInline className="max-w-[70vh] rounded-lg" controls={false} src={lockVideoUrl} /> )} </div> </div> ); }; export default LockedFeatureGuard;

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/activepieces/activepieces'

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