{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.furkankoykiran/telegram-ads",
  "slug": "io.github.furkankoykiran.telegram-ads",
  "title": "Telegram Ads",
  "summary": "MCP server for the official Telegram Ads API: ads, budgets, stats, audiences and pixels.",
  "version": "0.1.3",
  "serverKey": "telegram-ads",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.furkankoykiran.telegram-ads",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.furkankoykiran.telegram-ads/install.md",
  "trust": {
    "score": 94,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:47:40.305522815Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "telegram-ads-mcp@0.1.3"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add telegram-ads -e 'TELEGRAM_ADS_TOKEN=<TELEGRAM_ADS_TOKEN>' -- npx -y telegram-ads-mcp@0.1.3"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"telegram-ads\": {\n      \"args\": [\n        \"-y\",\n        \"telegram-ads-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TELEGRAM_ADS_TOKEN\": \"<TELEGRAM_ADS_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"telegram-ads\": {\n      \"args\": [\n        \"-y\",\n        \"telegram-ads-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TELEGRAM_ADS_TOKEN\": \"<TELEGRAM_ADS_TOKEN>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"TELEGRAM_ADS_TOKEN\",\n      \"id\": \"telegram-ads-token\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"telegram-ads\": {\n      \"args\": [\n        \"-y\",\n        \"telegram-ads-mcp@0.1.3\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"TELEGRAM_ADS_TOKEN\": \"${input:telegram-ads-token}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.telegram-ads]\ncommand = \"npx\"\nargs = [\"-y\", \"telegram-ads-mcp@0.1.3\"]\nenv = { \"TELEGRAM_ADS_TOKEN\" = \"<TELEGRAM_ADS_TOKEN>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "TELEGRAM_ADS_TOKEN",
      "required": true,
      "secret": true,
      "description": "Telegram Ads API token from https://ads.telegram.org/account/api",
      "help": "Telegram Ads API token from https://ads.telegram.org/account/api",
      "placeholder": "<TELEGRAM_ADS_TOKEN>"
    },
    {
      "name": "TG_ADS_MODE",
      "required": false,
      "secret": false,
      "description": "read-only (default) or write. Write tools also require confirm: true.",
      "help": "read-only (default) or write. Write tools also require confirm: true.",
      "default": "read-only",
      "placeholder": "read-only"
    },
    {
      "name": "TG_ADS_CODE_MODE",
      "required": false,
      "secret": false,
      "description": "off, read-only (default) or write. Controls the tg_execute sandbox.",
      "help": "off, read-only (default) or write. Controls the tg_execute sandbox.",
      "default": "read-only",
      "placeholder": "read-only"
    },
    {
      "name": "TG_ADS_ALLOWED_ACCOUNTS",
      "required": false,
      "secret": false,
      "description": "Optional comma-separated allowlist for explicit account_id values.",
      "help": "Optional comma-separated allowlist for explicit account_id values.",
      "placeholder": "<TG_ADS_ALLOWED_ACCOUNTS>"
    },
    {
      "name": "TG_ADS_MAX_CPM",
      "required": false,
      "secret": false,
      "description": "Optional per-call CPM cap in the account currency.",
      "help": "Optional per-call CPM cap in the account currency.",
      "placeholder": "<TG_ADS_MAX_CPM>"
    },
    {
      "name": "TG_ADS_MAX_AD_BUDGET",
      "required": false,
      "secret": false,
      "description": "Optional per-call ad budget or transfer cap in the account currency.",
      "help": "Optional per-call ad budget or transfer cap in the account currency.",
      "placeholder": "<TG_ADS_MAX_AD_BUDGET>"
    },
    {
      "name": "TG_ADS_MAX_DAILY_BUDGET",
      "required": false,
      "secret": false,
      "description": "Optional per-call daily budget limit in the account currency.",
      "help": "Optional per-call daily budget limit in the account currency.",
      "placeholder": "<TG_ADS_MAX_DAILY_BUDGET>"
    },
    {
      "name": "TG_ADS_AUDIT_LOG",
      "required": false,
      "secret": false,
      "description": "Optional path to a JSONL audit log.",
      "help": "Optional path to a JSONL audit log.",
      "placeholder": "<TG_ADS_AUDIT_LOG>"
    },
    {
      "name": "TG_ADS_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Per-request timeout in milliseconds.",
      "help": "Per-request timeout in milliseconds.",
      "default": "30000",
      "placeholder": "30000"
    }
  ],
  "expectedTools": [
    "tg_get_account",
    "tg_get_account_info",
    "tg_account_budget",
    "tg_list_ads",
    "tg_get_ads",
    "tg_create_ad",
    "tg_update_ad",
    "tg_ad_budget",
    "tg_delete_ad",
    "tg_upload_media",
    "tg_get_stats",
    "tg_get_report",
    "tg_list_targeting",
    "tg_list_audiences",
    "tg_manage_audience",
    "tg_get_pixel",
    "tg_list_pixel_events",
    "tg_manage_pixel",
    "tg_list_transactions",
    "tg_get_transaction",
    "tg_search",
    "tg_get_sdk",
    "tg_execute",
    "tg_api_call"
  ],
  "agentSteps": [
    "Ask the user for: TELEGRAM_ADS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: tg_get_account, tg_get_account_info, tg_account_budget, tg_list_ads, tg_get_ads, tg_create_ad, tg_update_ad, tg_ad_budget, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:47:40.305522815Z"
}
