Metrifyr

CLI Commands

Command-line interface for MCP Google Marketing

Available Commands

Login

Authenticate via Metrifyr (opens browser):

npx mcp-google-marketing login

Status

Check authentication status:

npx mcp-google-marketing status

Logout

Remove stored credentials:

npx mcp-google-marketing logout

Start Server

Start the MCP server (for Claude Code/Desktop):

npx mcp-google-marketing

Help

Show help message:

npx mcp-google-marketing --help

Output Example

mcp-google-marketing v2.0.0

MCP server for Google Analytics 4, Search Console, and AdSense.
Powered by Metrifyr.

USAGE:
  npx mcp-google-marketing [command]

COMMANDS:
  (no command)      Start the MCP server (for Claude Code/Desktop)
  login             Authenticate via Metrifyr (opens browser)
  logout            Remove stored API key
  status            Check authentication status
  --help, -h        Show this help message

On this page

CLI Commands | Metrifyr Docs | Metrifyr