MCP directory

Telegram Ads

by github.com/furkankoykiran · v0.1.3 · updated Nov 21, 2026

MCP server for the official Telegram Ads API: ads, budgets, stats, audiences and pixels.

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • TELEGRAM_ADS_TOKENrequiredsecret

    Telegram Ads API token from https://ads.telegram.org/account/api

  • TG_ADS_MODE

    read-only (default) or write. Write tools also require confirm: true.

  • TG_ADS_CODE_MODE

    off, read-only (default) or write. Controls the tg_execute sandbox.

  • TG_ADS_ALLOWED_ACCOUNTS

    Optional comma-separated allowlist for explicit account_id values.

  • TG_ADS_MAX_CPM

    Optional per-call CPM cap in the account currency.

  • TG_ADS_MAX_AD_BUDGET

    Optional per-call ad budget or transfer cap in the account currency.

  • TG_ADS_MAX_DAILY_BUDGET

    Optional per-call daily budget limit in the account currency.

  • TG_ADS_AUDIT_LOG

    Optional path to a JSONL audit log.

  • TG_ADS_TIMEOUT_MS

    Per-request timeout in milliseconds.

More MCP servers