Skip to main content
Glama

mcp-google-sheets

get-collection-infos.ts748 B
import { QdrantClient } from '@qdrant/js-client-rest'; import { qdrantAuth } from '../..'; import { createAction } from '@activepieces/pieces-framework'; import { collectionName } from '../common'; export const collectionInfos = createAction({ auth: qdrantAuth, name: 'collection_infos', displayName: 'Get Collection Infos', description: 'Get the all the infos of a specific collection', props: { collectionName, }, run: async ({ auth, propsValue }) => { const client = new QdrantClient({ apiKey: auth.key, url: auth.serverAddress, }); const collectionName = propsValue.collectionName as string; const collectionInfos = await client.getCollection(collectionName); return collectionInfos; }, });

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