FROM python:3.13-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
    nodejs npm \
    && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir mcp-proxy

RUN npm install -g @modelcontextprotocol/server-filesystem

COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

EXPOSE 3100

ENTRYPOINT ["/entrypoint.sh"]
