Auth Logout
Clear cached Google Analytics OAuth credentials for the ga-mcp-full MCP server.
/ga-mcp-full:auth-logout
Remove cached GA4 OAuth credentials so the next request either falls back to Application Default Credentials or triggers a fresh browser login.
Steps
-
Run:
ga-mcp-full auth logout -
Confirm to the user that
~/.config/ga-mcp/credentials.jsonwas removed (the CLI prints the path to stderr on success, or "No cached credentials found." if there was nothing to remove). -
Let the user know they can re-authenticate anytime with
/ga-mcp-full:auth-login. -
Note: inside the Claude Code MCP dialog, the
switch_accounttool performs the same cache clear and returns the previously-logged-in email — handy when a user wants to switch Google Accounts without leaving the chat.