KosmoKrator

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.

7 functions 5 read 2 write API key auth

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.

Machine-Readable Metadata
integration_slug
chroma
route_slug
chroma
package
chroma
auth_strategy
api_key API key
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Chroma MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Chroma.

Chroma CLI Matrix

Use these pages for direct Chroma CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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_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_add_documents Write write 5 Add documents with embeddings to a Chroma collection. Each document requires an ID and either embeddings or text content.
chroma.chroma_query_documents Read read 7 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.
chroma.chroma_get_health Read read 0 Check the health status of the Chroma vector database server. Returns heartbeat and version information.