We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/riefer02/mezmo-logs-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# Use Python 3.11 slim image for better performance and security
FROM python:3.11-slim
# Set environment variables for Python
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1
# Create non-root user for security
RUN groupadd -r mcpuser && useradd -r -g mcpuser mcpuser
# Install system dependencies
RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Copy requirements first for better Docker layer caching
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY . .
# Change ownership to non-root user
RUN chown -R mcpuser:mcpuser /app
# Switch to non-root user
USER mcpuser
# Expose ports
EXPOSE 18080 9090
# Use proper signal handling for graceful shutdown
CMD ["python", "server.py"]