Chatroost — unofficial Telegram MCP server

io.github.mcp-telegram由 GitHub 账号 mcp-telegram 发布v1.45.1更新于 Nov 3, 2026

非官方 Telegram MCP 服务器——在你自己的 Telegram 账号中读取、搜索、回复和添加回应。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Unofficial Telegram MCP server — read, search, reply and react in your own Telegram account.

已验证Streamable HTTP可网页运行效率与工作流沟通与协作

概览

Chatroost — unofficial Telegram 的托管 MCP 服务(mcp.mcp-telegram.com);需要 OAuth 登录;Streamable HTTP。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
mcp.mcp-telegram.com
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Chatroost — unofficial Telegram MCP server,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.mcp-telegram%2Fmcp-telegram/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "chatroost-unofficial-telegram": {
      "type": "http",
      "url": "https://mcp.mcp-telegram.com/mcp"
    }
  }
}

README

Telegram MCP Server

[npm] [npm downloads] [Node.js] [TypeScript] [MCP SDK] [License: MIT] [mcp-telegram MCP server]

📖 Documentation · ☁️ Cloud version — connect Telegram to Claude.ai or ChatGPT in 30 seconds with QR code, no API keys needed.

[MCP Telegram demo — connect and summarize chats in Claude]

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 counts
  • Stickers -- search sticker sets, browse installed/recent stickers, send stickers to any chat
  • Account & profile management -- update profile, set emoji status, birthday, personal channel, profile photo, manage privacy settings, sessions, auto-delete timers
  • Chat folders -- create, edit, delete and reorder folders, toggle folder tags, read suggested folders (v1.33.0)
  • Global privacy -- read and set account-wide privacy settings (v1.33.0)
  • Global search -- search messages across all chats at once
  • Real-time polling -- fetch updates via stateless cursors; agent owns {pts, qts, date} state
  • Inline bots & buttons -- query inline bots, send results, press callback buttons
  • Stories -- read stories from peers, get story view stats; publish/edit/delete stories, react, pin, stealth mode, archive, report (v1.30.0)
  • Discussion -- get discussion-group info for channel posts with comments, list groups eligible for discussion (v1.30.0)
  • Read Receipts -- who read a message in a small group, when your private message was read (v1.30.0)
  • Admin controls -- toggle channel signatures, anti-spam, forum mode, prehistory; approve join requests
  • Stats -- channel and supergroup analytics (GetBroadcastStats / GetMegagroupStats)
  • Boosts & Business -- boost status, boosters list, Telegram Business chat links CRUD, work hours, location, greeting/away/intro messages
  • Star gifts -- browse available and saved gifts, save/convert gifts, manage Stars balance and subscriptions (opt-in via MCP_TELEGRAM_ENABLE_STARS=1, v1.34.0)
  • Shared daemon -- one background process serves multiple MCP clients over a single Telegram session; see the shared-daemon guide (v1.38.0)
  • QR code login -- authenticate by scanning a QR code in the Telegram app
  • Session persistence -- login once, stay connected across restarts
  • Human-readable output -- sender names are resolved, not just numeric IDs
  • Works with any MCP client -- Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code, Mastra, etc.

Prerequisites

  • Node.js 18 or later
  • Telegram API credentials -- API_ID and API_HASH from my.telegram.org

Quick Start

1. Get Telegram API credentials

  1. Go to my.telegram.org and log in with your phone number.
  2. Navigate to API development tools.
  3. Create a new application (any name and platform).
  4. Copy the App api_id and App api_hash.

2. Login

bash
TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH npx @overpod/mcp-telegram login

A QR code will appear in the terminal. Open Telegram on your phone, go to Settings > Devices > Link Desktop Device, and scan the code. The session is saved to ~/.mcp-telegram/session and reused automatically.

Custom session path: set TELEGRAM_SESSION_PATH=/path/to/session to store the session file elsewhere.

Two-step verification (2FA): if your account has a cloud password enabled, scanning the QR code is not enough — Telegram also requires the password. Provide it via TELEGRAM_2FA_PASSWORD so the login can complete:

