[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "chroma-mcp-server"
version = "0.1.0"
description = "A Model Context Protocol (MCP) server that exposes ChromaDB vector database operations as MCP tools"
readme = "README.md"
license = {text = "MIT"}
authors = [
{name = "Your Name", email = "your.email@example.com"}
]
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"fastmcp>=0.2.0",
"chromadb>=0.4.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
openai = [
"openai>=1.0.0",
]
cohere = [
"cohere>=4.0.0",
]
instructor = [
"InstructorEmbedding>=1.0.0",
]
sentence-transformers = [
"sentence-transformers>=2.2.0",
]
huggingface = [
"transformers>=4.21.0",
"torch>=2.0.0",
]
[project.scripts]
chroma-mcp-server = "app.chroma_mcp_server:main"
[tool.hatch.build.targets.wheel]
packages = ["src/app"]
[tool.hatch.envs.default]
dependencies = [
"fastmcp>=0.2.0",
"chromadb>=0.4.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
]
[tool.hatch.envs.dev]
dependencies = [
"fastmcp>=0.2.0",
"chromadb>=0.4.0",
"pydantic>=2.0.0",
"python-dotenv>=1.0.0",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
[tool.hatch.envs.test]
dependencies = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
]
[tool.hatch.envs.lint]
dependencies = [
"black>=23.0.0",
"isort>=5.12.0",
"mypy>=1.0.0",
]
[[tool.hatch.envs.lint.matrix]]
python = ["38", "39", "310", "311"]
[tool.hatch.scripts]
test = "pytest {args}"
format = ["isort {args:src}", "black {args:src}"]
lint = ["mypy {args:src}", "isort --check-only {args:src}", "black --check {args:src}"]
type-check = "mypy {args:src}"
serve = "python -m app.chroma_mcp_server {args}"
[tool.black]
line-length = 88
target-version = ['py38']
[tool.isort]
profile = "black"
line_length = 88
[tool.mypy]
python_version = "3.8"
warn_return_any = true
warn_unused_configs = true