Skip to main content
Glama

Activepieces MCP Server

by eldoonreval
test-trigger-controller.tsβ€’786 B
import { PrincipalType, TestTriggerRequestBody } from '@activepieces/shared' import { FastifyPluginAsyncTypebox } from '@fastify/type-provider-typebox' import { testTriggerService } from './test-trigger-service' export const testTriggerController: FastifyPluginAsyncTypebox = async (app) => { app.post('/', TestTriggerRequest, async (req) => { const { projectId } = req.principal const { flowId, flowVersionId, testStrategy } = req.body return testTriggerService(req.log).test({ flowId, flowVersionId, projectId, testStrategy, }) }) } const TestTriggerRequest = { schema: { body: TestTriggerRequestBody, }, 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/eldoonreval/activepieces'

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