bash
TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH TELEGRAM_2FA_PASSWORD=YOUR_PASSWORD npx @overpod/mcp-telegram login

The password is only used locally to answer Telegram's SRP challenge and is never persisted.

Local files: tools that upload a file (telegram-send-file, telegram-send-voice, telegram-send-album, stories, profile and group photos) read files under your home folder and temp folders, and downloads are saved to Downloads, Desktop, Documents or temp folders. Hidden files and folders (~/.ssh, ~/.mcp-telegram, ...), ~/Library, ~/AppData and the session file are always refused, and an existing file is never overwritten (name (1).ext is used). To use other folders, list them in MCP_TELEGRAM_FILE_DIRS (separated by :, or ; on Windows); this replaces the defaults.

3. Add to Claude

bash
claude mcp add telegram -s user \  -e TELEGRAM_API_ID=YOUR_ID \  -e TELEGRAM_API_HASH=YOUR_HASH \  -- npx @overpod/mcp-telegram

That's it! Ask Claude to run telegram-status to verify.

Multiple Accounts

Use TELEGRAM_SESSION_PATH to run separate Telegram accounts side by side:

bash
# Login each account with a unique session pathTELEGRAM_API_ID=ID1 TELEGRAM_API_HASH=HASH1 TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-work npx @overpod/mcp-telegram loginTELEGRAM_API_ID=ID2 TELEGRAM_API_HASH=HASH2 TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-personal npx @overpod/mcp-telegram login

Then add each as a separate MCP server:

bash
claude mcp add telegram-work -s user \  -e TELEGRAM_API_ID=ID1 \  -e TELEGRAM_API_HASH=HASH1 \  -e TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-work \  -- npx @overpod/mcp-telegram
claude mcp add telegram-personal -s user \  -e TELEGRAM_API_ID=ID2 \  -e TELEGRAM_API_HASH=HASH2 \  -e TELEGRAM_SESSION_PATH=~/.mcp-telegram/session-personal \  -- npx @overpod/mcp-telegram

Each account gets its own session file — no conflicts.

Multiple agents / concurrent clients (shared daemon)

The opposite of multiple accounts: one account driven by many clients at once — several Claude Code windows, parallel sub-agents, or multiple IDEs. Normally each process opens the same session and they evict one another with AUTH_KEY_DUPLICATED. Serve mode fixes this.

Run a single persistent daemon that owns the one Telegram connection. Every other process auto-detects the daemon (via a PID lock) and becomes a thin client that proxies tool calls to it over a local Unix socket:

bash
# On the host, once: start the daemon (owns the connection, no stdio)TELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH mcp-telegram serve# (or set MCP_TELEGRAM_DAEMON=1 instead of the `serve` argument)

Then point each MCP client at the same install with the same TELEGRAM_SESSION_PATH — no serve argument. They connect to the daemon automatically; closing any client never drops the shared connection. Credentials are only required by the daemon (the owner), so client commands can omit TELEGRAM_API_ID/TELEGRAM_API_HASH and keep them where the daemon runs.

See the shared daemon guide for a systemd unit and SSH usage.

Proxy Support

If Telegram is blocked or you're running in a containerized environment (Docker, K3s), use a SOCKS5 or MTProxy:

bash
# SOCKS5 proxyTELEGRAM_PROXY_IP=127.0.0.1 \TELEGRAM_PROXY_PORT=10808 \npx @overpod/mcp-telegram
# MTProxyTELEGRAM_PROXY_IP=proxy.example.com \TELEGRAM_PROXY_PORT=443 \TELEGRAM_PROXY_SECRET=ee00000000000000000000000000000000 \npx @overpod/mcp-telegram
VariableDescription
TELEGRAM_PROXY_IPProxy server address
TELEGRAM_PROXY_PORTProxy server port
TELEGRAM_PROXY_SOCKS_TYPE4 or 5 (default: 5)
TELEGRAM_PROXY_SECRETMTProxy secret (enables MTProxy mode)
TELEGRAM_PROXY_USERNAMEOptional proxy auth
TELEGRAM_PROXY_PASSWORDOptional proxy auth

Connecting via WSS (port 443)

