Skip to main content
Glama

Gmail MCP Agent

Dockerfile793 B
FROM python:3.11-slim # Set working directory WORKDIR /app # Install system dependencies RUN apt-get update && apt-get install -y \ gcc \ && rm -rf /var/lib/apt/lists/* # Copy requirements first for better caching COPY requirements.txt . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Install MCP dependencies RUN pip install --no-cache-dir mcp # Copy application files COPY . . # Create logs directory RUN mkdir -p /app/logs # Set environment variables ENV PYTHONPATH=/app ENV PYTHONUNBUFFERED=1 # Expose port (if needed for health checks) EXPOSE 8000 # Health check HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ CMD python -c "import sys; sys.exit(0)" # Run the MCP server CMD ["python", "mcp_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/brandononchain/GMAIL-MCP-Agent'

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