Skip to main content
Glama

mcp-google-sheets

index.ts1.22 kB
import { createCustomApiCallAction } from '@activepieces/pieces-common'; import { createPiece, OAuth2PropertyValue, PieceAuth, } from '@activepieces/pieces-framework'; import { PieceCategory } from '@activepieces/shared'; import { createIssueAction } from './lib/actions/create-issue-action'; import { issuesEventTrigger } from './lib/trigger/issue-event'; export const gitlabAuth = PieceAuth.OAuth2({ required: true, authUrl: 'https://gitlab.com/oauth/authorize', tokenUrl: 'https://gitlab.com/oauth/token', scope: ['api', 'read_user'], }); export const gitlab = createPiece({ displayName: 'GitLab', description: 'Collaboration tool for developers', auth: gitlabAuth, minimumSupportedRelease: '0.30.0', logoUrl: 'https://cdn.activepieces.com/pieces/gitlab.png', categories: [PieceCategory.DEVELOPER_TOOLS], authors: ["kishanprmr","MoShizzle","khaledmashaly","abuaboud"], actions: [ createIssueAction, createCustomApiCallAction({ baseUrl: () => 'https://gitlab.com/api/v4', auth: gitlabAuth, authMapping: async (auth) => ({ Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`, }), }), ], triggers: [issuesEventTrigger], });

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