Gmail Headless OAuth2 Set up Gmail API OAuth2 on servers without a browser. The standard gmail-mcp-multiauth command calls to launch a browser and listens on localhost:3000 — this fails on headless CLI servers. This skill provides the manual workaround. When to Use - Setting up Gmail API access on a headless server (no GUI browser) - gmail-mcp-multiauth fails or hangs waiting for browser callback - Need to re-authorize after token expiry - Adding new Gmail accounts to an existing setup Prerequisites - GCP project with Gmail API enabled - OAuth 2.0 Desktop App credentials (client secret JSON d…