Skip to main content
Glama

mcp-google-sheets

index.ts1.16 kB
import { createPiece, PieceAuth, Property } from "@activepieces/pieces-framework"; import { httpOauth2RequestAction } from "./lib/actions/send-oauth2-http-request"; export const httpOauth2Auth = PieceAuth.OAuth2({ description: 'OAuth2', authUrl: '{authUrl}', tokenUrl: '{tokenUrl}', required: true, scope: '{scopes}'.split(' '), grantType: 'both_client_credentials_and_authorization_code', props: { authUrl: Property.ShortText({ displayName: 'Authorize URL', required: true, description: 'OAuth2 Authorize URL', }), tokenUrl: Property.ShortText({ displayName: 'Token URL', required: true, description: 'OAuth2 Token URL', }), scopes: Property.ShortText({ displayName: 'Scopes (whitespace separated)', required: true, description: 'OAuth2 Scopes', }), }, }); export const httpOauth2ClientCredentials = createPiece({ displayName: "HTTP (OAuth2)", auth: httpOauth2Auth, minimumSupportedRelease: '0.56.0', logoUrl: "https://cdn.activepieces.com/pieces/http.png", authors: [ 'mhshiba' ], actions: [ httpOauth2RequestAction, ], triggers: [], });

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