MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
MCPpedia last refreshed this data
io.github.A1-x-Tech/mcp-google-gmail is an MCP server that MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 62/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"google-gmail": {
"env": {
"GOOGLE_GMAIL_CLIENT_ID": "your_client_id",
"GOOGLE_GMAIL_CLIENT_SECRET": "your_client_secret",
"GOOGLE_GMAIL_REFRESH_TOKEN": "your_refresh_token"
},
"args": [
"-y",
"mcp-google-gmail@latest"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mcp-google-gmail against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in communication
Official TypeScript library for the Telnyx API
X/Twitter automation MCP: scrape, post, schedule, analyze, engage. No API key required.
AI email marketing MCP: newsletters, drip campaigns, email automation, transactional emails+CRM sync
Open-source SMS gateway. Turn your Android phone into an SMS API: send and receive SMS from your apps over REST and webhooks. Self-hostable, with a free hosted plan.
MCP Security Weekly
Get CVE alerts and security updates for io.github.A1-x-Tech/mcp-google-gmail and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
English | Русский
A1 Gmail MCP lets an AI app work with your Gmail mailbox in plain language. Search and read mail, prepare replies as drafts, send them when you are ready, keep labels tidy and use the trash instead of permanent deletion.
It uses the Gmail API with your Google account. It distinguishes a draft you can still edit from a sent email that cannot be recalled, and makes the limits of the Gmail API explicit instead of implying that every mail task is reversible.
127.0.0.1 with PKCE and keeps the tokens itself — no config files, no restart.gmail.modify only — no permanent deletion and no access to Gmail settings.Start with a read-only question:
Show my unread emails from the last week and tell me which ones need a reply.
Connect the server · Explore use cases · Open technical documentation
You: What is unread in my inbox from this week about the Acme contract?
Assistant: Searches with Gmail query syntax and shows senders, subjects, dates and snippets. Nothing changes.
You: Draft a reply to the latest one: we send the signed copy on Friday.
Assistant: Creates a draft in the same thread and shows it for review. Nothing is sent.
You: Send it.
Assistant: Sends the draft. Sending is a separate, explicitly destructive step, so your AI app can ask for confirmation first.
You need Node.js 20+ and a Google account. Credentials are not required at install time — the server connects from the conversation.
In the app: open Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y mcp-google-gmail@latest and environment variables GOOGLE_GMAIL_CLIENT_ID, GOOGLE_GMAIL_CLIENT_SECRET, GOOGLE_GMAIL_REFRESH_TOKEN, then select Save and Restart