Gmail MCP
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
Open the source (opens github.com) https://github.com/a1-x-tech/mcp-google-gmail
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: GOOGLE_GMAIL_ACCESS_TOKEN, GOOGLE_GMAIL_CLIENT_SECRET, GOOGLE_GMAIL_REFRESH_TOKEN. Use a key with the least access you can.
What it is
MCP servers from io.github.A1-x-Tech.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
mcp-google-gmail@1.1.2
From the server's entry in the official MCP Registry
Settings it asks for
GOOGLE_GMAIL_CLIENT_ID· Google OAuth2 client id (refresh-token flow).GOOGLE_GMAIL_CLIENT_SECRETsecret · Google OAuth2 client secret (refresh-token flow). Treat it as a secret.GOOGLE_GMAIL_REFRESH_TOKENsecret · Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.GOOGLE_GMAIL_ACCESS_TOKENsecret · Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.GOOGLE_GMAIL_OAUTH_PORT· Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is…GOOGLE_GMAIL_API_BASE· API root override.GOOGLE_GMAIL_TIMEOUT_MS· Per-request timeout in milliseconds.GOOGLE_GMAIL_MAX_RETRIES· Retries on transient errors (429 always; 5xx/network for reads).
Related
-
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.
-
google_workspace_mcp
MCP serversControl Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace MCP Server & CLI Tool
git clone https://github.com/taylorwilsdon/google_workspace_mcp.git -
Gmail
MCP serversGmail MCP Pack
@pipeworx/mcp-gmail@0.2.1 -
Google Workspace
MCP serversGive AI agents access to Gmail, Calendar, Drive, and more — multi-account, manifest-driven
@aaronsb/google-workspace-mcp@4.9.1 -
google-gmail
MCP serversList, read and send Gmail messages.
docker.io/magureai/mcp-google-gmail:2.0.0