If your VPS or hosting IP is reachable on outbound port 443 but not the default MTProto port 80 (some cloud providers ban port 80 on Telegram DC IP ranges as anti-abuse policy), set:

bash
TELEGRAM_USE_WSS=true npx @overpod/mcp-telegram
VariableDescription
TELEGRAM_USE_WSSWhen true, gramJS uses port 443 instead of 80 for the MTProto TCPFull transport. Default: false. Cannot be combined with TELEGRAM_PROXY_* (gramJS limitation) — if both are set, useWSS is ignored and the proxy takes precedence (a warning is logged).

Installation Options

npx (recommended, zero install)

No need to clone or install anything. Just use npx @overpod/mcp-telegram.

Global install

bash
npm install -g @overpod/mcp-telegrammcp-telegram          # run servermcp-telegram login    # QR login

Pre-built binary (no runtime needed)

Download from Releases — standalone single-file binaries, zero dependencies:

PlatformServerLogin CLI
Linux x64mcp-telegram-linux-x64mcp-telegram-login-linux-x64
Linux ARM64mcp-telegram-linux-arm64mcp-telegram-login-linux-arm64
macOS x64mcp-telegram-darwin-x64mcp-telegram-login-darwin-x64
macOS ARM64mcp-telegram-darwin-arm64mcp-telegram-login-darwin-arm64
Windows x64mcp-telegram-windows-x64.exemcp-telegram-login-windows-x64.exe
bash
# Download (example for Linux x64)curl -L -o mcp-telegram https://github.com/mcp-telegram/mcp-telegram/releases/latest/download/mcp-telegram-linux-x64curl -L -o mcp-telegram-login https://github.com/mcp-telegram/mcp-telegram/releases/latest/download/mcp-telegram-login-linux-x64chmod +x mcp-telegram mcp-telegram-login
# LoginTELEGRAM_API_ID=YOUR_ID TELEGRAM_API_HASH=YOUR_HASH ./mcp-telegram-login
# Run./mcp-telegram

From source

bash
git clone https://github.com/mcp-telegram/mcp-telegram.gitcd mcp-telegramnpm install && npm run build

Docker

bash
docker build -t mcp-telegram https://github.com/mcp-telegram/mcp-telegram.git

Login (interactive terminal required):

bash
docker run -it --rm \  -e TELEGRAM_API_ID=YOUR_ID \  -e TELEGRAM_API_HASH=YOUR_HASH \  -v ~/.mcp-telegram:/root/.mcp-telegram \  --entrypoint node mcp-telegram dist/qr-login-cli.js

Run the MCP server:

bash
docker run -i --rm \  -e TELEGRAM_API_ID=YOUR_ID \  -e TELEGRAM_API_HASH=YOUR_HASH \  -v ~/.mcp-telegram:/root/.mcp-telegram \  mcp-telegram

Note: Login must be done once via terminal. After that, the session is persisted in ~/.mcp-telegram and reused automatically.

Usage with MCP Clients

Claude Code (CLI)

bash
claude mcp add telegram -s user \  -e TELEGRAM_API_ID=YOUR_ID \  -e TELEGRAM_API_HASH=YOUR_HASH \  -- npx @overpod/mcp-telegram

Claude Desktop

  1. Open your config file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the Telegram server:

json
{  "mcpServers": {    "telegram": {      "command": "npx",      "args": ["@overpod/mcp-telegram"],      "env": {        "TELEGRAM_API_ID": "YOUR_ID",        "TELEGRAM_API_HASH": "YOUR_HASH"      }    }  }}
  1. Restart Claude Desktop.

  2. Ask Claude: "Run telegram-login" -- a QR code will appear. If the image is not visible, it's also saved to ~/.mcp-telegram/qr-login.png. Scan it in Telegram (Settings > Devices > Link Desktop Device).

  3. Ask Claude: "Run telegram-status" to verify the connection.

Note: No terminal required! Login works entirely through Claude Desktop.

Claude Desktop (Binary)

Same setup, but using the pre-built binary instead of npx:

