Communication · Developer Tools

Gmail-MCP-Server logo

Gmail-MCP-Server

GongRzhe/Gmail-MCP-Server

A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server enables AI assistants to manage Gmail through natural language interactions.

Install

npx @gongrzhe/server-gmail-autoauth-mcp

Client configuration

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "@gongrzhe/server-gmail-autoauth-mcp"
      ]
    }
  }
}

Environment variables

OPENAI_API_KEY
GitHub stars
218
Author
@GongRzhe
Category
Communication, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • Send emails with subject, content, attachments, and recipients

  • Full attachment support - send and receive file attachments

  • Download email attachments to local filesystem

  • Support for HTML emails and multipart messages with both HTML and plain text versions

  • Full support for international characters in subject lines and email content

  • Read email messages by ID with advanced MIME structure handling

  • Enhanced attachment display showing filenames, types, sizes, and download IDs

  • Search emails with various criteria (subject, sender, date range)

  • Comprehensive label management with ability to create, update, delete and list labels

  • List all available Gmail labels (system and user-defined)

Tools (7)

  • messageId

    The ID of the email containing the attachment

  • attachmentId

    The attachment ID (shown in enhanced email display)

  • savePath

    Directory to save the file (optional, defaults to current directory)

  • filename

    Custom filename (optional, uses original filename if not provided)

  • addLabelIds

    ["IMPORTANT", "Label_Work"]

  • removeLabelIds

    ["INBOX", "UNREAD"]

  • forward

    "backup@example.com"

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Inbox Zero AI MCP logo

Inbox Zero AI MCP

elie222/inbox-zero

7.1k

To help you spend less time in your inbox, so you can focus on what matters most.

Communication
whatsapp logo

whatsapp

lharries/whatsapp-mcp

3.6k

This is a Model Context Protocol (MCP) server for WhatsApp.

Communication
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP toolset is a collection of Apple native tools based on the MCP protocol, providing integration services for Messages, Notes, Contacts, Mail, Reminders, Calendar and other Apple ecosystem features.

Communication
supergateway logo

supergateway

supercorp-ai/supergateway

1.1k

Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. This is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.

Communication
Line Bot MCP Server logo

Line Bot MCP Server

line/line-bot-mcp-server

338

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

Communication
MCP Send Email logo

MCP Send Email

resend/mcp-send-email

325

Connect your AI agent to the Resend platform. Send and receive emails, manage contacts, broadcasts, domains, and more, directly from any MCP client like Claude, Cursor, or Claude Code.

Communication