telegram-user-mcp
Allows reading/sending messages, managing chats, and performing other Telegram operations via the Telegram user account API.
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.
telegram-user-mcp
Telegram user-account integration for MCP (Model Context Protocol), built on
Telethon. Exposes Telegram operations
(read/send messages, manage chats, etc.) to an MCP client over stdio or sse.
This is a containerized fork of chigwell/telegram-mcp.
Image
A public image is built by CI on every push to main and published to GHCR:
ghcr.io/alexmakeev/telegram-user-mcp:latestRelated MCP server: docker-telethon-plus
Configuration (runtime only)
All credentials are provided at runtime as environment variables — nothing is
baked into the image. Obtain TELEGRAM_API_ID / TELEGRAM_API_HASH from
https://my.telegram.org (API development tools).
Variable | Required | Description |
| yes | Telegram API id |
| yes | Telegram API hash |
| no | File-session name (default |
| no | Directory for the file session (default |
| no | Portable string session (alternative to a file session) |
| no |
|
| no | Log level (default |
Authenticating
You need either a session string or a session file for an authorized account:
String session:
python session_string_generator.py(interactive), then setTELEGRAM_SESSION_STRING.File session (QR login):
python qr_auth.py, then mount the resultingsessions/directory into the container.
A Telegram session grants full access to the account. Never commit session files or session strings. They are git-ignored here by default.
Run
docker run --rm \
-e TELEGRAM_API_ID=... \
-e TELEGRAM_API_HASH=... \
-e TELEGRAM_SESSION_STRING=... \
ghcr.io/alexmakeev/telegram-user-mcp:latestLicense
Apache-2.0 (inherited from the upstream project). See pyproject.toml for authorship.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Hosted Telegram MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables use of a personal Telegram account within MCP clients for reading and sending messages, searching chats, and managing media, all running locally.1612 npmMIT
- AlicenseNot gradedqualityBmaintenanceExposes a Telegram user account via MCP, enabling AI agents to send, read, and manage messages, chats, and media using full MTProto access through Telethon. It wraps Telethon behind a JSON HTTP API and MCP endpoint, allowing agents to interact with Telegram as the authenticated user.5GPL 2.0
- AlicenseBqualityCmaintenanceEnables MCP clients to operate a Telegram account as a userbot, providing tools for reading and sending messages, searching chats and contacts, managing media, and performing other account actions via MTProto with a locally encrypted session.28MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to drive a real Telegram account, exposing chats, messages, media, secret chats, admin rights, invite links, Mini Apps, and multi-account routing as callable tools.32GPL 3.0