data
Chroma MCP, CLI, and Lua Integration for AI Agents
Chroma integration docs for AI agents: MCP gateway setup, Chroma CLI commands, Lua API reference, credentials, and function schemas.Chroma for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
chroma.chroma_get_health | Read read | 0 | Check the health status of the Chroma vector database server. Returns heartbeat and version information. |
chroma.chroma_list_collections | Read read | 2 | List all vector collections in Chroma. Returns collection names and IDs that can be used for further operations. |
chroma.chroma_count_collections | Read read | 0 | Count vector collections in the configured Chroma tenant/database. |
chroma.chroma_get_collection | Read read | 1 | Get details of a specific Chroma collection by its name or UUID, including metadata and document count. |
chroma.chroma_create_collection | Write write | 3 | Create a new vector collection in Chroma. Collections are used to store and query document embeddings. |
chroma.chroma_update_collection | Write write | 4 | Update collection name, metadata, or configuration. |
chroma.chroma_delete_collection | Write write | 1 | Delete a collection and all records in it. |
chroma.chroma_add_documents | Write write | 6 | Add documents with embeddings to a Chroma collection. Each document requires an ID and either embeddings or text content. |
chroma.chroma_update_documents | Write write | 6 | Update existing records in a Chroma collection. |
chroma.chroma_upsert_documents | Write write | 6 | Upsert records in a Chroma collection. |
chroma.chroma_delete_documents | Write write | 5 | Delete records from a collection by IDs or metadata filters. |
chroma.chroma_count_documents | Read read | 1 | Count records in a Chroma collection. |
chroma.chroma_query_documents | Read read | 9 | Search for similar documents in a Chroma collection using query embeddings or text. Returns the most similar documents ranked by distance. |
chroma.chroma_get_document | Read read | 7 | Retrieve specific documents from a Chroma collection by their IDs. Returns the full documents including text, embeddings, and metadata. |