Skip to main content
Glama
Dockerfile867 B
FROM python:3.13-slim AS base ENV PYTHONDONTWRITEBYTECODE=1 \ PYTHONUNBUFFERED=1 RUN useradd --create-home --shell /bin/bash appuser WORKDIR /app COPY requirements.txt /app/requirements.txt RUN apt-get update \ && apt-get install --no-install-recommends -y curl build-essential \ && pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir -r /app/requirements.txt \ && apt-get purge -y build-essential \ && apt-get autoremove -y \ && rm -rf /var/lib/apt/lists/* COPY mcp_server /app/mcp_server COPY agent_integration /app/agent_integration RUN chown -R appuser:appuser /app ENV PYTHONPATH=/app EXPOSE 8000 HEALTHCHECK --interval=30s --timeout=5s --start-period=20s CMD curl -fsS http://127.0.0.1:8000/health || exit 1 USER appuser CMD ["uvicorn", "mcp_server.server:app", "--host", "0.0.0.0", "--port", "8000"]

Latest Blog Posts

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/Senpai-Sama7/Ultimate_MCP'

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