Skip to main content
Glama

mcp-google-sheets

output-qrcode-action.ts592 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { toBuffer } from 'qrcode'; export const outputQrcodeAction = createAction({ name: 'text_to_qrcode', displayName: 'Text to QR Code', description: 'Convert text to QR code', props: { text: Property.LongText({ displayName: 'Content', required: true, }), }, async run(context) { const { text } = context.propsValue; const qrcodeBuffer = await toBuffer(text); return await context.files.write({ fileName: 'qr-code.png', data: qrcodeBuffer, }); }, });

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