Skip to main content
Glama

mcp-google-sheets

ee-project-hooks.ts1.08 kB
import { AlertChannel } from '@activepieces/ee-shared' import { FastifyBaseLogger } from 'fastify' import { userIdentityService } from '../../authentication/user-identity/user-identity-service' import { platformService } from '../../platform/platform.service' import { ProjectHooks } from '../../project/project-hooks' import { userService } from '../../user/user-service' import { alertsService } from '../alerts/alerts-service' export const projectEnterpriseHooks = (log: FastifyBaseLogger): ProjectHooks => ({ async postCreate(project) { const owner = await userService.getOneOrFail({ id: project.ownerId, }) const identity = await userIdentityService(log).getBasicInformation(owner.identityId) const platform = await platformService.getOneWithPlanOrThrow(project.platformId) if (!platform.plan.embeddingEnabled) { await alertsService(log).add({ channel: AlertChannel.EMAIL, projectId: project.id, receiver: identity.email, }) } }, })

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