Koskamo

Telegram Ads MCP

An open-source Model Context Protocol server for the official Telegram Ads API that allows AI agents to manage accounts, ads, stats, audiences, pixels, and targeting. It runs locally over stdio, ensuring the token never leaves the machine except to call the official API, and includes safety features like read-only modes and budget caps.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

Telegram Ads MCP logo, by furkankoykiranCommunity listingLocal stdioSource reviewed; not executedPublished by furkankoykiran
You need:An API token from https://ads.telegram.org/account/api
Vendor documentation

What you can do with it

  • Manage Telegram Ads accounts and budgets
  • Create and monitor advertisements
  • Analyze ad statistics and performance
  • Handle audiences and pixels

Source and maintenance

Community listingRegistry 0.1.3
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

telegram-ads-mcp 0.1.3

npmnpx
telegram-ads-mcp package definition
{
  "version": "0.1.3",
  "transport": "stdio",
  "identifier": "telegram-ads-mcp",
  "runtimeHint": "npx",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "TELEGRAM_ADS_TOKEN",
      "isRequired": true,
      "description": "Telegram Ads API token from https://ads.telegram.org/account/api"
    },
    {
      "name": "TG_ADS_MODE",
      "choices": [
        "read-only",
        "write"
      ],
      "default": "read-only",
      "description": "read-only (default) or write. Write tools also require confirm: true."
    },
    {
      "name": "TG_ADS_CODE_MODE",
      "choices": [
        "off",
        "read-only",
        "write"
      ],
      "default": "read-only",
      "description": "off, read-only (default) or write. Controls the tg_execute sandbox."
    },
    {
      "name": "TG_ADS_ALLOWED_ACCOUNTS",
      "description": "Optional comma-separated allowlist for explicit account_id values."
    },
    {
      "name": "TG_ADS_MAX_CPM",
      "description": "Optional per-call CPM cap in the account currency."
    },
    {
      "name": "TG_ADS_MAX_AD_BUDGET",
      "description": "Optional per-call ad budget or transfer cap in the account currency."
    },
    {
      "name": "TG_ADS_MAX_DAILY_BUDGET",
      "description": "Optional per-call daily budget limit in the account currency."
    },
    {
      "name": "TG_ADS_AUDIT_LOG",
      "description": "Optional path to a JSONL audit log."
    },
    {
      "name": "TG_ADS_TIMEOUT_MS",
      "format": "number",
      "default": "30000",
      "description": "Per-request timeout in milliseconds."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "telegram-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "telegram-ads-mcp@0.1.3"
      ],
      "env": {
        "TELEGRAM_ADS_TOKEN": "<YOUR_TELEGRAM_ADS_TOKEN>",
        "TG_ADS_MODE": "<YOUR_TG_ADS_MODE>",
        "TG_ADS_CODE_MODE": "<YOUR_TG_ADS_CODE_MODE>",
        "TG_ADS_ALLOWED_ACCOUNTS": "<YOUR_TG_ADS_ALLOWED_ACCOUNTS>",
        "TG_ADS_MAX_CPM": "<YOUR_TG_ADS_MAX_CPM>",
        "TG_ADS_MAX_AD_BUDGET": "<YOUR_TG_ADS_MAX_AD_BUDGET>",
        "TG_ADS_MAX_DAILY_BUDGET": "<YOUR_TG_ADS_MAX_DAILY_BUDGET>",
        "TG_ADS_AUDIT_LOG": "<YOUR_TG_ADS_AUDIT_LOG>",
        "TG_ADS_TIMEOUT_MS": "<YOUR_TG_ADS_TIMEOUT_MS>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "telegram-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "telegram-ads-mcp@0.1.3"
      ],
      "env": {
        "TELEGRAM_ADS_TOKEN": "<YOUR_TELEGRAM_ADS_TOKEN>",
        "TG_ADS_MODE": "<YOUR_TG_ADS_MODE>",
        "TG_ADS_CODE_MODE": "<YOUR_TG_ADS_CODE_MODE>",
        "TG_ADS_ALLOWED_ACCOUNTS": "<YOUR_TG_ADS_ALLOWED_ACCOUNTS>",
        "TG_ADS_MAX_CPM": "<YOUR_TG_ADS_MAX_CPM>",
        "TG_ADS_MAX_AD_BUDGET": "<YOUR_TG_ADS_MAX_AD_BUDGET>",
        "TG_ADS_MAX_DAILY_BUDGET": "<YOUR_TG_ADS_MAX_DAILY_BUDGET>",
        "TG_ADS_AUDIT_LOG": "<YOUR_TG_ADS_AUDIT_LOG>",
        "TG_ADS_TIMEOUT_MS": "<YOUR_TG_ADS_TIMEOUT_MS>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "telegram-ads-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "telegram-ads-mcp@0.1.3"
      ],
      "env": {
        "TELEGRAM_ADS_TOKEN": "<YOUR_TELEGRAM_ADS_TOKEN>",
        "TG_ADS_MODE": "<YOUR_TG_ADS_MODE>",
        "TG_ADS_CODE_MODE": "<YOUR_TG_ADS_CODE_MODE>",
        "TG_ADS_ALLOWED_ACCOUNTS": "<YOUR_TG_ADS_ALLOWED_ACCOUNTS>",
        "TG_ADS_MAX_CPM": "<YOUR_TG_ADS_MAX_CPM>",
        "TG_ADS_MAX_AD_BUDGET": "<YOUR_TG_ADS_MAX_AD_BUDGET>",
        "TG_ADS_MAX_DAILY_BUDGET": "<YOUR_TG_ADS_MAX_DAILY_BUDGET>",
        "TG_ADS_AUDIT_LOG": "<YOUR_TG_ADS_AUDIT_LOG>",
        "TG_ADS_TIMEOUT_MS": "<YOUR_TG_ADS_TIMEOUT_MS>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "telegram-ads-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "telegram-ads-mcp@0.1.3"
      ],
      "env": {
        "TELEGRAM_ADS_TOKEN": "<YOUR_TELEGRAM_ADS_TOKEN>",
        "TG_ADS_MODE": "<YOUR_TG_ADS_MODE>",
        "TG_ADS_CODE_MODE": "<YOUR_TG_ADS_CODE_MODE>",
        "TG_ADS_ALLOWED_ACCOUNTS": "<YOUR_TG_ADS_ALLOWED_ACCOUNTS>",
        "TG_ADS_MAX_CPM": "<YOUR_TG_ADS_MAX_CPM>",
        "TG_ADS_MAX_AD_BUDGET": "<YOUR_TG_ADS_MAX_AD_BUDGET>",
        "TG_ADS_MAX_DAILY_BUDGET": "<YOUR_TG_ADS_MAX_DAILY_BUDGET>",
        "TG_ADS_AUDIT_LOG": "<YOUR_TG_ADS_AUDIT_LOG>",
        "TG_ADS_TIMEOUT_MS": "<YOUR_TG_ADS_TIMEOUT_MS>"
      }
    }
  }
}

Let your agent find its tools

Find servers like Telegram Ads MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.