npm · mcp-google-business
$npx -y mcp-google-business@1.2.0 GOOGLE_BUSINESS_CLIENT_ID — OAuth2 client id from Google Cloud Console (refresh flow).
GOOGLE_BUSINESS_CLIENT_SECRET · secret — OAuth2 client secret. Treat it as a secret.
GOOGLE_BUSINESS_REFRESH_TOKEN · secret — OAuth2 refresh token with the business.manage scope. Treat it as a secret.
GOOGLE_BUSINESS_ACCESS_TOKEN · secret — Ready-made access token (~1 h) as an alternative to the refresh-flow trio above.
GOOGLE_BUSINESS_TIMEOUT_MS — Per-request timeout in milliseconds.
GOOGLE_BUSINESS_MAX_RETRIES — Retries on transient errors (429 always; 5xx/network on idempotent calls).
GOOGLE_BUSINESS_OAUTH_PORT — Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
GOOGLE_BUSINESS_ACCOUNTS_API_BASE — Account Management API base override.
GOOGLE_BUSINESS_INFO_API_BASE — Business Information API base override.
GOOGLE_BUSINESS_PERFORMANCE_API_BASE — Business Profile Performance API base override.
GOOGLE_BUSINESS_V4_API_BASE — Legacy v4 My Business API base override (reviews, local posts).