Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.1] - 2025-04-03
## [0.2.2] - 04/08/2025

### Changed

- Update chromadb to v1.0.3
- Fix include on query and get to match chromadb Python client


## [0.2.1] - 04/03/2025

### Added

Expand All @@ -15,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded to v1.0.0 of Chroma
- Fix dotenv path support during argparse

## [0.2.0] - 2025-04-02
## [0.2.0] - 04/02/2025

### Added
- New `delete_document` tool for removing documents from collections
Expand All @@ -32,12 +40,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security
- Enhanced SSL handling and security configurations

## [0.1.11] - 2025-02-21
## [0.1.11] - 02/21/2025

### Changed
- Version bump

## [0.1.10] - 2024-02-21
## [0.1.10] - 02/21/2024

### Added
- Initial release
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "chroma-mcp"
version = "0.2.1"
version = "0.2.2"
description = "Chroma MCP Server - Vector Database Integration for LLM Applications"
readme = "README.md"
requires-python = ">=3.10"
Expand All @@ -16,7 +16,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"chromadb>=1.0.0",
"chromadb>=1.0.3",
"cohere>=5.14.2",
"httpx>=0.28.1",
"mcp[cli]>=1.2.1",
Expand Down
8 changes: 4 additions & 4 deletions src/chroma_mcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ async def chroma_query_documents(
n_results: int = 5,
where: Optional[Dict] = None,
where_document: Optional[Dict] = None,
include: List[str] = ["documents", "embeddings", "metadatas", "distances"]
include: List[str] = ["documents", "metadatas", "distances"]
) -> Dict:
"""Query documents from a Chroma collection with advanced filtering.

Expand All @@ -431,7 +431,7 @@ async def chroma_query_documents(
- Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
- Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
where_document: Optional document content filters
include: List of what to include in response. By default, this will include documents, embeddings, metadatas, and distances.
include: List of what to include in response. By default, this will include documents, metadatas, and distances.
"""
if not query_texts:
raise ValueError("The 'query_texts' list cannot be empty.")
Expand All @@ -455,7 +455,7 @@ async def chroma_get_documents(
ids: Optional[List[str]] = None,
where: Optional[Dict] = None,
where_document: Optional[Dict] = None,
include: List[str] = ["documents", "embeddings", "metadatas"],
include: List[str] = ["documents", "metadatas"],
limit: Optional[int] = None,
offset: Optional[int] = None
) -> Dict:
Expand All @@ -471,7 +471,7 @@ async def chroma_get_documents(
- Logical AND: {"$and": [{"field1": {"$eq": "value1"}}, {"field2": {"$gt": 5}}]}
- Logical OR: {"$or": [{"field1": {"$eq": "value1"}}, {"field1": {"$eq": "value2"}}]}
where_document: Optional document content filters
include: List of what to include in response. By default, this will include documents, embeddings, and metadatas.
include: List of what to include in response. By default, this will include documents, and metadatas.
limit: Optional maximum number of documents to return
offset: Optional number of documents to skip before returning results

Expand Down
18 changes: 9 additions & 9 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.