← Back to Plugins
MCP Server MCP

com.pulsemcp/gmail

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "gmail-workspace-mcp-server",
      "version": "0.4.11",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "runtimeArguments": [
        {
          "value": "-y",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "OAuth2 client ID from Google Cloud Console (for personal Gmail accounts).",
          "isSecret": true,
          "name": "GMAIL_OAUTH_CLIENT_ID"
        },
        {
          "description": "OAuth2 client secret from Google Cloud Console.",
          "isSecret": true,
          "name": "GMAIL_OAUTH_CLIENT_SECRET"
        },
        {
          "description": "Refresh token from the OAuth2 setup script.",
          "isSecret": true,
          "name": "GMAIL_OAUTH_REFRESH_TOKEN"
        },
        {
          "description": "Service account email address (for Google Workspace).",
          "name": "GMAIL_SERVICE_ACCOUNT_CLIENT_EMAIL"
        },
        {
          "description": "Service account private key in PEM format (for Google Workspace).",
          "isSecret": true,
          "name": "GMAIL_SERVICE_ACCOUNT_PRIVATE_KEY"
        },
        {
          "description": "Email address to impersonate (required for service account mode).",
          "name": "GMAIL_IMPERSONATE_EMAIL"
        },
        {
          "description": "Comma-separated list of tool groups to enable (readonly, readwrite, readwrite_external).",
          "name": "GMAIL_ENABLED_TOOLGROUPS"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...