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
import MailerLite from '@mailerlite/mailerlite-nodejs';
import { Property, createAction } from '@activepieces/pieces-framework';
import { mailerLiteAuth } from '../..';
export const findSubscriberAction = createAction({
auth: mailerLiteAuth,
name: 'find_subscriber',
displayName: 'Find a Subscriber',
description: 'Search for subscriber by email or name.',
props: {
searchValue: Property.ShortText({
displayName: 'Subscriber ID or Email',
required: true,
}),
},
async run(context) {
const client = new MailerLite({ api_key: context.auth });
const response = await client.subscribers.find(context.propsValue.searchValue);
return response.data;
},
});