Skip to main content
Glama
@striderlabs/mcp-gmail

@striderlabs/mcp-gmail

@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.

Related MCP server: mcp-gmail

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

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

Available Tools

4 tools
gmail_listB

List recent emails from the inbox. Use this to see what emails the user has received.

Inputs: label, maxResults.

gmail_readB

Read the full content of a specific email by its message ID.

Inputs: messageId (required).

gmail_sendA

Send an email from the user's Gmail account. Use this when the user wants to send an email to someone.

Inputs: to (required), body (required), subject (required), cc, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a unique and clearly defined purpose: listing inbox, sending, searching, and reading specific emails. There is no overlap in functionality.

    Naming Consistency5/5

    All tool names follow a consistent 'gmail_<verb>' pattern (list, send, search, read), making them predictable and easy to distinguish.

    Tool Count5/5

    With 4 tools, the server is well-scoped for basic Gmail operations. It covers the most common actions without being overly minimal or bloated.

    Completeness4/5

    The set covers core email workflows (read, send, list, search) but lacks update/delete or draft management, which are common in email systems. Minor gap.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server for Gmail that allows AI assistants to read, search, compose drafts, send emails, and manage labels with attachment support.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that provides Gmail access for LLMs, enabling email composition, sending, searching, and label management via the Gmail API.
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Production-ready MCP server for Gmail, enabling AI agents to search, read, send, draft, and manage emails, labels, and attachments via the Google Gmail API.
      -