Skip to main content
Glama

mcp-google-sheets

client.ts975 B
import { AuthenticationType, httpClient, HttpMethod, HttpRequest, HttpResponse, HttpMessageBody, } from '@activepieces/pieces-common'; import { ZendeskSellAuth } from './auth'; export const ZENDESK_SELL_API_URL = 'https://api.getbase.com'; export async function callZendeskApi<T>( method: HttpMethod, endpoint: string, auth: ZendeskSellAuth, body?: HttpMessageBody, query?: Record<string, string> ): Promise<HttpResponse<T>> { const request: HttpRequest = { method: method, url: `${ZENDESK_SELL_API_URL}/${endpoint}`, authentication: { type: AuthenticationType.BASIC, username: `${auth.email}/token`, password: auth.api_token, }, body: body, queryParams: query, headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' } }; return httpClient.sendRequest<T>(request); }

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