Skip to main content
Glama

mcp-google-sheets

split.ts624 B
import { Property, createAction } from '@activepieces/pieces-framework'; export const split = createAction({ description: 'Split a text by a delimiter', displayName: 'Split', name: 'split', errorHandlingOptions: { continueOnFailure: { hide: true, }, retryOnFailure: { hide: true, }, }, props: { text: Property.ShortText({ displayName: 'Text', required: true, }), delimiter: Property.ShortText({ displayName: 'Delimiter', required: true, }), }, run: async (ctx) => { return ctx.propsValue.text.split(ctx.propsValue.delimiter); }, });

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