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
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,
};
},
});