Telegram AISAFE
Telegram MCP server: connect your personal Telegram account to Claude, ChatGPT, Cursor and any MCP client. 182 tools over MTProto. Self-host with npx or Docker, or use the hosted version.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.npmjs.com/package/@overpod/mcp-telegram) [](https://www.npmjs.com/package/@overpod/mcp-telegram) [](https://nodejs.org/) [](https://www.typescriptlang.org/) [](https://modelcontextprotocol.io/) [](LICENSE) [](https://glama.ai/mcp/servers/overpod/mcp-telegram)
[📖 Documentation](https://mcp-telegram.github.io/mcp-telegram/) · [☁️ Cloud version](https://mcp-telegram.com) — connect Telegram to Claude.ai or ChatGPT in 30 seconds with QR code, no API keys needed.
Telegram MCP Server — a Model Context Protocol server that connects AI assistants like Claude and ChatGPT to Telegram via the MTProto protocol. Unlike bots, this runs as a userbot -- it operates under your personal Telegram account using GramJS, giving full access to your chats, contacts, and message history.
Features
- Comprehensive tool coverage -- the most full-featured Telegram MCP server available
- MTProto protocol -- direct Telegram API access, not the limited Bot API
- Userbot -- operates as your personal account, not a bot
- Full-featured -- messaging, reactions, polls, scheduled messages, stickers, media, contacts, and more
- Forum Topics -- list topics, read per-topic messages, send to specific topics, per-topic unread
e920d1717cebOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp-telegram --env TELEGRAM_API_ID=${TELEGRAM_API_ID} --env TELEGRAM_API_HASH=${TELEGRAM_API_HASH} -- npx -y @overpod/[email protected]Exposed tools (182)
117 read · 51 write · 14 destructive. Blast radius: 14 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
telegram-activate-stealth-mode | read | |
telegram-add-contact | write | |
telegram-approve-join-request | read | |
telegram-archive-chat | read | |
telegram-ban-user | read | |
telegram-block-user | read | |
telegram-change-stars-subscription | read | |
telegram-clear-drafts | destructive | |
telegram-clear-recent-emoji-statuses | destructive | |
telegram-close-poll | read | |
telegram-convert-star-gift | read | |
telegram-create-business-chat-link | write | |
telegram-create-folder | write | |
telegram-create-group | write | |
telegram-create-invite-link | write | |
telegram-create-poll | write | |
telegram-create-topic | write | |
telegram-delete-business-chat-link | destructive | |
telegram-delete-fact-check | destructive | |
telegram-delete-folder | destructive | |
telegram-delete-message | destructive | |
telegram-delete-profile-photo | destructive | |
telegram-delete-scheduled | destructive | |
telegram-delete-stories | destructive | |
telegram-delete-topic | destructive | |
telegram-download-media | read | |
telegram-edit-business-chat-link | write | |
telegram-edit-fact-check | write | |
telegram-edit-folder | write | |
telegram-edit-group | write | |
telegram-edit-message | write | |
telegram-edit-story | write | |
telegram-edit-topic | write | |
telegram-export-story-link | read | |
telegram-forward-message | read | |
telegram-get-admin-log | read | |
telegram-get-all-stories | read | |
telegram-get-available-star-gifts | read | |
telegram-get-boosts-list | read | |
telegram-get-boosts-status | read | |
telegram-get-broadcast-stats | read | |
telegram-get-business-chat-links | read | |
telegram-get-channel-updates | read | |
telegram-get-chat-folders | read | |
telegram-get-chat-info | read | |
telegram-get-chat-members | read | |
telegram-get-contact-requests | read | |
telegram-get-contacts | read | |
telegram-get-discussion-message | read | |
telegram-get-drafts | read | |
telegram-get-fact-check | read | |
telegram-get-global-privacy-settings | read | |
telegram-get-group-call | read | |
telegram-get-group-call-participants | read | |
telegram-get-groups-for-discussion | read | |
telegram-get-installed-stickers | read | |
telegram-get-invite-links | read | |
telegram-get-megagroup-stats | read | |
telegram-get-message-buttons | read | |
telegram-get-message-link | read | |
telegram-get-message-read-participants | read | |
telegram-get-my-boosts | read | |
telegram-get-my-role | read | |
telegram-get-outbox-read-date | read | |
telegram-get-paid-reaction-privacy | read | |
telegram-get-peer-stories | read | |
telegram-get-poll-results | read | |
telegram-get-poll-voters | read | |
telegram-get-profile | read | |
telegram-get-profile-photo | read | |
telegram-get-quick-replies | read | |
telegram-get-quick-reply-messages | read | |
telegram-get-reactions | read | |
telegram-get-recent-reactions | read | |
telegram-get-recent-stickers | read | |
telegram-get-replies | read | |
telegram-get-saved-dialogs | read | |
telegram-get-saved-music | read | |
telegram-get-saved-star-gifts | read | |
telegram-get-scheduled | read | |
telegram-get-sessions | read | |
telegram-get-stars-status | read | |
telegram-get-stars-subscriptions | read | |
telegram-get-stars-topup-options | read | |
telegram-get-stars-transactions | read | |
telegram-get-state | read | |
telegram-get-sticker-set | write | |
telegram-get-stories-archive | read | |
telegram-get-stories-by-id | read | |
telegram-get-story-views | read | |
telegram-get-suggested-folders | read | |
telegram-get-top-reactions | read | |
telegram-get-transcription | read | |
telegram-get-unread | read | |
telegram-get-unread-mentions | read | |
telegram-get-unread-reactions | read | |
telegram-get-updates | read | |
telegram-get-web-preview | read | |
telegram-inline-query | read | |
telegram-inline-query-send | write | |
telegram-invite-to-group | read | |
telegram-join-chat | read | |
telegram-kick-user | read | |
telegram-leave-group | read | |
telegram-list-chats | read | |
telegram-list-emoji-statuses | read | |
telegram-list-topics | read | |
telegram-login | read | |
telegram-logout | read | |
telegram-mark-as-read | read | |
telegram-mark-dialog-unread | read | |
telegram-mute-chat | read | |
telegram-pin-chat | read | |
telegram-pin-message | read | |
telegram-press-button | read | |
telegram-rate-transcription | read | |
telegram-react-to-story | read | |
telegram-read-messages | read | |
telegram-read-stories | read | |
telegram-read-topic-messages | read | |
telegram-remove-admin | destructive | |
telegram-reorder-folders | read | |
telegram-report-spam | read | |
telegram-report-story | read | |
telegram-resolve-business-chat-link | read | |
telegram-revoke-invite-link | destructive | |
telegram-save-draft | write | |
telegram-save-star-gift | write | |
telegram-search-chats | read | |
telegram-search-global | read | |
telegram-search-messages | read | |
telegram-search-sticker-sets | read | |
telegram-send-album | write | |
telegram-send-contact | write | |
telegram-send-dice | write | |
telegram-send-file | write | |
telegram-send-location | write | |
telegram-send-message | write | |
telegram-send-paid-reaction | write | |
telegram-send-reaction | write | |
telegram-send-scheduled | write | |
telegram-send-sticker | write | |
telegram-send-story | write | |
telegram-send-typing | write | |
telegram-send-venue | write | |
telegram-send-video-note | write | |
telegram-send-voice | write | |
telegram-set-admin | write | |
telegram-set-auto-delete | destructive | |
telegram-set-birthday | write | |
telegram-set-business-away | write | |
telegram-set-business-greeting | write | |
telegram-set-business-hours | write | |
telegram-set-business-intro | write | |
telegram-set-business-location | write | |
telegram-set-chat-permissions | write | |
telegram-set-chat-reactions | write | |
telegram-set-default-reaction | write | |
telegram-set-emoji-status | write | |
telegram-set-global-privacy-settings | write | |
telegram-set-personal-channel | write | |
telegram-set-privacy | write | |
telegram-set-profile-color | write | |
telegram-set-profile-photo | write | |
telegram-set-slow-mode | write | |
telegram-status | read | |
telegram-terminate-session | destructive | |
telegram-toggle-anti-spam | read | |
telegram-toggle-channel-signatures | read | |
telegram-toggle-folder-tags | read | |
telegram-toggle-forum-mode | read | |
telegram-toggle-paid-reaction-privacy | read | |
telegram-toggle-prehistory-hidden | read | |
telegram-toggle-story-pinned | read | |
telegram-toggle-story-pinned-to-top | read | |
telegram-transcribe-audio | read | |
telegram-translate-message | read | |
telegram-unban-user | read | |
telegram-unblock-user | read | |
telegram-unpin-message | read | |
telegram-update-profile | write | |
telegram-vote-poll | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (16)
telegram-clear-drafts, telegram-clear-recent-emoji-statuses, telegram-delete-business-chat-link, telegram-delete-fact-check, telegram-delete-folder, telegram-delete-message, telegram-delete-profile-ph
.release-please-manifest.json
return WIN_PIPE_PREFIX + createHash("sha1").update(normalized).digest("hex").slice(0, 32);"../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
"../../node_modules/.pnpm/[email protected]/node_modules/rfdc/index.js"(exports, module) {
"../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
"../../node_modules/.pnpm/[email protected]/node_modules/speakingurl/lib/speakingurl.js"(exports, module) {
"../../node_modules/.pnpm/[email protected]/node_modules/speakingurl/index.js"(exports, module) {
assert.strictEqual(isSafeAbsolutePath("https://169.254.169.254/latest/meta-data/"), false);assert.strictEqual(isSafeAbsolutePath("https://169.254.169.254/latest/meta-data/"), false);@modelcontextprotocol/sdk, big-integer, dotenv, qrcode, telegram, zod, @biomejs/biome, @types/node
* **tools:** curate stars/press-button/report-story output to cut response tokens ([06d3fa1](https://github.com/mcp-telegram/mcp-telegram/commit/06d3fa113eb287237aff6c4d866785b06e9cd660))
- **`TelegramService.logOut()` hardened** — server-revoke and client-destroy are now split: a successful `auth.LogOut` returns `true` even if `client.destroy()` throws (previously misreported "not con
assets/demo.gif
**Telegram MCP Server** — a Model Context Protocol server that connects AI assistants like Claude and ChatGPT to Telegram via the MTProto protocol. Unlike bots, this runs as a **userbot** -- it operat
- The session allows full access to your Telegram account — treat it like a password
Gates applied: no_behavioural_pass.
e920d1717cebfull audit observations/trust-audit/mcp-server/mcp-telegram__telegram-ai.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | e920d1717ceb | SAFE | B | 89 | first audit |
Questions
What is the Telegram AI MCP server?
Telegram MCP server: connect your personal Telegram account to Claude, ChatGPT, Cursor and any MCP client. 182 tools over MTProto. Self-host with npx or Docker, or use the hosted version.
What tools does Telegram AI expose?
182 in total: 117 read-only, 51 that write, and 14 that can delete or overwrite (telegram-clear-drafts, telegram-clear-recent-emoji-statuses, telegram-delete-business-chat-link, telegram-delete-fact-check, telegram-delete-folder). Every one is listed on this page with its risk.
Is Telegram AI safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 14 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Telegram AI need?
It reads TELEGRAM_2FA_PASSWORD, TELEGRAM_API_HASH, TELEGRAM_API_ID, TELEGRAM_PROXY_PASSWORD and TELEGRAM_PROXY_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Telegram AI run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @overpod/mcp-telegram at 1.43.4.
How current is this page?
The grade is for one exact copy of the source (e920d1717ceb), read on 2026-10-09. The repository is watched and re-audited when it changes.