npm · mcp-avito-ads
$npx -y mcp-avito-ads@1.2.0 AVITO_ADS_CLIENT_ID (required) · secret — OAuth2 client id of your Avito application (grant_type=client_credentials).
AVITO_ADS_CLIENT_SECRET (required) · secret — OAuth2 client secret of your Avito application. Treat it as a secret.
AVITO_ADS_ACCOUNT_ID (required) — Ad account id (positive integer) every request is scoped to.
AVITO_ADS_ENVIRONMENT — Which API to talk to: production or sandbox.
AVITO_ADS_API_BASE — API root override, replacing host and environment prefix (e.g. a local mock).
AVITO_ADS_TIMEOUT_MS — Per-request timeout in milliseconds.
AVITO_ADS_MAX_RETRIES — Retries on 429 (always) and on 5xx / network errors for reads only.
AVITO_ADS_TOKEN_LEEWAY_SECONDS — Refresh the OAuth2 token this many seconds before it expires.