Skip to main content
Glama

mcp-google-sheets

index.ts767 B
import { createAuthClient, googleSearchConsoleAuth } from '../../'; import { PiecePropValueSchema, Property } from '@activepieces/pieces-framework'; export const commonProps = { siteUrl: Property.Dropdown({ displayName: 'Site URL', required: true, refreshers: [], refreshOnSearch: false, options: async ({ auth }) => { const authValue = auth as PiecePropValueSchema< typeof googleSearchConsoleAuth >; const webmasters = createAuthClient(authValue.access_token); const res = await webmasters.sites.list(); const sites = res.data.siteEntry || []; return { options: sites.map((site: any) => ({ label: site.siteUrl, value: site.siteUrl, })), }; }, }), };

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