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 { createAction } from '@activepieces/pieces-framework';
import { getAllDiscounts } from '../api';
import { cartloomAuth } from '../auth';
export const getAllDiscountsAction = createAction({
name: 'get_all_discounts',
auth: cartloomAuth,
displayName: 'Get All Discounts',
description: 'Get a list of discounts from Cartloom',
props: {},
async run(context) {
return await getAllDiscounts(context.auth.props);
},
});