Skip to content
PluginStats

@gongrzhe/server-gmail-autoauth-mcp weekly downloads statistics

By gongrzhe · npm · MCP servers

Gmail MCP server with auto authentication support

View on npm Fresh · Oct 28, 2026

@gongrzhe/server-gmail-autoauth-mcp has 13,845 recorded weekly downloads on npm, a decrease of 32.2% over the past 30 days, ranking #935 of 2,644 tracked listings.

Weekly downloads
13,845
Official API · Oct 26, 2026
7-day growth
+22.4%
+2.5K weekly downloads
30-day growth
-32.2%
-6.6K weekly downloads
90-day growth
-61.0%
-21.6K weekly downloads
Rank
#935
▼ 5 in 7 days

About @gongrzhe/server-gmail-autoauth-mcp

Gmail AutoAuth 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.

smithery badge

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)
  • List emails in inbox, sent, or custom labels
  • Mark emails as read/unread
  • Move emails to different labels/folders
  • Delete emails
  • Batch operations for efficiently processing multiple emails at once
  • Full integration with Gmail API
  • Simple OAuth2 authentication flow with auto browser launch
  • Support for both Desktop and Web application credentials
  • Global credential storage for convenience

Installation & Authentication

Installing via Smithery

To install Gmail AutoAuth for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gongrzhe/server-gmail-autoauth-mcp --client claude
Installing Manually
  1. Create a Google Cloud Project and obtain credentials:

    a. Create a Google Cloud Project:

    • Go to Google Cloud Console
    • Create a new project or select an existing one
    • Enable the Gmail API for your project

    b. Create OAuth 2.0 Credentials:

    • Go to "APIs & Services" > "Credentials"
    • Click "Create Credentials" > "OAuth client ID"
    • Choose either "Desktop app" or "Web application" as application type
    • Give it a name and click "Create"
    • For Web application, add http://localhost:3000/oauth2callback to the authorized redirect URIs
    • Download the JSON file of your client's OAuth keys
    • Rename the key file to gcp-oauth.keys.json
  2. Run Authentication:

    You can authenticate in two ways:

    a. Global Authentication (Recommended):

    # First time: Place gcp-oauth.keys.json in your home directory's .gmail-mcp folder
    mkdir -p ~/.gmail-mcp
    mv gcp-oauth.keys.json ~/.gmail-mcp/
    
    # Run authentication from anywhere
    npx @gongrzhe/server-gmail-autoauth-mcp auth
    

    b. Local Authentication:

    # Place gcp-oauth.keys.json in your current directory
    # The file will be automatically copied to global config
    npx @gongrzhe/server-gmail-autoauth-mcp auth
    

    The authentication process will:

    • Look for gcp-oauth.keys.json in the current directory or ~/.gmail-mcp/
    • If found in current directory, copy it to ~/.gmail-mcp/
    • Open your default browser for Google authentication
    • Save credentials as ~/.gmail-mcp/credentials.json

    Note:

    • After successful authentication, credentials are stored globally in ~/.gmail-mcp/ and can be used from any directory
    • Both Desktop app and Web application credentials are supported
    • For Web application credentials, make sure to add http://localhost:3000/oauth2callback to your authorized redirect URIs
  3. Configure in Claude Desktop:

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

If you prefer using Docker:

  1. Authentication:
docker run -i --rm \
  --mount type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json \
  -v mcp-gmail:/gmail-server \
  -e GMAIL_OAUTH_PATH=/gcp-oauth.keys.json \
  -e "GMAIL_CREDENTIALS_PATH=/gmail-server/credentials.json" \
  -p 3000:3000 \
  mcp/gmail auth
  1. Usage:
{
  "mcpServers": {
    "gmail": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "mcp-gmail:/gmail-server",
        "-e",
        "GMAIL_CREDENTIALS_PATH=/gmail-server/credentials.json",
        "mcp/gmail"
      ]
    }
  }
}
Cloud Server Authentication

For cloud server environments (like n8n), you can specify a custom callback URL during authentication:

