Skip to main content
Glama
get-company.ts715 B
import { createAction } from '@activepieces/pieces-framework'; import { folkAuth } from '../common/auth'; import { folkClient } from '../common/client'; import { folkProps } from '../common/props'; export const getCompany = createAction({ auth: folkAuth, name: 'getCompany', displayName: 'Get Company', description: 'Retrieve detailed information about a company from your Folk workspace.', props: { companyId: folkProps.company_id(true), }, async run(context) { const { companyId } = context.propsValue; const response = await folkClient.getCompany({ apiKey: context.auth, companyId: companyId as string, }); return { company: response.data, }; }, });

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