We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/araxiaonline/mysql-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•782 B
# Stage 1: Build dependencies
FROM python:3.12-alpine AS builder
RUN apk add --no-cache gcc musl-dev
WORKDIR /build
COPY requirements.txt .
RUN pip install --no-cache-dir --target=/build/deps -r requirements.txt
# Stage 2: Minimal runtime image
FROM python:3.12-alpine
# Create non-root user for security
RUN adduser -D -u 1000 mcp
WORKDIR /app
# Copy only the installed packages from builder
COPY --from=builder /build/deps /usr/local/lib/python3.12/site-packages/
# Copy application code
COPY src/ ./src/
# Create config directory for SQLite persistence
RUN mkdir -p /app/config && chown mcp:mcp /app/config
# Switch to non-root user
USER mcp
# Set Python to run unbuffered for proper logging
ENV PYTHONUNBUFFERED=1
# Run the MCP server
CMD ["python", "src/server.py"]