telegram-ads
telegram-ads
Плагин агента для ads.telegram.org: типизированные инструменты, вход через Playwright, watcher только для чтения.
Дайте агенту git-URL. Он установится сам. Вам не нужно размещать MCP-сервер.
MCP работает локально
Точка входа MCP — это дочерний процесс stdio, который запускает агент:
agent --stdin/stdout JSON-RPC--> python -m hermes_telegram_ads.mcpНикакого публичного порта, никакого VPS-демона, никакого URL для поддержания жизни. Chromium работает на той же машине, что и агент. То же правило, что и в Playwright MCP.
Related MCP server: OpenAI Ads MCP
Установка
Hermes Agent
hermes plugins install https://github.com/sh0tn1k/telegram-ads.git --enableЗатем следуйте after-install.md (venv pip, playwright install chromium, TELEGRAM_ADS_PHONE, перезапуск шлюза, telegram_ads_login_from_env + Accept в Telegram).
Предоставьте watcher inject, чтобы watcher только для чтения мог разбудить чат:
plugins:
entries:
telegram-ads:
allow_gateway_injection: trueClaude Code
/plugin marketplace add https://github.com/sh0tn1k/telegram-ads.git
/plugin install telegram-ads@telegram-adsУстановите TELEGRAM_ADS_PHONE в окружении. Первый изменяющий вызов использует собственный запрос разрешений Claude Code (карточки Hermes Once/Session/Always существуют только в Hermes).
Другие MCP-агенты (Cursor, …)
pip install -e '.[mcp]'
python -m playwright install chromiumУкажите агенту на этот checkout:
{
"mcpServers": {
"telegram-ads": {
"command": "python",
"args": ["-m", "hermes_telegram_ads.mcp"]
}
}
}Первый вход (на каждом хосте)
TELEGRAM_ADS_PHONEв окружении хоста (никогда в git).Вызовите
telegram_ads_login_from_env.Нажмите Accept в приложении Telegram.
Cookies остаются в постоянном профиле Chromium (
TELEGRAM_ADS_HOME, или~/.hermes/data/telegram_ads, если присутствует Hermes, иначе~/.telegram-ads).
Безопасность
Изменения требуют одобрения хоста (Hermes Once/Session/Always/Deny, или UI разрешений MCP-клиента). Не подтверждайте вводом «yes».
Watcher только для чтения. Не запускайте второй Playwright на том же профиле Ads.
Не запускайте второй поллер Telegram
getUpdates. Этот плагин переиспользует бота хоста.Не привязывайте
hermes serve/ MCP HTTP к0.0.0.0.
Не входит в этот плагин
Telegram-исследования (Telethon), идентичность GrokBot, портфель каналов, /sessions. Они остаются на хосте оператора.
Лицензия
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