Skip to main content
Glama

cognee-mcp

queued_add_data_points.py568 B
async def queued_add_data_points(collection_name, data_points_batch): from grpclib import GRPCError from ..queues import add_data_points_queue try: await add_data_points_queue.put.aio((collection_name, data_points_batch)) except GRPCError: first_half, second_half = ( data_points_batch[: len(data_points_batch) // 2], data_points_batch[len(data_points_batch) // 2 :], ) await queued_add_data_points(collection_name, first_half) await queued_add_data_points(collection_name, second_half)

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/topoteretes/cognee'

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