Skip to main content
Glama

EPA Envirofacts MCP Server

by zachegner
Dockerfile937 B
# EPA Envirofacts MCP Server Dockerfile FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies for geocoding and networking RUN apt-get update && apt-get install -y \ curl \ && rm -rf /var/lib/apt/lists/* # Copy requirements and install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy source code COPY src/ ./src/ COPY server.py config.py ./ # Create non-root user for security RUN groupadd -r appuser && useradd -r -g appuser appuser RUN chown -R appuser:appuser /app USER appuser # Expose port (though MCP typically uses stdio) EXPOSE 8000 # Health check using the built-in health_check tool HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import asyncio; from src.client import FRSClient; asyncio.run(FRSClient().health_check())" || exit 1 # Default command 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/zachegner/envirofacts-mcp'

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