gmail-mcp

cunicopia-dev/gmail-mcp
★ 3 stars Python API Integration Updated 3mo ago
Multi-account Gmail MCP server — unified search/read/draft/labels across N Google accounts. Read + draft only by design (prompt-injection resistant).
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The gmail-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Multi-account Gmail MCP server — unified search/read/draft/labels across N Google accounts. Read + draft only by design (prompt-injection resistant). By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the API Integration domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Trigger the customer synchronization workflow and alert me if any records fail validation."
"List all recent webhook events and show the payload for the latest failed event."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "gmail-mcp": {
      "command": "uvx",
      "args": [
        "gmail-mcp"
      ]
    }
  }
}

Or install with pip: pip install gmail-mcp

⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) →

🛡️ Protodex Verified Badge

Are you the author of gmail-mcp? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/cunicopia-dev-gmail-mcp.html)

README Documentation

<!-- mcp-name: io.github.cunicopia-dev/multi-account-gmail-mcp --> An MCP server that reads across _all_ your Gmail accounts from one connection. Most Gmail integrations — including the native connectors — bind a single account per OAuth grant: connect a second inbox and you disconnect the first.

View Full Documentation & Updates on GitHub ↗

Tools (20)

GMAIL_MCP_CLIENT_SECRETGMAIL_MCP_DBGMAIL_MCP_MAX_BODY_CHARSGMAIL_MCP_OAUTH_PORTbulk_actioncount_messagescreate_draftcreate_filterdelete_filterlist_accountslist_draftslist_filterslist_labelsmodify_labelsread_messageread_messagesread_threadsearch_all_accountssearch_messagestrash

Topics

claudegmailgmail-apillm-toolsmcpmodel-context-protocoloauth2prompt-injection