FROM python:3.12-slim
ARG PORT=8051
WORKDIR /app
# Install uv
RUN pip install uv
# Copy the MCP server files
COPY . .
# Install packages directly to the system (no virtual environment)
# Combining commands to reduce Docker layers
RUN uv pip install --system -e . && \
crawl4ai-setup
EXPOSE ${PORT}
# Command to run the MCP server
CMD ["python", "src/crawl4ai_mcp.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/ToKiDoO/crawl4ai-rag-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server