TokenToSeaMCP Hub
中文 Console

Gmail MCP

A1-x-Tech

MCP server for the Gmail API — search, read and send email, manage drafts, labels and the trash. For Claude, Cursor, Codex and other AI clients.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add gmail-a1-x-tech --env GOOGLE_GMAIL_CLIENT_SECRET='<GOOGLE_GMAIL_CLIENT_SECRET>' --env GOOGLE_GMAIL_REFRESH_TOKEN='<GOOGLE_GMAIL_REFRESH_TOKEN>' --env GOOGLE_GMAIL_ACCESS_TOKEN='<GOOGLE_GMAIL_ACCESS_TOKEN>' -- npx -y mcp-google-gmail

Environment variables

  • GOOGLE_GMAIL_CLIENT_SECRET
  • GOOGLE_GMAIL_REFRESH_TOKEN
  • GOOGLE_GMAIL_ACCESS_TOKEN

Replace the placeholders with your own credentials and keep them out of version control.