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_keyAPI key- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Chroma CLIHeadless setup and direct function calls. Chroma MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Chroma MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Chroma.
Claude Code Chroma MCP setup for Claude Code. Cursor Chroma MCP setup for Cursor. Codex Chroma MCP setup for Codex. OpenAI Agents Chroma MCP setup for OpenAI Agents SDK. Claude Agent SDK Chroma MCP setup for Claude Agent SDK. Vercel AI SDK Chroma MCP setup for Vercel AI SDK. LangChain Chroma MCP setup for LangChain. LangGraph Chroma MCP setup for LangGraph. CrewAI Chroma MCP setup for CrewAI. MCP clients Chroma MCP setup for Generic MCP Clients.
Chroma CLI Matrix
Use these pages for direct Chroma CLI workflows in scripts, CI, cron, and agent wrappers.
CI Chroma CLI for CI. Cron Jobs Chroma CLI for cron jobs. Shell Scripts Chroma CLI for shell scripts. Headless Automation Chroma CLI for headless automation. Coding Agents Chroma CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
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. |