Skip to main content
Glama

mcp-google-sheets

base64-encode.ts482 B
import { Property, createAction } from '@activepieces/pieces-framework'; export const base64Encode = createAction({ name: 'base64-encode', displayName: 'Base64 Encode', description: 'Converts plain text into base64 format.', props: { text: Property.ShortText({ displayName: 'Text', description: 'The text to be encoded.', required: true, }), }, async run(context) { return Buffer.from(context.propsValue.text).toString('base64'); }, });

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