Skip to main content
Glama

mcp-google-sheets

index.ts769 B
import { PiecePropValueSchema, Property } from '@activepieces/pieces-framework'; import { getCalendars } from './helpers'; import { weblingAuth } from '../../index'; export const weblingCommon = { calendarDropdown: () => { return Property.Dropdown<string>({ displayName: 'Calendar', refreshers: [], required: true, options: async ({ auth }) => { const authProp = auth as PiecePropValueSchema<typeof weblingAuth>; const calendars = await getCalendars(authProp); return { disabled: false, options: calendars.map((calendar) => { return { label: calendar.properties.title, value: calendar.id, }; }), }; }, }); }, };

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