Skip to main content
Glama

mcp-google-sheets

find-a-plan.ts735 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { microsoft365PlannerAuth, microsoft365PlannerCommon } from '../common'; export const findAPlan = createAction({ auth: microsoft365PlannerAuth, name: 'findAPlan', displayName: 'Find a Plan', description: 'Finds a plan by field.', props: { title: Property.ShortText({ displayName: 'Title', description: 'The title of the plan to search for', required: true, }), }, async run({ auth, propsValue: { title } }) { const plans = await microsoft365PlannerCommon.listPlans({ auth }); return plans.filter( (plan) => plan.title && plan.title.toLowerCase().includes(title.toLowerCase()) ); }, });

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