Skip to main content
Glama

cognee-mcp

Dockerfile1.27 kB
FROM python:3.11-slim # Define Poetry extras to install ARG POETRY_EXTRAS="\ # Storage & Databases \ postgres neo4j falkordb kuzu \ # Notebooks & Interactive Environments \ notebook \ # LLM & AI Frameworks \ langchain llama-index gemini huggingface ollama mistral groq \ # Evaluation & Monitoring \ deepeval evals posthog \ # Graph Processing & Code Analysis \ codegraph graphiti \ # Document Processing \ docs" # Set build argument ARG DEBUG # Set environment variable based on the build argument ENV DEBUG=${DEBUG} ENV PIP_NO_CACHE_DIR=true ENV PATH="${PATH}:/root/.poetry/bin" RUN apt-get install -y \ gcc \ libpq-dev WORKDIR /app COPY pyproject.toml poetry.lock /app/ RUN pip install poetry # Don't create virtualenv since docker is already isolated RUN poetry config virtualenvs.create false # Install the dependencies RUN poetry install --extras "${POETRY_EXTRAS}" --no-root --without dev # Set the PYTHONPATH environment variable to include the /app directory ENV PYTHONPATH=/app COPY cognee/ /app/cognee # Copy Alembic configuration COPY alembic.ini /app/alembic.ini COPY alembic/ /app/alembic COPY entrypoint.sh /app/entrypoint.sh RUN chmod +x /app/entrypoint.sh RUN sed -i 's/\r$//' /app/entrypoint.sh ENTRYPOINT ["/app/entrypoint.sh"]

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/topoteretes/cognee'

If you have feedback or need assistance with the MCP directory API, please join our Discord server