Skip to main content
Glama

mcp-google-sheets

index.ts1.59 kB
import { OAuth2PropertyValue, PieceAuth, createPiece } from '@activepieces/pieces-framework'; import { addBlockedTimeAction, createAppointmentAction, createClientAction, findAppointmentAction, findClientAction, rescheduleAppointmentAction, updateClientAction, } from './lib/actions'; import { PieceCategory } from '@activepieces/shared'; import { createCustomApiCallAction } from '@activepieces/pieces-common'; import { API_URL } from './lib/common'; import { appointmentCanceledTrigger, appointmentScheduledTrigger } from './lib/triggers'; export const acuitySchedulingAuth = PieceAuth.OAuth2({ required: true, authUrl: 'https://acuityscheduling.com/oauth2/authorize', tokenUrl: 'https://acuityscheduling.com/oauth2/token', scope: ['api-v1'], }); export const acuityScheduling = createPiece({ displayName: 'Acuity Scheduling', logoUrl: 'https://cdn.activepieces.com/pieces/acuity-scheduling.png', auth: acuitySchedulingAuth, categories: [PieceCategory.PRODUCTIVITY, PieceCategory.SALES_AND_CRM], minimumSupportedRelease: '0.36.1', authors: ['onyedikachi-david', 'kishanprmr'], actions: [ addBlockedTimeAction, createAppointmentAction, createClientAction, rescheduleAppointmentAction, updateClientAction, findAppointmentAction, findClientAction, createCustomApiCallAction({ auth: acuitySchedulingAuth, baseUrl: () => API_URL, authMapping: async (auth) => { return { Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`, }; }, }), ], triggers: [appointmentCanceledTrigger, appointmentScheduledTrigger], });

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