Remote MCP server for Gmail with support for multiple connected accounts, deployed on Cloudflare Workers, for use as a claude.ai custom connector
A remote MCP server for Gmail, deployed on Cloudflare Workers, for use as a custom connector in claude.ai (web/desktop/mobile) — built because the official Gmail connector only supports one account at a time. This one lets a single connector authorization manage any number of connected Gmail accounts (personal, work, side project, ...), with tools that let Claude pick which account to act on.
Each user who connects authorizes their own Google account(s) via OAuth — the server proxies that OAuth flow and never sees your Google password, just the refresh tokens it needs to call the Gmail API on your behalf.
Setting this up with an AI coding agent? Clone the repo and just ask it (e.g. "help me set up this MCP server") — it can run the npm/ wrangler commands below and edit wrangler.jsonc itself. See AGENTS.md for exactly what it can automate versus what needs you in a browser (the Google Cloud Console steps and the claude.ai connector step).
- @cloudflare/workers-oauth-provider — implements the OAuth 2.1 server that claude.ai talks to (authorize/token/dynamic client registration), and hands your Worker an encrypted props bag identifying the connector owner (email + name) once per authorized Claude session. - google-handler.ts — a small Hono app that owns /authorize and /callback: shows the consent screen, redirects to Google, exchanges the code for tokens. The first Google account signed in here both establishes the owner's identity and is registered as their first connected Gmail account. - accounts.ts — the multi-account store. Connected Gmail accounts (email + refresh tok
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/boonkgim--mcp-gmail-multi-account.html)
ChatGPT thinks. Codex works. Use ChatGPT as the planning brain while keeping the Codex harness.
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
halofyai/halofyHalofy is the open access and governance layer for AI agents across your organization. Identity, policy, provenance, audit, and signed erasure.
OpenLabs-so/openanalyticsOpen-source, privacy-first and cookieless web analytics with revenue attribution and an MCP server.
Dominic789654/awesome-deepseek-harnessA curated list of plugins, skills, MCP servers, patch/profile layers, orchestrators & UIs for DeepSeek Harness (DSH). Visualization · PPT · Coding · Agents · Loops (auto-research) and more. #dsh
pueschel88/Tradingview-MCPTradingview MCP server for controlling Tradingview Desktop from Claude Code via Chrome DevTools Protocol
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.