Skip to main content
Glama
Dockerfile.unifiedโ€ข808 B
# Unified Dockerfile for both MCP Host and RAG Server FROM python:3.13-slim WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ g++ \ make \ curl \ && rm -rf /var/lib/apt/lists/* # Install uv COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Copy dependency files COPY pyproject.toml ./ # Install dependencies RUN uv pip install --system --no-cache -r pyproject.toml # Copy application code COPY . . # Make startup scripts executable RUN chmod +x start_mcp_host.sh || true # Set environment variables ENV PYTHONUNBUFFERED=1 ENV PYTHONDONTWRITEBYTECODE=1 # Use a startup script that checks APP_TYPE env variable COPY docker-entrypoint.sh /docker-entrypoint.sh RUN chmod +x /docker-entrypoint.sh ENTRYPOINT ["/docker-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/Chukwuebuka-2003/ebuka_mcps'

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