google-multi-account-mcp

Setup status: incomplete

✅Public HTTPS URL
https://mcpmail.lavr.men
✅Database
Connected and migrated.
❌Google OAuth client ID and secret
Set GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET (step 2 below), then redeploy.
✅Owner accounts (OWNER_EMAILS)
1 Google account(s) may authorise the connector.
➖Auto-forward allowlist (optional)
Not set; forward_to_allowlist is disabled.

1. Google Cloud project

  1. Enable the Gmail API and Google Calendar API.
  2. Google Auth Platform > Branding: home page https://mcpmail.lavr.men, privacy https://mcpmail.lavr.men/privacy, terms https://mcpmail.lavr.men/terms, authorised domain mcpmail.lavr.men.
  3. Audience: External, then Publish app (Testing mode expires tokens after 7 days).
  4. Clients > Create client > Web application, authorised redirect URI https://mcpmail.lavr.men/oauth/google/callback.

2. Server environment

Set GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET and OWNER_EMAILS, redeploy, and reload this page.

3. Connect your MCP client

Server URL: https://mcpmail.lavr.men/mcp

4. Connect mailboxes

Ask your assistant: "Add my work Google account as work and make it the default." It returns a one-time link; open it and grant Gmail and Calendar access. Repeat per account.

Docs: README