Skip to main content
Glama

mcp-google-sheets

admin-piece-requests.ee.ts1.83 kB
import { ErrorHandlingOptionsParam, TriggerStrategy, WebhookRenewConfiguration, } from '@activepieces/pieces-framework' import { ExactVersionType, PieceCategory, PrincipalType, TriggerTestStrategy, WebhookHandshakeConfiguration, } from '@activepieces/shared' import { Type } from '@fastify/type-provider-typebox' const Action = Type.Object({ name: Type.String(), displayName: Type.String(), description: Type.String(), requireAuth: Type.Boolean(), props: Type.Unknown(), errorHandlingOptions: Type.Optional(ErrorHandlingOptionsParam), }) const Trigger = Type.Composite([ Action, Type.Object({ renewConfiguration: Type.Optional(WebhookRenewConfiguration), handshakeConfiguration: WebhookHandshakeConfiguration, sampleData: Type.Optional(Type.Unknown()), type: Type.Enum(TriggerStrategy), testStrategy: Type.Enum(TriggerTestStrategy), }), ]) export const CreatePieceRequest = { schema: { body: Type.Object({ name: Type.String(), displayName: Type.String(), logoUrl: Type.String(), description: Type.Optional(Type.String()), version: ExactVersionType, auth: Type.Optional(Type.Any()), authors: Type.Array(Type.String()), categories: Type.Optional(Type.Array(Type.Enum(PieceCategory))), minimumSupportedRelease: ExactVersionType, maximumSupportedRelease: ExactVersionType, actions: Type.Record(Type.String(), Action), triggers: Type.Record(Type.String(), Trigger), i18n: Type.Optional(Type.Record(Type.String(), Type.Record(Type.String(), Type.String()))), }), }, config: { allowedPrincipals: [PrincipalType.SUPER_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