Skip to main content
Glama

mcp-google-sheets

task-limit-alert.tsx971 B
import { t } from 'i18next'; import { projectHooks } from '@/hooks/project-hooks'; import { isNil } from '@activepieces/shared'; import { LimitAlert } from './limit-alert'; export const TaskLimitAlert = () => { const { project } = projectHooks.useCurrentProject(); //for ce edition, we don't have plan and usage if (isNil(project?.plan?.tasks) || isNil(project?.usage?.tasks)) { return null; } const taskUsagePercentage = project.usage.tasks / project.plan.tasks; return ( <LimitAlert fullUsageWarningNote={t( 'When a project tasks limit is reached, all flows will be turned off and you will not be able to run any flows.', )} usagePercentage={taskUsagePercentage} getPercentageNote={(limitWarningPercentage) => { return `${t('Task Usage Exceeded')} ${ limitWarningPercentage * 100 }% ${t('of the Allowed Limit.')} `; }} /> ); }; TaskLimitAlert.displayName = 'TaskLimitAlert';

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