Skip to main content
Glama

mcp-google-sheets

index.ts1.72 kB
import { PieceAuth, createPiece } from '@activepieces/pieces-framework'; import { PieceCategory } from '@activepieces/shared'; import { createOrUpdateSubscriber } from './lib/actions/create-or-update-subscription'; import { createCustomApiCallAction } from '@activepieces/pieces-common'; import { triggers } from './triggers/triggers'; import { addSubscriberToGroupAction } from './lib/actions/add-subscriber-to-group'; import { removeSubscriberFromGroupAction } from './lib/actions/remove-subscriber-from-group'; import { findSubscriberAction } from './lib/actions/find-subscriber'; const markdownDescription = ` To obtain your API key, follow these steps: 1. Log in to your MailerLite account. 2. Visit the [API page](https://dashboard.mailerlite.com/integrations/api). 3. Click the **Generate new token** button. 4. Copy the generated API key. `; export const mailerLiteAuth = PieceAuth.SecretText({ displayName: 'API Key', description: markdownDescription, required: true, }); export const mailerLite = createPiece({ displayName: 'MailerLite', description: 'Email marketing software', minimumSupportedRelease: '0.30.0', logoUrl: 'https://cdn.activepieces.com/pieces/mailer-lite.png', categories: [PieceCategory.MARKETING], authors: ["Willianwg","kanarelo","kishanprmr","khaledmashaly","abuaboud"], auth: mailerLiteAuth, actions: [ addSubscriberToGroupAction, createOrUpdateSubscriber, findSubscriberAction, removeSubscriberFromGroupAction, createCustomApiCallAction({ baseUrl: () => 'https://connect.mailerlite.com/', auth: mailerLiteAuth, authMapping: async (auth) => ({ Authorization: `Bearer ${auth}`, }), }), ], triggers, });

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