Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
markswendsen-code avatar

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)
terminal
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-gmail

Add your badge

Show developers this MCP server is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Package@striderlabs/mcp-gmail
TransportSTDIO
AuthRequired
Last updatedJune 18, 2026
Repositorymarkswendsen-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:

  1. Triage emails: Agent reads new messages, summarizes important ones, and flags urgent items for user attention
  2. Answer routine questions: Agent searches email history to find information, composes replies with context from past conversations
  3. 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:

  1. gmail_search"to:me subject:budget"
  2. gmail_read → Read each message
  3. 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 address
  • subject (required): Email subject line
  • body (required): Email body content
  • cc (optional): CC recipients
  • bcc (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

  1. Go to Google Cloud Console
  2. Create a new project or select existing
  3. Enable the Gmail API
  4. Create OAuth 2.0 credentials
  5. 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.

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.

Communicationintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.