telegram-user-mcp
Allows reading/sending messages, managing chats, and performing other Telegram operations via the Telegram user account API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@telegram-user-mcpSend a message to mom saying I'll be late."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: telegram-mcp
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.
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
- Alicense-qualityAmaintenanceDrives a personal Telegram account from the terminal or via MCP, enabling AI assistants to list chats, send/edit messages, fetch history, manage groups, and more with tiered read/write/destructive permissions.Last updated1MIT
- Alicense-qualityBmaintenanceConnects AI tools to Telegram via MCP, enabling reading chats, sending messages, managing groups, and more using your own account.Last updated4MIT
- FlicenseAqualityAmaintenanceConnects AI assistants to Telegram bidirectionally, enabling any MCP-compatible client to send messages, receive voice replies, and run multiple concurrent agent sessions through a single bot.Last updated46
- Alicense-qualityCmaintenanceEnables AI assistants to interact with Telegram accounts, chats, messages, media, and more via MCP, using Telethon.Last updatedApache 2.0
Related MCP Connectors
Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
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/alexmakeev/telegram-user-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server