AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createPiece, PieceAuth } from '@activepieces/pieces-framework';
import { roeAiAuth } from './lib/common/auth';
import { runQuery } from './lib/actions/run-query';
import { runAgent } from './lib/actions/run-agent';
import { createCustomApiCallAction } from '@activepieces/pieces-common';
import { auth } from '@modelcontextprotocol/sdk/client/auth';
export const roeAi = createPiece({
displayName: 'Roe AI',
auth: roeAiAuth,
minimumSupportedRelease: '0.36.1',
logoUrl: 'https://cdn.activepieces.com/pieces/roe-ai.png',
authors: ['sanket-a11y'],
actions: [
runAgent,
runQuery,
createCustomApiCallAction({
auth: roeAiAuth,
baseUrl: () => 'https://api.roe-ai.com/v1',
authMapping: async (auth) => {
return {
Authorization: `Bearer ${auth.props.apiKey}`,
};
},
}),
],
triggers: [],
});