com.pulsemcp/gmail

com.pulsemcp/gmail

MCP server for Gmail with OAuth2 (personal) and service account (Workspace) support.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "gmail": {
      "command": "npx",
      "args": [
        "-y",
        "gmail-workspace-mcp-server@0.4.12"
      ],
      "env": {
        "GMAIL_OAUTH_CLIENT_ID": "<your GMAIL_OAUTH_CLIENT_ID>",
        "GMAIL_OAUTH_CLIENT_SECRET": "<your GMAIL_OAUTH_CLIENT_SECRET>",
        "GMAIL_OAUTH_REFRESH_TOKEN": "<your GMAIL_OAUTH_REFRESH_TOKEN>",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "<your GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY>"
      }
    }
  }
}
Environment variables
  • GMAIL_OAUTH_CLIENT_IDsecretOAuth2 client ID from Google Cloud Console (for personal Gmail accounts).
  • GMAIL_OAUTH_CLIENT_SECRETsecretOAuth2 client secret from Google Cloud Console.
  • GMAIL_OAUTH_REFRESH_TOKENsecretRefresh token from the OAuth2 setup script.
  • GMAIL_SERVICE_ACCOUNT_PRIVATE_KEYsecretService account private key in PEM format (for Google Workspace).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
AI & ML
Version
0.4.12
Registry
active
Published
8/30/2026
Browse all AI & ML →

Add the badge to your site

Show visitors that com.pulsemcp/gmail is listed here — it’s also the link we check for a free listing.

com.pulsemcp/gmail — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/com-pulsemcp-gmail?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="com.pulsemcp/gmail — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![com.pulsemcp/gmail — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/com-pulsemcp-gmail?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.