Skip to main content
Glama

Gmail AutoAuth MCP Server

MIT License
2,612
682
  • Linux
  • Apple
FROM node:20-slim WORKDIR /app # Copy package files COPY package.json package-lock.json* ./ # Copy source files and config first COPY tsconfig.json ./ COPY src ./src # Install dependencies (which will trigger build via prepare script) RUN npm ci # Create directory for credentials and config RUN mkdir -p /gmail-server /root/.gmail-mcp # Set environment variables ENV NODE_ENV=production ENV GMAIL_CREDENTIALS_PATH=/gmail-server/credentials.json ENV GMAIL_OAUTH_PATH=/root/.gmail-mcp/gcp-oauth.keys.json # Expose port for OAuth flow EXPOSE 3000 # Set entrypoint command ENTRYPOINT ["node", "dist/index.js"]

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/GongRzhe/Gmail-MCP-Server'

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