Skip to main content
Glama

mcp-google-sheets

delete-collection.ts726 B
import { createAction } from '@activepieces/pieces-framework'; import { qdrantAuth } from '../..'; import { QdrantClient } from '@qdrant/js-client-rest'; import { collectionName } from '../common'; export const deleteCollection = createAction({ auth: qdrantAuth, name: 'delete_collection', displayName: 'Delete Collection', description: 'Delete a collection of your database', props: { collectionName, }, run: async ({ auth, propsValue }) => { const client = new QdrantClient({ apiKey: auth.key, url: auth.serverAddress, }); const collectionName = propsValue.collectionName as string; const response = await client.deleteCollection(collectionName); return response; }, });

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