auth-logout

auth-logout is a command for Claude Code from ringo380/ga-mcp-full. It costs 15 tokens per session (204 once invoked), scanned A, original, MIT.

A command for removing saved Google Analytics login credentials used by the ga-mcp-full server. Google Analytics is Google's service for measuring website and app usage.

In plain words
What is it for?
Use it when switching Google accounts or when the saved Analytics authentication needs to be reset.
Why use it?
It clears the current account so the next request can use another login or fresh credentials.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the ga-mcp-full plugin — 5 commands, 2 hooks, 1 MCP server shipped together

Good fit Use it when switching Google accounts or when the saved Analytics authentication needs to be reset.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ringo380/ga-mcp-full/auth-logout
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/ringo380/ga-mcp-full

Made for: Claude Code.

Or install ga-mcp-full, the plugin that ships this one along with the rest of its 5 commands, 2 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auth-logout

README.md
[![agentmods](https://agentmods.dev/badge/commands/ringo380/ga-mcp-full/auth-logout/github.svg)](https://agentmods.dev/commands/ringo380/ga-mcp-full/auth-logout)
Your own site
<a href="https://agentmods.dev/commands/ringo380/ga-mcp-full/auth-logout"><img src="https://agentmods.dev/badge/commands/ringo380/ga-mcp-full/auth-logout/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auth-logout

Your own site · 80×15
<a href="https://agentmods.dev/commands/ringo380/ga-mcp-full/auth-logout"><img src="https://agentmods.dev/badge/commands/ringo380/ga-mcp-full/auth-logout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00204
Opus 5 $0.00008 $0.00102
Sonnet 5 $0.00003 $0.00041
Haiku 4.5 $0.00002 $0.00020

Measured 8d ago against content hash d74a887a2bbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

auth-logout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/auth-logout.md · 24 lines

What it actually says

/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

  1. Run:

    ga-mcp-full auth logout
    
  2. Confirm to the user that ~/.config/ga-mcp/credentials.json was removed (the CLI prints the path to stderr on success, or "No cached credentials found." if there was nothing to remove).

  3. Let the user know they can re-authenticate anytime with /ga-mcp-full:auth-login.

  4. Note: inside the Claude Code MCP dialog, the switch_account tool 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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 24 lines · 15 tokens per session scan A d74a887a2bbf

Subscribe to this mod's changes

auth-logout is a command published in the GitHub repository ringo380/ga-mcp-full (0 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 204 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other commands, from other repositories

meta-attach-vault

Interactive wizard to attach an Obsidian vault to a code/dev workspace (the common case), bootstrap a standalone vault, or register a remote vault. Provisions plugins + scaffolds wiki structure + binds .env + edits .gitignore + offers a conventions picker. (Skill meta-attach-vault handles natural-language triggers.).

tboome33/obsidian-mcp-router · 67 tokens

meta-sync-template

Propagate the reference (.template) vault's plugins, snippets, and root docs to one or more configured vaults. Interactive picker — lists each vault with online status + REST-API-plugin presence, lets you sync all or a subset, with optional --force re-clone. (Skill meta-sync-template handles natural-language triggers…

tboome33/obsidian-mcp-router · 75 tokens

okf-export

Export a wiki subset as a shareable OKF knowledge bundle (Google's Open Knowledge Format v0.1) — slugified filenames, relative markdown links, per-folder indexes, newest-first log, conformance self-checked. (Skill wiki-export handles the flow via its okf target.).

tboome33/obsidian-mcp-router · 63 tokens

okf-projections

Régénérer les projections OKF du wiki (index racine + index par répertoire + log) ou vérifier leur dérive (--check).

tboome33/obsidian-mcp-router · 30 tokens

wiki-boundary

Rank the wiki's "frontier" pages — the crossroads many pages link to that stay thin inside — to decide where research would pay off. Read-only, deterministic, no LLM. The score proposes attention, not importance. (Skill wiki-boundary handles natural-language triggers.).

tboome33/obsidian-mcp-router · 58 tokens

wiki-graph

Build a typed knowledge graph (Understand-Anything-compatible knowledge-graph.json) from a vault's wiki — articles/entities/claims/sources/topics + relationships — written to wiki-meta/graph/ + a .understand-anything/ copy for the UA dashboard. Deterministic, no LLM. (Skill wiki-graph handles natural-language…

tboome33/obsidian-mcp-router · 72 tokens