Skip to main content
Glama

Graphiti Knowledge Graph MCP Server

by michabbb
Dockerfile1.13 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 # Create non-root user RUN groupadd -r app && useradd -r -d /app -g app app # Copy project file COPY pyproject.toml ./ # Generate lockfile and install dependencies RUN --mount=type=cache,target=/root/.cache/uv \ uv lock --upgrade && \ uv sync --no-dev # Copy application code COPY graphiti_mcp_server.py ./ # Change ownership to app user RUN chown -Rv app:app /app # Switch to non-root user USER app # Expose port EXPOSE 8000 # Command to run the application CMD ["uv", "run", "/app/graphiti_mcp_server.py"]

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/michabbb/graphiti-mcp-but-working'

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