Skip to main content
Glama

mcp-google-sheets

index.ts1.08 kB
import { httpClient, HttpMethod } from '@activepieces/pieces-common'; const BASE_URL = 'https://api.pandadoc.com/public/v1'; export const pandadocClient = { async makeRequest<T = any>( auth: string, method: HttpMethod, endpoint: string, body?: any ): Promise<T> { const response = await httpClient.sendRequest<T>({ method, url: `${BASE_URL}${endpoint}`, headers: { Authorization: `API-Key ${auth}`, 'Content-Type': 'application/json', }, body: body ? JSON.stringify(body) : undefined, }); return response.body; }, async makeFileRequest( auth: string, method: HttpMethod, endpoint: string, file?: any ): Promise<any> { const formData = new FormData(); if (file) { formData.append('file', file); } const response = await httpClient.sendRequest({ method, url: `${BASE_URL}${endpoint}`, headers: { Authorization: `API-Key ${auth}`, }, body: formData, }); return response.body; }, }; export * from './auth';

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