# Use Python 3.9 as the base image
FROM python:3.13-slim
# Set working directory in the container
WORKDIR /app
# Install curl for downloading files
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Copy requirements file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the MCP server code
COPY src/server.py .
# Invalidate pricing cache with this arg
ARG BUILD_DATE=2025-05-08
# Fetch pricing data from public S3 - bust cache daily
RUN echo $BUILD_DATE && curl https://cloudfix-public-aws-pricing.s3.us-east-1.amazonaws.com/pricing/ec2_pricing.json.gz | gunzip > ec2_pricing.json
# Run the server when the container starts
CMD ["python", "server.py"]
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/trilogy-group/aws-pricing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server