json
{  "mcpServers": {    "telegram": {      "command": "/path/to/mcp-telegram",      "env": {        "TELEGRAM_API_ID": "YOUR_ID",        "TELEGRAM_API_HASH": "YOUR_HASH"      }    }  }}

Claude Desktop (Docker)

  1. Login via terminal first (see Docker section above).

  2. Add to your config file:

json
{  "mcpServers": {    "telegram": {      "command": "docker",      "args": [        "run", "-i", "--rm",        "-e", "TELEGRAM_API_ID=YOUR_ID",        "-e", "TELEGRAM_API_HASH=YOUR_HASH",        "-v", "~/.mcp-telegram:/root/.mcp-telegram",        "mcp-telegram"      ]    }  }}
  1. Restart Claude Desktop. Ask Claude: "Run telegram-status" to verify.

Cursor / VS Code

Add the same JSON config above to your MCP settings (Cursor Settings > MCP, or VS Code MCP config).

Mastra

typescript
import { MCPClient } from "@mastra/mcp";
const telegramMcp = new MCPClient({  id: "telegram-mcp",  servers: {    telegram: {      command: "npx",      args: ["@overpod/mcp-telegram"],      env: {        TELEGRAM_API_ID: process.env.TELEGRAM_API_ID!,        TELEGRAM_API_HASH: process.env.TELEGRAM_API_HASH!,      },    },  },});

Tools

All tools are auto-discoverable via MCP — your AI client will see the full list with parameters and descriptions when connected.

