Skip to content

Commit 0f3afac

Browse files
authored
Deployment: Dockerfile and Smithery config (#13)
* Add Dockerfile * Add Smithery configuration * Update README
1 parent 2554bc1 commit 0f3afac

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

Dockerfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
2+
FROM python:3.10-slim
3+
4+
# set working directory
5+
WORKDIR /app
6+
7+
# Install system dependencies
8+
RUN apt-get update && apt-get install -y --no-install-recommends gcc
9+
10+
# Copy project files
11+
COPY . /app
12+
13+
# Install pip dependencies
14+
RUN python -m pip install --upgrade pip && \
15+
pip install .
16+
17+
# Expose any necessary ports if needed (e.g., 8080)
18+
EXPOSE 8080
19+
20+
# Command to run MCP server
21+
CMD ["chroma-mcp"]

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
# Chroma MCP Server
2626

27+
[![smithery badge](https://smithery.ai/badge/@chroma-core/chroma-mcp)](https://smithery.ai/server/@chroma-core/chroma-mcp)
28+
2729
[The Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) is an open protocol designed for effortless integration between LLM applications and external data sources or tools, offering a standardized framework to seamlessly provide LLMs with the context they require.
2830

2931
This server provides data retrieval capabilities powered by Chroma, enabling AI models to create collections over generated data and user inputs, and retrieve that data using vector search, full text search, metadata filtering, and more.
@@ -164,3 +166,4 @@ export CHROMA_CUSTOM_AUTH_CREDENTIALS="your-custom-auth-credentials"
164166
export CHROMA_SSL="true"
165167
```
166168

169+

smithery.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
2+
3+
startCommand:
4+
type: stdio
5+
configSchema:
6+
# JSON Schema defining the configuration options for the MCP.
7+
{}
8+
commandFunction:
9+
# A JS function that produces the CLI command based on the given config to start the MCP on stdio.
10+
|-
11+
(config) => ({ command: 'chroma-mcp', args: [] })
12+
exampleConfig: {}

0 commit comments

Comments
 (0)