telegram-ads
telegram-ads
Plugin de agente para ads.telegram.org: herramientas tipadas, inicio de sesión con Playwright, watcher de solo lectura.
Dale a tu agente la URL de Git. Se instala solo. No alojas un servidor MCP.
MCP es local
El punto de entrada MCP es un proceso hijo stdio que el agente inicia:
agent --stdin/stdout JSON-RPC--> python -m hermes_telegram_ads.mcpSin puerto público, sin demonio VPS, sin URL que mantener viva. Chromium se ejecuta en la misma máquina que el agente. Misma regla que Playwright MCP.
Related MCP server: OpenAI Ads MCP
Instalación
Agente Hermes
hermes plugins install https://github.com/sh0tn1k/telegram-ads.git --enableDespués sigue after-install.md (venv pip, playwright install chromium, TELEGRAM_ADS_PHONE, reinicio de gateway, telegram_ads_login_from_env + Aceptar en Telegram).
Concede la inyección del watcher para que el watcher de solo lectura pueda despertar un 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-adsConfigura TELEGRAM_ADS_PHONE en el entorno. La primera llamada de mutación usa el propio prompt de permisos de Claude Code (las tarjetas Once/Session/Always de Hermes solo existen en Hermes).
Otros agentes MCP (Cursor, …)
pip install -e '.[mcp]'
python -m playwright install chromiumApunta al agente a este checkout:
{
"mcpServers": {
"telegram-ads": {
"command": "python",
"args": ["-m", "hermes_telegram_ads.mcp"]
}
}
}Primer inicio de sesión (en cualquier host)
TELEGRAM_ADS_PHONEen el entorno del host (nunca en git).Llama a
telegram_ads_login_from_env.Toca Aceptar en la aplicación de Telegram.
Las cookies permanecen en el perfil persistente de Chromium (
TELEGRAM_ADS_HOME, o~/.hermes/data/telegram_adssi Hermes está presente, si no~/.telegram-ads).
Seguridad
Las mutaciones requieren aprobación del host (Hermes Once/Session/Always/Deny, o la UI de permisos del cliente MCP). No confirmes escribiendo "sí".
El watcher es de solo lectura. No inicies un segundo Playwright en el mismo perfil de Ads.
No inicies un segundo poller de
getUpdatesde Telegram. Este plugin reutiliza el bot del host.No vincules
hermes serve/ MCP HTTP en0.0.0.0.
Lo que no está en este plugin
Investigación de Telegram (Telethon), identidad de GrokBot, cartera de canales, /sessions. Esos permanecen en el host del operador.
Licencia
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