Skip to main content
Glama

Activepieces MCP Server

by eldoonreval
index.tsβ€’1.89 kB
import { createPiece, PieceAuth, OAuth2PropertyValue, } from '@activepieces/pieces-framework'; import { PieceCategory } from '@activepieces/shared'; import { createFolderAction } from './lib/actions/create-folder'; import { createListAction } from './lib/actions/create-list'; import { createListItemAction } from './lib/actions/create-list-item'; import { updateListItemAction } from './lib/actions/update-list-item'; import { deleteListItemAction } from './lib/actions/delete-list-item'; import { findListItemAction } from './lib/actions/search-list-item'; import { uploadFile } from './lib/actions/upload-file'; import { createCustomApiCallAction } from '@activepieces/pieces-common'; export const microsoftSharePointAuth = PieceAuth.OAuth2({ description: 'Authentication for Microsoft SharePoint', authUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/authorize', tokenUrl: 'https://login.microsoftonline.com/common/oauth2/v2.0/token', required: true, scope: [ 'openid', 'email', 'profile', 'offline_access', 'Sites.Manage.All', 'Files.ReadWrite', ], }); export const microsoftSharePoint = createPiece({ displayName: 'Microsoft SharePoint', auth: microsoftSharePointAuth, minimumSupportedRelease: '0.27.1', logoUrl: 'https://cdn.activepieces.com/pieces/microsoft-sharepoint.png', categories: [PieceCategory.CONTENT_AND_FILES], authors: ['kishanprmr'], actions: [ createFolderAction, createListAction, createListItemAction, updateListItemAction, deleteListItemAction, findListItemAction, uploadFile, createCustomApiCallAction({ auth: microsoftSharePointAuth, baseUrl: () => 'https://graph.microsoft.com/v1.0/sites', authMapping: async (auth) => ({ Authorization: `Bearer ${(auth as OAuth2PropertyValue).access_token}`, }), }), ], 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/eldoonreval/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server