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