diff --git a/cognee-mcp/Dockerfile b/cognee-mcp/Dockerfile index 45e601e0f..e229fb08a 100644 --- a/cognee-mcp/Dockerfile +++ b/cognee-mcp/Dockerfile @@ -20,15 +20,16 @@ RUN apt-get update && apt-get install -y \ gcc \ libpq-dev -RUN apt-get install -y \ - gcc \ - libpq-dev - COPY . /app RUN uv sync --reinstall # Place executables in the environment at the front of the path -ENV PATH="/app/:/app/.venv/bin:$PATH" +ENV PATH="/app:/app/.venv/bin:$PATH" + +# Set environment variables for MCP server +ENV PYTHONUNBUFFERED=1 +ENV MCP_LOG_LEVEL=DEBUG +ENV PYTHONPATH=/app ENTRYPOINT ["cognee"] diff --git a/cognee-mcp/README.md b/cognee-mcp/README.md index c9926270c..fa8888f29 100644 --- a/cognee-mcp/README.md +++ b/cognee-mcp/README.md @@ -82,5 +82,5 @@ http://localhost:5173?timeout=120000 To apply new changes while developing cognee you need to do: 1. `poetry lock` in cognee folder -2. `uv sync --dev --all-extras --reinstall ` +2. `uv sync --dev --all-extras --reinstall` 3. `mcp dev src/server.py` diff --git a/cognee-mcp/pyproject.toml b/cognee-mcp/pyproject.toml index 972b44b05..1f9bae195 100644 --- a/cognee-mcp/pyproject.toml +++ b/cognee-mcp/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "cognee-mcp" -version = "0.1.0" +version = "0.2.0" description = "A MCP server project" readme = "README.md" requires-python = ">=3.10"