Skip to main content
Glama

mcp-google-sheets

find-group-by-name.ts725 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { oktaAuth, makeOktaRequest } from '../common/common'; export const findGroupByNameAction = createAction({ auth: oktaAuth, name: 'find_group_by_name', displayName: 'Find Group by Name', description: 'Search for an Okta group by name', props: { groupName: Property.ShortText({ displayName: 'Group Name', description: 'The group name to search for', required: true, }), }, async run(context) { const groupName = context.propsValue.groupName; const response = await makeOktaRequest( context.auth, `/groups?q=${encodeURIComponent(groupName)}` ); return response.body; }, });

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