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 { captureScreenshot } from './lib/actions/capture-screenshot';
import { PieceCategory } from '@activepieces/pieces-framework';
import {
createCustomApiCallAction,
httpClient,
HttpMethod,
} from '@activepieces/pieces-common';
import { peekshotAuth } from './lib/auth';
export const peekshot = createPiece({
displayName: 'PeekShot',
auth: peekshotAuth,
minimumSupportedRelease: '0.36.1',
logoUrl: 'https://cdn.activepieces.com/pieces/peekshot.png',
categories: [PieceCategory.PRODUCTIVITY],
authors: ['balwant1707'],
actions: [
captureScreenshot,
createCustomApiCallAction({
auth: peekshotAuth,
baseUrl: () => 'https://api.peekshot.com/api/v1',
authMapping: async (auth) => {
return {
'x-api-key': auth.secret_text,
};
},
}),
],
triggers: [],
});