telegram-ads
telegram-ads
Agent-Plugin für ads.telegram.org: typisierte Tools, Playwright-Login, schreibgeschützter Watcher.
Gib deinem Agenten die Git-URL. Es installiert sich selbst. Du hostest keinen MCP-Server.
MCP ist lokal
Der MCP-Einstiegspunkt ist ein stdio-Kindprozess, den der Agent startet:
agent --stdin/stdout JSON-RPC--> python -m hermes_telegram_ads.mcpKein öffentlicher Port, kein VPS-Daemon, keine URL, die man am Leben halten muss. Chromium läuft auf derselben Maschine wie der Agent. Gleiche Regel wie beim Playwright MCP.
Related MCP server: OpenAI Ads MCP
Installation
Hermes Agent
hermes plugins install https://github.com/sh0tn1k/telegram-ads.git --enableFolge dann der after-install.md (venv pip, playwright install chromium, TELEGRAM_ADS_PHONE, Gateway-Neustart, telegram_ads_login_from_env + „Accept“ in Telegram).
Gewähre „watcher inject“, damit der schreibgeschützte Watcher einen Chat aufwecken kann:
plugins:
entries:
telegram-ads:
allow_gateway_injection: trueClaude Code
/plugin marketplace add https://github.com/sh0tn1k/telegram-ads.git
/plugin install telegram-ads@telegram-adsSetze TELEGRAM_ADS_PHONE in der Umgebung. Der erste ändernde Aufruf nutzt Claude Codes eigene Berechtigungsabfrage (die Hermes-Karten „Once/Session/Always/Deny“ gibt es nur auf Hermes).
Andere MCP-Agenten (Cursor, …)
pip install -e '.[mcp]'
python -m playwright install chromiumVerweise den Agenten auf dieses Checkout:
{
"mcpServers": {
"telegram-ads": {
"command": "python",
"args": ["-m", "hermes_telegram_ads.mcp"]
}
}
}Erste Anmeldung (auf jedem Host)
TELEGRAM_ADS_PHONEin der Host-Umgebung (niemals in Git).Rufe
telegram_ads_login_from_envauf.Tippe in der Telegram-App auf „Accept“.
Die Cookies bleiben im persistenten Chromium-Profil (
TELEGRAM_ADS_HOMEbzw.~/.hermes/data/telegram_ads, falls Hermes vorhanden ist, sonst~/.telegram-ads).
Sicherheit
Ändernde Vorgänge erfordern die Zustimmung des Hosts (Hermes „Once/Session/Always/Deny“ oder die Berechtigungsoberfläche des MCP-Clients). Bestätige nicht, indem du „yes“ tippst.
Der Watcher ist schreibgeschützt. Starte kein zweites Playwright auf demselben Ads-Profil.
Starte keinen zweiten Telegram-
getUpdates-Poller. Dieses Plugin verwendet den Host-Bot erneut.Binde
hermes serve/ MCP HTTP nicht an0.0.0.0.
Nicht in diesem Plugin enthalten
Telegram-Recherche (Telethon), GroGrokBot-Identität, Channel-Portfolio, /sessions. Diese bleiben auf dem Betreiber-Host.
Lizenz
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