chroma_list_collections
List collections in the database with optional pagination.
limitoffset
io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026
Vector collections and document search backed by a Chroma HTTP service.
面向 Chroma 相容向量服務的輕量 stdio MCP 用戶端,讓助理建立集合、寫入文件並進行最近鄰檢索。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
參照 儲存庫 中的啟動說明。
embedbase gives an agent — or you, at a terminal — a tidy way to work with vector collections: create them, fill them with documents, and query them for the closest matches. It speaks to a Chroma-compatible HTTP service over its v2 REST API, so the embedding store stays a separate process and this tool stays a thin, testable client.
Point it at a running service with CHROMA_URL or EMBEDBASE_URL
(without either, it assumes http://localhost:8000). Collections are
addressed by name at the MCP and CLI layers; internally the client
resolves each name to its server id before calling the id-scoped
document endpoints, exactly as the REST API requires.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Exit codes: 0 on success, 1 when the service call fails (the error
includes the HTTP status), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration:
All tools take collection_name (string) unless noted. Optional
parameters are omitted from the request when not supplied.
Requests go to the v2 tenant/database paths
(/api/v2/tenants/default_tenant/databases/default_database/collections...).
Service errors come back as tool errors carrying the HTTP status —
results are never invented.
The client core sits behind an injectable fetch function, which is what the test suite drives: URL construction, request bodies, id resolution, count unwrapping, and error surfacing are all covered without a running server.
MIT — see LICENSE.
來源:README.md,提交 e555a07
List collections in the database with optional pagination.
limitoffsetCreate a new collection with optional metadata and embedding function.
metadatacollection_name必填embedding_function_nameReturn a preview of documents stored in a collection.
limitcollection_name必填Get metadata and configuration details for a collection.
collection_name必填Get the number of records stored in a collection.
collection_name必填Rename a collection or replace its metadata.
new_namenew_metadatacollection_name必填Delete a collection and all of its records.
collection_name必填Add documents with optional metadata and ids to a collection.
idsdocuments必填metadatascollection_name必填Query a collection for documents nearest to the given query texts.
whereincluden_resultsquery_texts必填where_documentcollection_name必填Retrieve documents from a collection by ids or filter.
idslimitwhereoffsetincludecollection_name必填Update documents, metadata, or embeddings for existing ids in a collection.
ids必填documentsmetadatasembeddingscollection_name必填Delete documents from a collection by ids or filter.
idswherecollection_name必填已滿足適用檢查項的 90%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
npx @reneturcios/embedbase listdocker run -i ghcr.io/cloudcorprecords/embedbase# List collections (pagination is optional)embedbase list --limit 20 --offset 0
# Inspect one collection, or count its recordsembedbase info notesembedbase count notes
# Create a collectionembedbase create notes
# Start the MCP serverembedbase mcp
embedbase --versionnpx -y @reneturcios/embedbase mcp{ "mcpServers": { "embedbase": { "command": "npx", "args": ["-y", "@reneturcios/embedbase", "mcp"], "env": { "CHROMA_URL": "http://localhost:8000" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, fake fetch only, no live servicenpm run dev # run the CLI from source via tsx