npx @gongrzhe/server-gmail-autoauth-mcp auth https://gmail.gongrzhe.com/oauth2callback
Setup Instructions for Cloud Environment
  1. Configure Reverse Proxy:

    • Set up your n8n container to expose a port for authentication
    • Configure a reverse proxy to forward traffic from your domain (e.g., gmail.gongrzhe.com) to this port
  2. DNS Configuration:

    • Add an A record in your DNS settings to resolve your domain to your cloud server's IP address
  3. Google Cloud Platform Setup:

    • In your Google Cloud Console, add your custom domain callback URL (e.g., https://gmail.gongrzhe.com/oauth2callback) to the authorized redirect URIs list
  4. Run Authentication:

    npx @gongrzhe/server-gmail-autoauth-mcp auth https://gmail.gongrzhe.com/oauth2callback
    
  5. Configure in your application:

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

Description from the npm listing.

  • gmail
  • mcp
  • cursor
  • ai
  • oauth
  • model-context-protocol
  • google-gmail
  • claude
  • auto-auth

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@gongrzhe/server-gmail-autoauth-mcp weekly downloads on npm, last 90 days: 13,845 weekly downloads as of Oct 26, 2026, -61.0% over 90 days.@gongrzhe/server-gmail-autoauth-mcpWeekly downloads on npm · Last 90 days13,845downloads / week-61.0% over 90 days05K10K15K20K25K30K35K40KJul 28Aug 12Aug 27Sep 11Sep 26Oct 11Oct 26downloads / weekobservedarchived (Internet Archive)no observationsJul 30, 2026 – Oct 26, 2026 · 83 observations · Updated Oc…pluginstats.com
@gongrzhe/server-gmail-autoauth-mcp weekly downloads on npm, last 90 days: 13,845 weekly downloads as of Oct 26, 2026, -61.0% over 90 days.

7/30/90-day growth

@gongrzhe/server-gmail-autoauth-mcp weekly downloads growth on npm: +22.4% over 7 days, -32.2% over 30 days, -61.0% over 90 days.@gongrzhe/server-gmail-autoauth-mcpWeekly downloads growth on npm13,845downloads / week now7-day growth+2,532 weekly downloads …+22.4%30-day growth-6,567 weekly downloads-32.2%90-day growth-21,628 weekly downloads-61.0%Growth vs. nearest observation to each baseline date · Updated Oct 26, 2026pluginstats.com
@gongrzhe/server-gmail-autoauth-mcp weekly downloads growth on npm: +22.4% over 7 days, -32.2% over 30 days, -61.0% over 90 days.

Ranking history

@gongrzhe/server-gmail-autoauth-mcp npm ranking history: currently #935 (by weekly downloads).@gongrzhe/server-gmail-autoauth-mcpnpm ranking · by weekly downloads · Last 90 days#935current rank#300#400#500#600#700#800#900#1000Jul 30Aug 14Aug 29Sep 13Sep 28Oct 13Oct 28rankOct 17, 2026 – Oct 28, 2026 · 6 observations · Updated Oct 26, 2026pluginstats.com
@gongrzhe/server-gmail-autoauth-mcp npm ranking history: currently #935 (by weekly downloads).

Listing placement

All npm2,642 listings · 133 pages · 1,323 shown · page 49, #18 (overall #978)
All npm: every listing in weekly downloads order

Listing placement

MCP servers361 listings · 19 pages · page 9, #8 (overall #168)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (546)
Recent weekly downloads observations for @gongrzhe/server-gmail-autoauth-mcp
Date (UTC)Weekly downloadsChange vs. previous
13,845+2.4K
11,412+99
11,313+2.9K
8,436-2.7K
11,131-189
11,320-3.2K
14,489-3.1K
17,6240
17,624+3K
14,617-297
14,914-60
14,974-359
15,333-294
15,627—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@gongrzhe/server-gmail-autoauth-mcp. First seen Oct 16, 2026; last successful collection Oct 28, 2026. See the methodology.