cosmic-mcp

All servers

gmail

com.pulsemcp/gmail · version 0.4.12

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

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

https://github.com/pulsemcp/mcp-servers

Quick facts

  • Listing: Verified domain
  • Published Aug 30, 15:08 UTC
  • Transport: stdio
  • Package: npm gmail-workspace-mcp-server 0.4.12
  • Listed by cosmic-mcp: Nov 8, 18:57 UTC

Email Customer support

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (npm)

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GMAIL_ENABLED_TOOLGROUPS": "<your gmail enabled toolgroups>",
        "GMAIL_IMPERSONATE_EMAIL": "<your gmail impersonate email>",
        "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_CLIENT_EMAIL": "<your gmail service account client email>",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "<your gmail service account private key>"
      }
    }
  }
}

Claude Code

claude mcp add 'gmail' -- npx -y '[email protected]'

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GMAIL_ENABLED_TOOLGROUPS": "<your gmail enabled toolgroups>",
        "GMAIL_IMPERSONATE_EMAIL": "<your gmail impersonate email>",
        "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_CLIENT_EMAIL": "<your gmail service account client email>",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "<your gmail service account private key>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GMAIL_ENABLED_TOOLGROUPS": "<your gmail enabled toolgroups>",
        "GMAIL_IMPERSONATE_EMAIL": "<your gmail impersonate email>",
        "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_CLIENT_EMAIL": "<your gmail service account client email>",
        "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY": "<your gmail service account private key>"
      },
      "type": "stdio"
    }
  }
}

Related servers