Skip to main content
Glama

Chroma MCP Server

Official

chroma_add_documents

Enable AI models to store and organize text documents in a Chroma collection by specifying collection names, document IDs, and optional metadata for efficient retrieval.

Instructions

Add documents to a Chroma collection.

Args: collection_name: Name of the collection to add documents to documents: List of text documents to add ids: List of IDs for the documents (required) metadatas: Optional list of metadata dictionaries for each document

Input Schema

NameRequiredDescriptionDefault
collection_nameYes
documentsYes
idsYes
metadatasNo

Input Schema (JSON Schema)

{ "properties": { "collection_name": { "title": "Collection Name", "type": "string" }, "documents": { "items": { "type": "string" }, "title": "Documents", "type": "array" }, "ids": { "items": { "type": "string" }, "title": "Ids", "type": "array" }, "metadatas": { "anyOf": [ { "items": { "additionalProperties": true, "type": "object" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Metadatas" } }, "required": [ "collection_name", "documents", "ids" ], "title": "chroma_add_documentsArguments", "type": "object" }

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/chroma-core/chroma-mcp'

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