capy-tg-mcp
Allows MCP clients to interact with a personal Telegram account, providing tools for reading and searching chats, summarizing unread messages, sending and editing messages, handling files, transcribing voice messages, managing groups and channels, and supporting multiple accounts.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
CapyAgent Telegram MCP
Подключает личный аккаунт Telegram к CapyAgent, Cursor и любым другим MCP-клиентам. Около 80 инструментов: чтение и поиск по чатам, сводки непрочитанного, отправка и правка сообщений, файлы, голосовые с расшифровкой, группы и каналы, несколько аккаунтов сразу.
Главное про безопасность
По умолчанию сервер отдаёт агенту только инструменты чтения (TELEGRAM_EXPOSED_TOOLS=read-only). Запись включается явно:
read-only+send_message,reply_to_message- чтение плюс перечисленные инструменты;all- всё, включая удаление, управление группами и админами.
Дополнительно можно ограничить чаты: TELEGRAM_ALLOWED_CHAT_IDS=123,-100456.
Одну Telethon-сессию нельзя держать двумя процессами одновременно, она ломается. Под этот сервер нужна отдельная сессия.
Related MCP server: Telegram MCP Server
Установка
git clone https://github.com/smolnikov-k/capy-tg-mcp && cd capy-tg-mcp
uv sync
cp .env.example .env # вписать TELEGRAM_API_ID и TELEGRAM_API_HASH с my.telegram.org
uv run capy-tg-mcp-session # вход по номеру и коду, выдаст строку сессииСтроку сессии положить в .env как TELEGRAM_SESSION_STRING. Чтобы Телеграм не видел «новое устройство» при каждом подключении, задать TELEGRAM_DEVICE_MODEL, TELEGRAM_SYSTEM_VERSION, TELEGRAM_APP_VERSION.
Подключение к MCP-клиенту
Сервер работает по stdio. Без клонирования, прямо с GitHub:
uvx --from git+https://github.com/smolnikov-k/capy-tg-mcp@v1.0.0 capy-tg-mcpПеременные TELEGRAM_API_ID, TELEGRAM_API_HASH и TELEGRAM_SESSION_STRING передаются в окружении процесса. Из клонированной папки:
uv --directory /path/to/capy-tg-mcp run main.pyТесты
uv sync --group dev && uv run pytest -qПолная документация по всем инструментам и переменным: docs/README.upstream.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Messaging tools for AI agents: send messages, manage chats, groups and channels.
Unified inbox MCP for WhatsApp, Telegram, Email, voice — read/send messages, search, AI agents.
Your Telegram, WhatsApp, Instagram, mail and calendar in Claude or ChatGPT. Never sends messages.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to interact with Telegram accounts through MCP, supporting messaging, contacts, groups, media, and admin functions.4Apache 2.0
- AlicenseBqualityDmaintenanceEnables full access to your personal Telegram account via MCP, allowing reading, sending, and searching messages, managing chats, and retrieving user information through natural language commands.1845 npm4MIT
- AlicenseCqualityDmaintenanceConnects AI tools to Telegram via MCP, enabling reading chats, sending messages, managing groups, and more using your own account.5439 PyPI7MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to control a real Telegram user account via MTProto, allowing message sending, chat reading/searching, and message management through MCP tools.30 npm-