Skip to main content
Glama

mcp-google-sheets

index.ts1.15 kB
import { HttpMethod, httpClient } from '@activepieces/pieces-common'; export const JinaAICommon = { baseUrl: 'https://api.jina.ai/v1', readerUrl: 'https://r.jina.ai', readerSearchUrl: 'https://s.jina.ai', euReaderUrl: 'https://eu-r-beta.jina.ai', euReaderSearchUrl: 'https://eu-s-beta.jina.ai', deepsearchUrl: 'https://deepsearch.jina.ai/v1/chat/completions', classifierUrl: 'https://api.jina.ai/v1/classify', classifierTrainUrl: 'https://api.jina.ai/v1/train', async makeRequest({ url, method, auth, body, headers = {}, }: { url: string; method: HttpMethod; auth: string; body?: Record<string, unknown>; headers?: Record<string, string>; }) { const response = await httpClient.sendRequest({ method, url, headers: { Authorization: `Bearer ${auth}`, 'Content-Type': 'application/json', ...headers, }, body, }); if (response.status < 200 || response.status >= 300) { throw new Error( `Jina AI API returned an error: ${response.status} ${response.body}` ); } 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