Skip to main content
Glama

Activepieces MCP Server

by eldoonreval
step-drag-overlay.tsxβ€’1.35 kB
import { t } from 'i18next'; import { piecesHooks } from '@/features/pieces/lib/pieces-hook'; import { Action, Trigger } from '@activepieces/shared'; import { flowUtilConsts } from './utils/consts'; const StepDragOverlay = ({ step, lefSideBarContainerWidth, cursorPosition, }: { step: Action | Trigger; lefSideBarContainerWidth: number; cursorPosition: { x: number; y: number }; }) => { const left = `${ cursorPosition.x - flowUtilConsts.STEP_DRAG_OVERLAY_WIDTH / 2 - lefSideBarContainerWidth }px`; const top = `${cursorPosition.y - flowUtilConsts.STEP_DRAG_OVERLAY_HEIGHT}px`; const { stepMetadata } = piecesHooks.useStepMetadata({ step, }); return ( <div className={ 'p-4 absolute left-0 top-0 opacity-75 flex items-center justify-center rounded-lg border border-solid border bg-white' } style={{ left, top, height: `${flowUtilConsts.STEP_DRAG_OVERLAY_HEIGHT}px`, width: `${flowUtilConsts.STEP_DRAG_OVERLAY_WIDTH}px`, }} > <img id={t('logo')} className={'object-contain left-0 right-0 static'} src={ step.settings?.inputUiInfo?.customizedInputs?.logoUrl ?? stepMetadata?.logoUrl } alt={t('Step Icon')} /> </div> ); }; export default StepDragOverlay;

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/eldoonreval/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server