Skip to main content
Glama

mcp-google-sheets

flag-guard.tsx422 B
import { flagsHooks } from '@/hooks/flags-hooks'; import { ApFlagId } from '@activepieces/shared'; type FlagGuardProps = { children: React.ReactNode; flag: ApFlagId; }; const FlagGuard = ({ children, flag }: FlagGuardProps) => { const { data: flagValue } = flagsHooks.useFlag<boolean>(flag); if (!flagValue) { return null; } return children; }; FlagGuard.displayName = 'FlagGuard'; export { FlagGuard };

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