Skip to main content

Telegram Ads

io.github.furkankoykiran/telegram-ads

v0.1.3Updated Nov 21, 2026stdio · npm

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

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add telegram-ads -e 'TELEGRAM_ADS_TOKEN=<your-telegram-ads-token>' -e TG_ADS_MODE=read-only -e TG_ADS_CODE_MODE=read-only -e TG_ADS_TIMEOUT_MS=30000 -- npx -y [email protected]

Configuration

9 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • TELEGRAM_ADS_TOKEN
    Env var· required· secret
    Telegram Ads API token from https://ads.telegram.org/account/api
  • TG_ADS_MODE
    Env var· optional
    read-only (default) or write. Write tools also require confirm: true.Default: read-only
  • TG_ADS_CODE_MODE
    Env var· optional
    off, read-only (default) or write. Controls the tg_execute sandbox.Default: read-only
  • TG_ADS_ALLOWED_ACCOUNTS
    Env var· optional
    Optional comma-separated allowlist for explicit account_id values.
  • TG_ADS_MAX_CPM
    Env var· optional
    Optional per-call CPM cap in the account currency.
  • TG_ADS_MAX_AD_BUDGET
    Env var· optional
    Optional per-call ad budget or transfer cap in the account currency.
Show 3 more
  • TG_ADS_MAX_DAILY_BUDGET
    Env var· optional
    Optional per-call daily budget limit in the account currency.
  • TG_ADS_AUDIT_LOG
    Env var· optional
    Optional path to a JSONL audit log.
  • TG_ADS_TIMEOUT_MS
    Env var· optional
    Per-request timeout in milliseconds.Default: 30000

Listed in the official MCP Registry since Nov 21, 2026. Mirrored daily; last checked Nov 26, 2026.