Skip to main content
Glama

mcp-google-sheets

get-container.ts1.23 kB
import { Property, createAction } from '@activepieces/pieces-framework'; import { onfleetAuth } from '../..'; import Onfleet from '@onfleet/node-onfleet'; export const getContainer = createAction({ auth: onfleetAuth, name: 'get_container', displayName: 'Get Container', description: 'Get a specific container', props: { containerType: Property.Dropdown< 'organizations' | 'workers' | 'teams', true >({ displayName: 'Container Type', required: true, refreshers: [], options: async () => { return { options: [ { label: 'Organizations', value: 'organizations', }, { label: 'Teams', value: 'teams', }, { label: 'Workers', value: 'workers', }, ], }; }, }), containerId: Property.ShortText({ displayName: 'Container ID', required: true, }), }, async run(context) { const onfleetApi = new Onfleet(context.auth); return await onfleetApi.containers.get( context.propsValue.containerId, context.propsValue.containerType ); }, });

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