Skip to main content
Glama

mcp-google-sheets

platforms-api.ts930 B
import { PlatformWithoutSensitiveData, UpdatePlatformRequestBody, } from '@activepieces/shared'; import { api } from './api'; import { authenticationSession } from './authentication-session'; export const platformApi = { getCurrentPlatform() { const platformId = authenticationSession.getPlatformId(); if (!platformId) { throw Error('No platform id found'); } return api.get<PlatformWithoutSensitiveData>(`/v1/platforms/${platformId}`); }, verifyLicenseKey(licenseKey: string) { const platformId = authenticationSession.getPlatformId(); if (!platformId) { throw Error('No platform id found'); } return api.post<void>(`/v1/license-keys/verify`, { platformId, licenseKey, }); }, update(req: UpdatePlatformRequestBody, platformId: string) { return api.post<PlatformWithoutSensitiveData>( `/v1/platforms/${platformId}`, req, ); }, };

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