telegram-ads
Provides tools for interacting with ads.telegram.org (Telegram Ads), enabling agents to manage ads, log in via Playwright, and monitor changes through a read-only watcher.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@telegram-ads@telegram-ads show my ad campaign stats"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
telegram-ads
Agent plugin for ads.telegram.org: typed tools, Playwright login, read-only watcher.
Give your agent the git URL. It installs itself. You do not host an MCP server.
MCP is local
The MCP entrypoint is a stdio child process the agent starts:
agent --stdin/stdout JSON-RPC--> python -m hermes_telegram_ads.mcpNo public port, no VPS daemon, no URL to keep alive. Chromium runs on the same machine as the agent. Same rule as Playwright MCP.
Related MCP server: OpenAI Ads MCP
Install
Hermes Agent
hermes plugins install https://github.com/sh0tn1k/telegram-ads.git --enableThen follow after-install.md (venv pip, playwright install chromium, TELEGRAM_ADS_PHONE, gateway restart, telegram_ads_login_from_env + Accept in Telegram).
Grant watcher inject so the read-only watcher can wake a chat:
plugins:
entries:
telegram-ads:
allow_gateway_injection: trueClaude Code
/plugin marketplace add https://github.com/sh0tn1k/telegram-ads.git
/plugin install telegram-ads@telegram-adsSet TELEGRAM_ADS_PHONE in the environment. First mutating call uses Claude Code's own permission prompt (Hermes Once/Session/Always cards exist only on Hermes).
Other MCP agents (Cursor, …)
pip install -e '.[mcp]'
python -m playwright install chromiumPoint the agent at this checkout:
{
"mcpServers": {
"telegram-ads": {
"command": "python",
"args": ["-m", "hermes_telegram_ads.mcp"]
}
}
}First login (every host)
TELEGRAM_ADS_PHONEin the host env (never in git).Call
telegram_ads_login_from_env.Tap Accept in the Telegram app.
Cookies stay in the persistent Chromium profile (
TELEGRAM_ADS_HOME, or~/.hermes/data/telegram_adsif Hermes is present, else~/.telegram-ads).
Safety
Mutations require host approval (Hermes Once/Session/Always/Deny, or the MCP client's permission UI). Do not confirm by typing "yes".
Watcher is read-only. Do not start a second Playwright on the same Ads profile.
Do not start a second Telegram
getUpdatespoller. This plugin reuses the host bot.Do not bind
hermes serve/ MCP HTTP on0.0.0.0.
Not in this plugin
Telegram research (Telethon), GrokBot identity, channel portfolio, /sessions. Those stay on the operator host.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceStateful MCP server wrapping Playwright for browser automation. Provides tools to navigate, interact, and extract data from web pages via a persistent browser session.191,251MIT
- AlicenseBqualityCmaintenanceTyped MCP server for OpenAI Ads and ChatGPT Ads via the Advertiser API. Supports account, campaign, ad group, ad, creative, audience, insight, and conversion tools with readonly mode and guarded writes.123MIT
- AlicenseNot gradedqualityBmaintenanceIntegrates Telegram user account with MCP, exposing operations like reading and sending messages, managing chats, and more via stdio or SSE transport.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceReads public Telegram channel pages and exposes them as MCP tools over Streamable HTTP/JSON-RPC, enabling retrieval of channel info, latest posts, and search without Telegram API credentials.1MIT
Related MCP Connectors
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sh0tn1k/telegram-ads'
If you have feedback or need assistance with the MCP directory API, please join our Discord server