Skip to main content
Glama

mcp-google-sheets

props.ts771 B
import { HttpMethod } from '@activepieces/pieces-common'; import { DropdownOption, Property } from '@activepieces/pieces-framework'; import { makeRequest } from './index'; export const chatbotIdDropdown = Property.Dropdown({ displayName: 'Chatbot', required: true, refreshers: [], options: async ({ auth }) => { if (!auth) { return { disabled: true, placeholder: 'Please connect your account first.', options: [], }; } const apiKey = auth as string; const response = await makeRequest(apiKey, HttpMethod.GET, '/get-chatbots'); const options: DropdownOption<string>[] = response.chatbots.map((chatbot: any) => ({ label: chatbot.chatbotName, value: chatbot.chatbotId, })); return { disabled: false, options, }; }, });

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