Skip to main content
Glama

Graphiti MCP Pro

by itcook
Dockerfile1.58 kB
# syntax=docker/dockerfile:1.9 FROM python:3.12-slim WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ ca-certificates \ && rm -rf /var/lib/apt/lists/* # Install uv using the installer script ADD https://astral.sh/uv/install.sh /uv-installer.sh RUN sh /uv-installer.sh && rm /uv-installer.sh # Add uv to PATH ENV PATH="/root/.local/bin:${PATH}" # Configure uv for optimal Docker usage ENV UV_COMPILE_BYTECODE=1 \ UV_LINK_MODE=copy \ UV_PYTHON_DOWNLOADS=never \ MCP_SERVER_HOST="0.0.0.0" \ PYTHONUNBUFFERED=1 \ DOCKER_ENV=1 # Create non-root user RUN groupadd -r app && useradd -r -d /app -g app app # Copy project files for dependency installation (better caching) COPY pyproject.toml uv.lock ./ # Copy the packages needed for MCP server and manager backend COPY ./config /app/config COPY ./graphiti_pro_core /app/graphiti_pro_core COPY ./manager/backend /app/backend COPY ./utils /app/utils # Install dependencies first (better layer caching) RUN --mount=type=cache,target=/root/.cache/uv \ uv sync --frozen --no-dev # Copy the main server file with proper ownership COPY --chown=app:app main.py ./ # Create database directory with proper permissions RUN mkdir -p /app/db && chown app:app /app/db # Create cache directory for uv with proper permissions RUN mkdir -p /app/.cache && chown app:app /app/.cache # Switch to non-root user USER app # Expose MCP server port EXPOSE 8000 # Command to run the MCP server with manager backend CMD ["uv", "run", "main.py", "-m"]

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/itcook/graphiti-mcp-pro'

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