Skip to main content
Glama

mcp-google-sheets

client.ts748 B
import { httpClient, HttpMethod, HttpRequest } from '@activepieces/pieces-common'; export const BASE_URL = 'https://api.serpstat.com/v4'; export interface SerpstatApiCallProps { apiToken: string; method: HttpMethod; resourceUri: string; queryParams?: Record<string, any>; body?: any; } export const serpstatApiCall = async ({ apiToken, method, resourceUri, queryParams, body, }: SerpstatApiCallProps) => { const request: HttpRequest = { method, url: `${BASE_URL}${resourceUri}`, headers: { 'Content-Type': 'application/json', }, queryParams: { token: apiToken, ...queryParams, }, body, }; const response = await httpClient.sendRequest(request); return response.body; };

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