Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’¬ Communication
  3. Telethon Plus
T
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Telethon Plus

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Self-hosted MCP server: Telegram userbot control (Telethon) via HTTP and MCP.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "telethon-plus": {
      "command": "npx",
      "args": [
        "-y",
        "telethon-plus"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’¬ More in Communication

Documentation Overview

docker-telethon-plus

CI version license Docker Pulls

Your Telegram account, but it takes HTTP requests. Wraps Telethon β€” the real MTProto userbot client, not that neutered Bot API garbage β€” behind a JSON HTTP API and a Model Context Protocol endpoint.

Same tools, two doors. POST some JSON, or point your AI agent at /mcp and let it go nuts. Either way it's talking to Telegram as you, with full account access.

One login. One session string. Never type a code again.

Table of Contents

  • How it works
  • Quick start
  • First-time login
  • Configuration
  • Tools
  • HTTP API
  • MCP
  • Agent integrations
  • Development
  • Tests
  • License

How it works

Code
+-------------------+        +-----------------------+
|  Any HTTP client  | -----> |  REST  /api/...       | --+
+-------------------+        +-----------------------+   |
                                                         |   +-----------+        Telegram
+-------------------+        +-----------------------+   +-> |  Telethon | <----> Servers
|  MCP-aware agent  | -----> |  /mcp  (Streamable    | --+   +-----------+       (MTProto)
|  (Claude, etc.)   |        |   HTTP transport)     |
+-------------------+        +-----------------------+

One Telethon client. One async lock. Both surfaces share the same tool registry β€” no duplication, no weird state, no bullshit.

Quick start

docker-compose.yml
services:
  telethon-plus:
    image: psyb0t/telethon-plus
    ports:
      - "8080:8080"
    environment:
      TELETHON_API_ID: "123456"
      TELETHON_API_HASH: "your-api-hash"
      TELETHON_SESSION: "1Aa...long-string-from-login-helper..."
    restart: unless-stopped

Get API_ID / API_HASH from https://my.telegram.org/apps. Get the session string from the login helper below.

First-time login

Telegram makes you prove you're a human once β€” phone number, SMS code, optionally 2FA. Do it once, never again.

bash
cp .env.example .env
$EDITOR .env  # put in TELETHON_API_ID and TELETHON_API_HASH

make login

make login builds the image, runs the interactive flow, and shoves TELETHON_SESSION straight into your .env. That's it. Run make run and you're live.

No repo? No problem:

Terminal
docker run --rm -it \
  -e TELETHON_API_ID=123456 \
  -e TELETHON_API_HASH=your-api-hash \
  psyb0t/telethon-plus login

Copy the session string it spits out, set it as TELETHON_SESSION, done.

The session string is full account access. Whoever has it is you. Don't commit it, don't paste it in Slack, don't tattoo it anywhere.

Configuration

All config via environment variables. Copy .env.example to get the full list with comments.

VariableRequiredDefaultDescription
TELETHON_API_IDyesβ€”API ID from my.telegram.org
TELETHON_API_HASHyesβ€”API hash from my.telegram.org
TELETHON_SESSIONyesβ€”StringSession from the login helper
TELETHON_HTTP_LISTEN_ADDRESSno0.0.0.0:8080host:port to bind
TELETHON_LOG_LEVELnoINFODEBUG, INFO, WARNING, ERROR
TELETHON_REQUEST_TIMEOUTno60Per-request timeout in seconds
TELETHON_FLOOD_SLEEP_THRESHOLDno60Auto-sleep through FLOOD_WAIT errors below this many seconds. Telegram will rate-limit you β€” this is the safety valve.
TELETHON_DEVICE_MODELnodocker-telethon-plusWhat Telegram thinks your device is
TELETHON_SYSTEM_VERSIONno1.0Ditto for OS
TELETHON_APP_VERSIONno1.0Ditto for app
TELETHON_DOWNLOAD_DIRno/tmp/telethon-plusScratch space for send_file uploads
TELETHON_AUTH_KEYno""When set, all endpoints require Authorization: Bearer <key>. /healthz stays public. Empty = no auth.

Throttling & cache (anti-flood)

Telegram bans accounts that hammer it. Defaults here are conservative β€” meant to keep you under the server-side limits without you having to think about it. Tune only if you know what you're doing.

VariableDefaultWhat it does
TELETHON_THROTTLE_ENABLEDtrueMaster switch for all rate-limiting below
TELETHON_THROTTLE_GLOBAL_INTERVAL_MS50Min gap between any two outgoing requests
TELETHON_THROTTLE_JITTER_MS200Random Β±jitter added on top (kills metronome traffic patterns)
TELETHON_THROTTLE_PER_CHAT_INTERVAL_MS1100Min gap between sends to the same chat (Telegram's "1/sec/chat" ceiling, with margin)
TELETHON_THROTTLE_PER_CHAT_READ_INTERVAL_MS250Min gap between reads from the same chat. Stops single-channel scraping from monopolizing the read bucket.
TELETHON_THROTTLE_ADAPTIVEtrueOn each FLOOD_WAIT, multiply all waits Γ—2 for an hour. Resets after a quiet hour.
TELETHON_BUCKET_RESOLVE_PER_MIN5Cap on resolveUsername β€” the main thing that gets accounts 22-hour-banned
TELETHON_BUCKET_GET_FULL_PER_MIN10Cap on getFullChannel / getFullUser / get_participants
TELETHON_BUCKET_JOIN_PER_HOUR5Cap on channel/group joins
TELETHON_BUCKET_CREATE_PER_HOUR5Cap on channel/group creation
TELETHON_BUCKET_SEND_PER_MIN20Cap on sends across all chats
TELETHON_BUCKET_READ_PER_MIN600Cap on read ops. Counted per server-side API call, not per tool call: get_messages(limit=300) charges 3 slots (Telegram caps GetHistory at 100/page); get_dialogs(limit=500) similarly charges 5.
TELETHON_CACHE_ENABLEDtruePersist resolved entities to disk
TELETHON_CACHE_PATH/cache/entities.jsonMount /cache as a host volume to keep this across rebuilds
TELETHON_CACHE_TTL_SECONDS6048007 days. Set 0 for no expiry.
TELETHON_FLOOD_SLEEP_THRESHOLD60Telethon's reactive auto-sleep: if a FLOOD_WAIT is shorter than this many seconds, sleep through it. Above this, raise. Set very high (e.g. 86400) to never raise β€” but then a hostile FLOOD_WAIT will block your process for the full duration.

How the layers stack:

  1. Entity cache short-circuits resolveUsername β€” first lookup of @somechannel calls Telegram; every subsequent lookup is free. Survives container restarts via the /cache volume.
  2. Per-method token buckets cap the dangerous methods. If you try to resolve 6 new usernames in one minute, the 6th sleeps until the oldest expires.
  3. Per-chat send interval throttles sends to each chat to ≀1/sec (with margin).
  4. Global gap + jitter humanizes the overall traffic shape.
  5. Adaptive backoff: a single FLOOD_WAIT halves your effective rate for an hour. Three in a row β†’ Γ·8. Auto-recovers after an idle hour.

For bulk scraping work (the scenario that caused 22-hour bans before): the cache + bucket_resolve_per_min=5 combination is what saves you. Resolving 200 new channels takes ~40 minutes instead of getting you banned in 5.

Tools

JSON in, JSON out. All inputs are pydantic-validated β€” send garbage, get a 400 back with exactly what's wrong.

Chat references (chat, from_chat, to_chat) accept whatever Telethon accepts:

FormatExample
Username@psyb0t
Phone number+1234567890
t.me linkhttps://t.me/psyb0t
Numeric ID123456789
Supergroup/channel ID-1001234567890
Your own Saved Messagesme

Numeric IDs only resolve for entities Telethon has already seen β€” i.e. cached in your session via a prior @username / t.me lookup, dialog list, or incoming message. MTProto needs an access_hash, not just an ID, and bare numbers don't carry one. Especially relevant for bots: pass @botusername first (or call GET /api/dialogs / GET /api/entities?chat=@bot once) before referring to it by numeric ID. If you only have the bot's token and no username, hit Telegram's Bot API getMe to fetch the username, then use that.

Response shape

Every 2xx returns the resource directly. No {"result": ...} wrapper, no envelope. Lists are JSON arrays, singles are JSON objects.

Errors return {"detail": "..."} (FastAPI standard). Telegram RPC errors arrive as 502 with detail = {"telegram_error": "...", "message": "..."}.

Quick reference

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Communication View all alternatives
  • Line Bot MCP Server logoLine Bot MCP Server
    Verified

    MCP Server for Integrating LINE Official Account

    πŸ’¬ Communication3 views
    Compare vs Line Bot MCP Server β†’
  • Agent Cold Email logoAgent Cold Email

    Agent-native cold-email infrastructure: domains, mailboxes, warmup, sequences, replies via 17 tools

    πŸ’¬ Communication0 views
    Compare vs Agent Cold Email β†’
  • Telegram (mcp Telegram) logoTelegram (mcp Telegram)

    MCP server for Telegram userbot β€” messages, media, reactions, polls & more. Built on GramJS/MTProto.

    πŸ’¬ Communication0 views
    Compare vs Telegram (mcp Telegram) β†’
  • Abnormal Security MCP logoAbnormal Security MCP

    Abnormal Security email threats, cases, and reporting in your terminal and your AI agents.

    πŸ’¬ Communication0 views
    Compare vs Abnormal Security MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Telethon Plus

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "telethon-plus": { "command": "npx", "args": ["-y", "Telethon Plus"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTelethon Plus AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/telethon-plus?style=directory)](https://allmcps.com/mcp/telethon-plus)
HTML Embed
<a href="https://allmcps.com/mcp/telethon-plus"><img src="https://allmcps.com/api/badge/telethon-plus?style=directory" alt="Telethon Plus on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’¬Communication
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’¬ Communication β†’Best MCP servers for Slack & Communication β†’Alternatives to Telethon Plus β†’Install in Claude DesktopInstall in CursorInstall in VS Code