Skip to main content
Glama

mcp-google-sheets

get-paste-content.ts645 B
import { Property, createAction } from '@activepieces/pieces-framework'; import { makeClient, pastebinCommon } from '../common'; import { pastebinAuth } from '../..'; export default createAction({ auth: pastebinAuth, name: 'get_paste_content', displayName: 'Get Paste Content', description: 'Retrieves the content of a paste', props: { paste_id: Property.ShortText({ displayName: 'Paste ID', required: true, }), }, async run(context) { const client = await makeClient(context.auth); const content = await client.getPasteContent(context.propsValue.paste_id); return { content, }; }, });

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