Skip to main content
Glama
Dockerfile873 B
# Multi-stage Dockerfile for KYC MCP Server # Stage 1: Builder FROM python:3.11-slim as builder WORKDIR /app # Install build dependencies RUN apt-get update && apt-get install -y \ gcc \ g++ \ make \ libffi-dev \ && rm -rf /var/lib/apt/lists/* # Copy requirements COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir --user -r requirements.txt # Stage 2: Runtime FROM python:3.11-slim WORKDIR /app # Copy Python dependencies from builder COPY --from=builder /root/.local /root/.local # Copy application code COPY src/ ./src/ COPY config/ ./config/ COPY metadata/ ./metadata/ COPY .env.example .env # Make sure scripts in .local are usable ENV PATH=/root/.local/bin:$PATH # Set Python path ENV PYTHONPATH=/app # Expose metrics port (optional) EXPOSE 9090 # Run the application CMD ["python", "-m", "src.main"]

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/CTD-Techs/CTD-MCP'

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