cosmic-mcp

All servers

Gmail MCP

io.github.A1-x-Tech/mcp-google-gmail · version 1.1.2

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

MCP server for the Gmail API: search, read and send email, manage drafts, labels and the trash.

https://github.com/A1-x-Tech/mcp-google-gmail

Quick facts

  • Listing: Community
  • Published Nov 4, 22:24 UTC
  • Transport: stdio
  • Package: npm mcp-google-gmail 1.1.2
  • Listed by cosmic-mcp: Nov 9, 04:25 UTC

Email APIs and integrations Web search

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": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_GMAIL_ACCESS_TOKEN": "<your google gmail access token>",
        "GOOGLE_GMAIL_API_BASE": "<your google gmail api base>",
        "GOOGLE_GMAIL_CLIENT_ID": "<your google gmail client id>",
        "GOOGLE_GMAIL_CLIENT_SECRET": "<your google gmail client secret>",
        "GOOGLE_GMAIL_MAX_RETRIES": "<your google gmail max retries>",
        "GOOGLE_GMAIL_OAUTH_PORT": "<your google gmail oauth port>",
        "GOOGLE_GMAIL_REFRESH_TOKEN": "<your google gmail refresh token>",
        "GOOGLE_GMAIL_TIMEOUT_MS": "<your google gmail timeout ms>"
      }
    }
  }
}

Claude Code

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

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_GMAIL_ACCESS_TOKEN": "<your google gmail access token>",
        "GOOGLE_GMAIL_API_BASE": "<your google gmail api base>",
        "GOOGLE_GMAIL_CLIENT_ID": "<your google gmail client id>",
        "GOOGLE_GMAIL_CLIENT_SECRET": "<your google gmail client secret>",
        "GOOGLE_GMAIL_MAX_RETRIES": "<your google gmail max retries>",
        "GOOGLE_GMAIL_OAUTH_PORT": "<your google gmail oauth port>",
        "GOOGLE_GMAIL_REFRESH_TOKEN": "<your google gmail refresh token>",
        "GOOGLE_GMAIL_TIMEOUT_MS": "<your google gmail timeout ms>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "mcp-google-gmail": {
      "args": [
        "-y",
        "[email protected]"
      ],
      "command": "npx",
      "env": {
        "GOOGLE_GMAIL_ACCESS_TOKEN": "<your google gmail access token>",
        "GOOGLE_GMAIL_API_BASE": "<your google gmail api base>",
        "GOOGLE_GMAIL_CLIENT_ID": "<your google gmail client id>",
        "GOOGLE_GMAIL_CLIENT_SECRET": "<your google gmail client secret>",
        "GOOGLE_GMAIL_MAX_RETRIES": "<your google gmail max retries>",
        "GOOGLE_GMAIL_OAUTH_PORT": "<your google gmail oauth port>",
        "GOOGLE_GMAIL_REFRESH_TOKEN": "<your google gmail refresh token>",
        "GOOGLE_GMAIL_TIMEOUT_MS": "<your google gmail timeout ms>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • backengine-mcp Verified domain
    Surface customer & prospect context from Slack, email, transcripts and tickets in any MCP client.
  • ARVX Verified domain
    Email for long-term client relationships: ARVX reads each person first and remembers every pair.
  • AgentMash Verified domain
    All your bookmarks in one library. Share them with your AI agents. Read-only search over your saves.
  • Agentic Terminal Directory Verified domain
    Verified merchants accepting agentic payments on Lightning/L402/BOLT12/USDT — search, verify, pay.
  • Ankra Docs Verified domain
    Search the Ankra documentation: clusters, stacks, GitOps, CI/CD and the CLI. No account needed.
  • Artil — Email, SMS & Messaging for AI Agents Verified domain
    Give AI agents own email inbox, SMS numbers, and workspace accounts to receive and send messages.