CategoryTools
Authtelegram-status, telegram-login, telegram-logout
Messagingtelegram-send-message (incl. quoteText for verbatim reply quotes and Premium message effect), telegram-edit-message, telegram-delete-message, telegram-forward-message, telegram-send-scheduled, telegram-send-typing, telegram-translate-message, telegram-get-message-link
Scheduledtelegram-get-scheduled, telegram-delete-scheduled
Readingtelegram-list-chats, telegram-read-messages, telegram-search-messages, telegram-search-global, telegram-search-chats, telegram-get-unread, telegram-mark-as-read, telegram-get-replies, telegram-get-unread-mentions, telegram-get-unread-reactions, telegram-get-saved-dialogs
Draftstelegram-save-draft, telegram-get-drafts, telegram-clear-drafts
Forum Topicstelegram-list-topics, telegram-read-topic-messages, telegram-create-topic, telegram-edit-topic, telegram-delete-topic
Pollstelegram-create-poll
Poll Interaction (v1.31.0)telegram-vote-poll, telegram-get-poll-results, telegram-get-poll-voters, telegram-close-poll
Reactionstelegram-send-reaction, telegram-get-reactions, telegram-set-default-reaction, telegram-get-top-reactions, telegram-get-recent-reactions
Paid Reactions (v1.31.0)telegram-send-paid-reaction (★ Stars), telegram-toggle-paid-reaction-privacy, telegram-get-paid-reaction-privacy
Audio Transcription (v1.31.0)telegram-transcribe-audio (Premium), telegram-get-transcription, telegram-rate-transcription
Fact-check (v1.31.0)telegram-get-fact-check, telegram-edit-fact-check, telegram-delete-fact-check
Stickerstelegram-send-sticker, telegram-get-installed-stickers, telegram-get-recent-stickers, telegram-get-sticker-set, telegram-search-sticker-sets
Mediatelegram-send-file, telegram-download-media, telegram-get-profile-photo, telegram-get-web-preview
Rich Media Sendingtelegram-send-voice, telegram-send-video-note (round video), telegram-send-location (static or live), telegram-send-venue, telegram-send-contact, telegram-send-dice (🎲🎯🎰🏀⚽🎳), telegram-send-album (2–10 grouped photos/videos)
Groupstelegram-create-group, telegram-edit-group, telegram-invite-to-group, telegram-join-chat, telegram-leave-group, telegram-kick-user, telegram-ban-user, telegram-unban-user, telegram-set-admin, telegram-remove-admin, telegram-get-my-role, telegram-set-chat-permissions, telegram-set-slow-mode, telegram-get-admin-log
Chat Infotelegram-get-chat-info, telegram-get-chat-members, telegram-get-chat-folders
Folders (v1.33.0)telegram-create-folder, telegram-edit-folder, telegram-delete-folder, telegram-reorder-folders, telegram-get-suggested-folders, telegram-toggle-folder-tags
Global Privacy (v1.33.0)telegram-get-global-privacy-settings, telegram-set-global-privacy-settings
Invite Linkstelegram-create-invite-link, telegram-get-invite-links, telegram-revoke-invite-link
Contactstelegram-get-contacts, telegram-add-contact, telegram-get-contact-requests
Moderationtelegram-block-user, telegram-unblock-user, telegram-report-spam
Profiles (read)telegram-get-profile, telegram-update-profile
Profile (write, v1.32.0)telegram-set-emoji-status (Premium), telegram-list-emoji-statuses, telegram-clear-recent-emoji-statuses, telegram-set-profile-color (Premium), telegram-set-birthday, telegram-set-personal-channel, telegram-set-profile-photo, telegram-delete-profile-photo
Accounttelegram-get-sessions, telegram-terminate-session, telegram-set-privacy, telegram-set-auto-delete
Pinningtelegram-pin-message, telegram-unpin-message
Chat Settingstelegram-mute-chat, telegram-archive-chat, telegram-pin-chat, telegram-mark-dialog-unread
Admin Togglestelegram-toggle-channel-signatures, telegram-toggle-anti-spam, telegram-toggle-forum-mode, telegram-toggle-prehistory-hidden, telegram-set-chat-reactions, telegram-approve-join-request
Statstelegram-get-broadcast-stats, telegram-get-megagroup-stats
Inline Bots & Buttonstelegram-inline-query, telegram-inline-query-send, telegram-press-button, telegram-get-message-buttons
Real-Time Pollingtelegram-get-state, telegram-get-updates, telegram-get-channel-updates
Stories (read)telegram-get-all-stories, telegram-get-peer-stories, telegram-get-stories-by-id, telegram-get-story-views
Stories (write, v1.30.0)telegram-send-story, telegram-edit-story, telegram-delete-stories, telegram-react-to-story, telegram-export-story-link, telegram-read-stories, telegram-toggle-story-pinned, telegram-toggle-story-pinned-to-top, telegram-activate-stealth-mode (Premium), telegram-get-stories-archive, telegram-report-story
Discussion (v1.30.0)telegram-get-discussion-message, telegram-get-groups-for-discussion
Read Receipts (v1.30.0)telegram-get-message-read-participants, telegram-get-outbox-read-date
Booststelegram-get-my-boosts, telegram-get-boosts-status, telegram-get-boosts-list
Business (v1.32.0)telegram-get-business-chat-links, telegram-create-business-chat-link, telegram-edit-business-chat-link, telegram-delete-business-chat-link, telegram-resolve-business-chat-link, telegram-set-business-hours, telegram-set-business-location, telegram-set-business-greeting, telegram-set-business-away, telegram-set-business-intro
Opt-in (env-gated)telegram-get-group-call, telegram-get-group-call-participants (requires MCP_TELEGRAM_ENABLE_GROUP_CALLS=1); Stars & gifts telegram-get-stars-status, telegram-get-stars-transactions, telegram-get-stars-topup-options, telegram-get-stars-subscriptions, telegram-change-stars-subscription, telegram-get-available-star-gifts, telegram-get-saved-star-gifts, telegram-save-star-gift, telegram-convert-star-gift (requires MCP_TELEGRAM_ENABLE_STARS=1); telegram-get-quick-replies, telegram-get-quick-reply-messages (requires MCP_TELEGRAM_ENABLE_QUICK_REPLIES=1)

Tip: Ask your AI assistant "What Telegram tools are available?" to get the full list with parameters and descriptions.

Optional Features

Some tools are disabled by default and must be opted in via environment variables:

VariableValueTools enabled
MCP_TELEGRAM_ENABLE_GROUP_CALLS1telegram-get-group-call, telegram-get-group-call-participants
MCP_TELEGRAM_ENABLE_STARS1Stars balance & transactions, top-up options, subscriptions, and Star Gifts (browse / save / convert)
MCP_TELEGRAM_ENABLE_QUICK_REPLIES1telegram-get-quick-replies, telegram-get-quick-reply-messages

