npm · appmetrica-mcp
$npx -y appmetrica-mcp@0.3.1 APPMETRICA_OAUTH_TOKEN · secret — Yandex OAuth token with AppMetrica scope; optional when `npx appmetrica-mcp auth` saved credentials
APPMETRICA_ALLOW_WRITE — Set to "true" to enable write tools (funnels, segments, push campaigns, web workspaces)
APPMETRICA_WORKSPACES_FILE — Path of the local JSON file with saved dashboard widget sets (default ~/.config/appmetrica-mcp/workspaces.json)
APPMETRICA_BROWSER_PROFILE — Chrome profile directory for the experimental web session (default ~/.config/appmetrica-mcp/chrome-profile)
APPMETRICA_BROWSER_PATH — Path to a Chrome/Chromium executable for the experimental web session (default: system Google Chrome)
APPMETRICA_BROWSER_CHANNEL — Playwright browser channel for the experimental web session (chrome | chromium | msedge; default chrome)
APPMETRICA_BROWSER_IDLE_MS — Idle time after which the headless web session closes Chrome and frees the profile (default 120000)
APPMETRICA_OAUTH_CLIENT_ID — Your own Yandex OAuth app ClientID for `appmetrica-mcp auth` (default: bundled public app)
APPMETRICA_CREDENTIALS_FILE — Where `appmetrica-mcp auth` stores the token (default ~/.config/appmetrica-mcp/credentials.json)