
Gmail
- Updated June 18, 2026
- markswendsen-code/mcp-gmail
Gmail MCP is a MCP server that lets AI agents send, read, and search Gmail using Google OAuth credentials.
About
The Strider Labs Gmail MCP server exposes everyday mailbox operations—sending messages, reading threads, and running searches—to AI coding agents through the Model Context Protocol. For founders, that means drafting launch announcements, answering early customer emails, or pulling context from past conversations without building a one-off Gmail API client in every repo. Configuration centers on Google Cloud OAuth credentials and a refresh token for the mailbox you authorize, which is the same integration burden you would carry for any production email feature but packaged for agent workflows. Use it when email is operational glue across validate, ship, and grow work, but you want the canonical Skillselion shelf to reflect the integration itself. Understand OAuth scope and token storage on your machine because this is a live communication channel, not a read-only fixture.
- Gmail MCP v0.1.0 by Strider Labs over stdio transport
- Send, read, and search mail from the agent without custom IMAP scripts
- Google OAuth 2.0 via GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REFRESH_TOKEN
- npm package @striderlabs/mcp-gmail with GitHub source
Gmail by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
claude mcp add --env GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID --env GOOGLE_CLIENT_SECRET=YOUR_GOOGLE_CLIENT_SECRET --env GOOGLE_REFRESH_TOKEN=YOUR_GOOGLE_REFRESH_TOKEN gmail -- npx -y @striderlabs/mcp-gmailAdd your badge
Show developers this MCP server is listed on Skillselion. Paste this into your README.
| Package | @striderlabs/mcp-gmail |
|---|---|
| Transport | STDIO |
| Auth | Required |
| Last updated | June 18, 2026 |
| Repository | markswendsen-code/mcp-gmail ↗ |
What it does
Give your agent Gmail send, read, and search so support replies, validation outreach, and inbox triage happen inside the coding session.
Who is it for?
Best when you're automating founder inbox work, waitlist replies, and project email from Claude Code, Cursor, or Codex.
Skip if: Organizations that require workspace-wide admin consent, DLP, or bulk marketing sends without personal OAuth tokens on a dev machine.
What you get
After OAuth setup, your agent can query and act on Gmail from MCP tool calls aligned with your shipping and support routines.
- Agent-accessible Gmail send, read, and search tools
- Reusable inbox integration without per-project Gmail SDK boilerplate
- stdio MCP registration documented for your agent config
By the numbers
- Published server version 0.1.0
- 3 required Google OAuth environment variables
- npm identifier @striderlabs/mcp-gmail with stdio transport
README.md
@striderlabs/mcp-gmail
MCP server that gives AI agents the ability to send, read, and search email via Gmail.
For Agents
Agents use this connector to handle email autonomously on behalf of their human — reading important messages, searching for information, composing thoughtful replies, and sending communications.
Example agent workflows:
- Triage emails: Agent reads new messages, summarizes important ones, and flags urgent items for user attention
- Answer routine questions: Agent searches email history to find information, composes replies with context from past conversations
- Send on behalf: Agent drafts and sends professional emails based on user intent ("Let the team know I'll be late"), then logs a copy to the conversation
Usage example:
User: "Has anyone replied to my email about the Q2 budget proposal?"
Agent:
gmail_search→"to:me subject:budget"gmail_read→ Read each message- Return summary: "Sarah replied yes on Monday. Mark asked for revisions. No word from Finance yet."
Then agent might automatically draft a follow-up to Finance and ask for approval before sending.
Installation
npx @striderlabs/mcp-gmail
Configuration
Add to your MCP client configuration (e.g., Claude Desktop):
{
"mcpServers": {
"strider-gmail": {
"command": "npx",
"args": ["-y", "@striderlabs/mcp-gmail"],
"env": {
"GOOGLE_CLIENT_ID": "your-client-id",
"GOOGLE_CLIENT_SECRET": "your-client-secret",
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}
Available Tools
gmail_send
Send an email from the user's Gmail account.
Parameters:
to(required): Recipient email addresssubject(required): Email subject linebody(required): Email body contentcc(optional): CC recipientsbcc(optional): BCC recipients
gmail_search
Search emails using Gmail search syntax.
Parameters:
query(required): Gmail search query (e.g., "from:example@gmail.com")maxResults(optional): Maximum results (default: 10)
gmail_read
Read the full content of a specific email.
Parameters:
messageId(required): The Gmail message ID
gmail_list
List recent emails from the inbox.
Parameters:
maxResults(optional): Maximum emails to list (default: 10)label(optional): Filter by label (e.g., "INBOX", "UNREAD")
Getting Google OAuth Credentials
- Go to Google Cloud Console
- Create a new project or select existing
- Enable the Gmail API
- Create OAuth 2.0 credentials
- Use the OAuth playground or your app to get a refresh token
Response Format
All tools return structured JSON:
{
"success": true,
"messageId": "...",
"message": "Email sent successfully"
}
Part of Strider Labs
Strider Labs builds action execution infrastructure for AI agents.
- Website: https://striderlabs.ai
- GitHub: https://github.com/striderlabs
License
MIT
Recommended MCP Servers
How it compares
OAuth-backed email MCP integration, not an email copywriting skill or a transactional ESP product.
FAQ
Who is Gmail MCP for?
It is for developers and founders who want their coding agent to read and send Gmail for product and support tasks.
When should I use Gmail MCP?
Use it while building or operating a product when inbox search, replies, or outbound mail should run next to your repo and deploy tools.
How do I add Gmail MCP to my agent?
Install @striderlabs/mcp-gmail, create Google OAuth credentials in Cloud Console, obtain a refresh token for your mailbox, and register the stdio server with those three env vars.