Skip to main content
Glama

mcp-google-sheets

index.tsx1.22 kB
import React from 'react'; import { useBuilderStateContext } from '@/app/builder/builder-hooks'; import { flowStructureUtil, StepOutput, FlowAction, FlowActionType, } from '@activepieces/shared'; import { FlowStepAgent } from './flow-step-agent'; import { FlowStepInputOutput } from './flow-step-input-output'; type FlowStepIOProps = { stepDetails: StepOutput; }; const FlowStepIO = React.memo(({ stepDetails }: FlowStepIOProps) => { const [flowVersion, selectedStepName] = useBuilderStateContext((state) => [ state.flowVersion, state.selectedStep, ]); const selectedStep = selectedStepName ? (flowStructureUtil.getStep( selectedStepName, flowVersion.trigger, ) as FlowAction) : undefined; if (!selectedStep) { return null; } const isAgentStep = selectedStep.type === FlowActionType.PIECE && flowStructureUtil.isAgentPiece(selectedStep); if (isAgentStep) { return ( <FlowStepAgent stepDetails={stepDetails} selectedStep={selectedStep} /> ); } return ( <FlowStepInputOutput stepDetails={stepDetails} selectedStep={selectedStep} /> ); }); FlowStepIO.displayName = 'FlowStepIO'; export { FlowStepIO };

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