Skip to main content
Glama

mcp-google-sheets

trigger-run.controller.ts686 B
import { triggerRunStats } from '@activepieces/server-shared' import { PrincipalType } from '@activepieces/shared' import { FastifyPluginAsyncTypebox } from '@fastify/type-provider-typebox' import { redisConnections } from '../../database/redis-connections' export const triggerRunController: FastifyPluginAsyncTypebox = async (app) => { app.get('/status', GetStatusReportSchema, async (request) => { const platformId = request.principal.platform.id return triggerRunStats(app.log, await redisConnections.useExisting()).getStatusReport({ platformId }) }) } const GetStatusReportSchema = { config: { allowedPrincipals: [PrincipalType.USER], }, }

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