Add these to your .env file or MCP client config to enable them.

Development

bash
npm run dev        # Start with file watching (tsx)npm start          # Start the MCP servernpm run login      # QR code login in terminalnpm run build      # Compile TypeScriptnpm run lint       # Check code with Biomenpm run lint:fix   # Auto-fix lint issuesnpm run format     # Format code with Biome

Project Structure

src/  index.ts            -- MCP server entry point  telegram-client.ts  -- TelegramService class (GramJS wrapper)  qr-login-cli.ts     -- CLI utility for QR code login  tools/              -- Modular tool definitions    auth.ts           -- Connection & login    messages.ts       -- Send, read, search, edit, delete, forward; inline bots; real-time polling    chats.ts          -- Chat listing, group management, admin toggles, stats    contacts.ts       -- Contacts, profiles, moderation    media.ts          -- Files, photos, downloads    reactions.ts      -- Reactions, set-chat-reactions    extras.ts         -- Pin, schedule, polls, topics    stickers.ts       -- Sticker sets, send, search, browse    account.ts        -- Sessions, privacy, auto-delete, profile, emoji status, birthday, chat mute/folders, invite links    business.ts       -- Telegram Business: chat links CRUD, work hours, location, greeting/away/intro    boosts.ts         -- Boost status, my boosts, boosters list    stories.ts        -- Stories: list all, peer, by-id, view stats    group-calls.ts    -- Group call info and participants (opt-in: MCP_TELEGRAM_ENABLE_GROUP_CALLS)    stars.ts          -- Stars wallet status and transactions (opt-in: MCP_TELEGRAM_ENABLE_STARS)    quick-replies.ts  -- Quick replies and messages (opt-in: MCP_TELEGRAM_ENABLE_QUICK_REPLIES)    shared.ts         -- Shared utilities

Tech Stack

  • TypeScript -- ES2022, ESM modules
  • GramJS (telegram) -- Telegram MTProto client
  • @modelcontextprotocol/sdk -- MCP server framework
  • Zod -- Runtime schema validation for tool parameters
  • Biome -- Linter and formatter
  • tsx -- TypeScript execution without a build step
  • dotenv -- Environment variable management

Troubleshooting

AUTH_KEY_DUPLICATED

A Telegram session can only be used by one process at a time. If you get AUTH_KEY_DUPLICATED, it means another process is already using the same session file.

Solution: Create separate sessions for each environment:

bash
# Local developmentTELEGRAM_SESSION_PATH=~/.mcp-telegram/session-local npx @overpod/mcp-telegram login
# Production serverTELEGRAM_SESSION_PATH=~/.mcp-telegram/session-prod npx @overpod/mcp-telegram login

Then set TELEGRAM_SESSION_PATH in each environment's MCP config accordingly.

Security

  • API credentials are stored in .env (gitignored)
  • Session is stored in ~/.mcp-telegram/session with 0600 permissions (owner-only access)
  • Session directory is created with 0700 permissions
  • Phone number is not required -- QR-only authentication
  • No data is sent to third-party services -- all communication goes directly to Telegram servers via MTProto
  • QR login codes are generated locally and never leave your machine
  • One session per process -- using the same session in multiple processes simultaneously causes AUTH_KEY_DUPLICATED errors (see Troubleshooting)
  • This is a userbot (personal account), not a bot -- respect the Telegram Terms of Service

License

MIT

来源:README.md,提交 0fde882

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

11
  1. v1.45.1最新Nov 3, 2026
  2. v1.44.2Nov 1, 2026
  3. v1.44.1Oct 26, 2026
  4. v1.43.7Oct 26, 2026
  5. v1.43.6Oct 13, 2026
  6. v1.43.5Oct 13, 2026
  7. v1.43.4Oct 5, 2026
  8. v1.43.2Oct 3, 2026
  9. v1.43.1Sep 29, 2026
  10. v1.43.0Sep 21, 2026
  11. v1.42.0Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分