Skip to main content
Glama

mcp-google-sheets

props.ts496 B
import { CartloomAuthType } from './auth'; import { getProducts } from './api'; export async function buildProductsDropdown(auth: CartloomAuthType) { if (!auth) { return { options: [], disabled: true, placeholder: 'Please authenticate first', }; } const response = await getProducts(auth as CartloomAuthType); const options = response.data.map((product) => { return { label: product.name, value: product.pid }; }); return { options: 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