Google Cloud MCP stops authenticating during a long session
Source: Troubleshooting reference
Symptom. An official Google Cloud MCP connects successfully, then starts returning authentication errors after its initial access token expires.
Root cause. Older Codex/OpenCode launchers minted GOOGLE_MCP_TOKEN once at
startup, and Claude’s old headersHelper minted it at connection time. Neither
path refreshed the token while the same connection remained active.
Fix. The current registry emits df-google-mcp as a local stdio transport
for all four harnesses. It uses Google’s ADC refresh interface before HTTP
requests. Refresh the installed helpers and affected configuration:
bash ~/dotfiles/install/agent-tools.shdf-google-mcp --check-runtimebash ~/dotfiles/install/codex.sh sync-configbash ~/dotfiles/install/claude.sh sync-mcpbash ~/dotfiles/install/opencode.sh sync-configbash ~/dotfiles/install/cursor.sh sync-mcpRestart the affected harness connection so it starts the relay. Existing ADC continues to work; revoked credentials, disabled services, and missing IAM permissions still need their own fixes. See Google Cloud MCP credentials.