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. Telegram MCP
Telegram MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 8:46:38 PM

Telegram MCP

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 Repository5 GitHub StarsTotal stargazers on GitHub for the source repository (5 stars).Visit Website

Telegram MCP server: read, send, and search messages and manage chats via your account.

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
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

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": {
    "telegram-mcp-2": {
      "command": "uvx",
      "args": [
        "telegram-mcp-jgalea"
      ]
    }
  }
}

πŸ’‘ 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

telegram-mcp

Give your AI tools direct access to Telegram. Read chats, send messages, search history, manage groups, download media β€” all via the Model Context Protocol.

telegram-mcp is an MCP server that connects your Telegram account to Claude Code, Cursor, Windsurf, or any AI tool that supports MCP. Instead of switching to Telegram, you ask the AI to check your messages, reply to someone, or find that link from last week β€” and it does.

What makes this different:

  • Your real account. Uses MTProto (Telethon), not the Bot API. You see everything you'd see in the Telegram app β€” private chats, groups, channels, media.
  • 40 tools. Chats, messages, search, media, contacts, groups, channels, scheduling, reactions, admin tools, and more.
  • Passive caching. Messages are cached in local SQLite as you use the server. No explicit sync step β€” the cache builds itself. Gives you searchable history that grows over time.
  • Security first. Session files stored with restricted permissions. No credentials in config files. Rate limiting built in.

Quick Start

This is not a bot. There is no bot to add. No third party gives you a phone number. You log in as yourself, with the same phone number you already use for Telegram. If an AI tool tells you to "add a bot to give you a number", ignore it β€” and never share a Telegram login code with anyone, ever.

If you're asking Claude (or another AI agent) to install this for you: the agent can wire up the MCP server config and clone the repo, but the agent cannot complete the login step. Login is interactive β€” Telegram sends a code to your phone, and you type it into a terminal prompt yourself. You must run telegram-mcp login in a real terminal once, then the agent can use the server.

Install from PyPI

bash
uv tool install telegram-mcp-jgalea

Or with pip:

Terminal
pip install telegram-mcp-jgalea

Both provide the telegram-mcp command.

Install from source

bash
git clone https://github.com/jgalea/telegram-mcp.git
cd telegram-mcp
uv sync

Authenticate

Run the login command once to create your Telegram session:

bash
telegram-mcp login

You'll need a Telegram API ID and hash first. To get them:

  1. Go to my.telegram.org and log in with your phone number
  2. Click API development tools
  3. If you already have an app, use those credentials. Telegram only allows one API app per account, and the same api_id/api_hash work for any Telegram project.
  4. If not, fill in the form: App title (e.g. "telegram-mcp"), Short name (anything), Platform: "Other". Description can be left blank. Click Create application.
  5. Copy the App api_id (a number) and App api_hash (a hex string)

The login command will prompt for these if not already configured, then ask for:

  1. Your phone number
  2. The verification code Telegram sends you
  3. Your 2FA password (if enabled)

The session is saved to ~/.telegram-mcp/session.session. You only need to do this once.

Connect to Claude Code

Add to your MCP config (~/.claude.json):

config.json
{
  "mcpServers": {
    "telegram": {
      "command": "telegram-mcp",
      "args": ["serve"]
    }
  }
}

If installed from source:

config.json
{
  "mcpServers": {
    "telegram": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/telegram-mcp", "telegram-mcp", "serve"]
    }
  }
}

Troubleshooting

Tools return errors or empty results

You almost certainly haven't logged in yet. Installing the MCP server and logging into Telegram are two separate steps β€” installation alone is not enough. Run telegram-mcp login in a real terminal and complete the phone + code + 2FA flow. After that, restart Claude Code (or your MCP client) so the proxy picks up the new session.

You can confirm the session is healthy with the get_status tool β€” it returns {"connected": true, "authorized": true} when ready.

Claude says "this MCP can only access a bot conversation"

This is a hallucination. The server uses MTProto (Telethon) and logs in as your full Telegram account β€” every chat, group, channel, and contact you can see in the Telegram app is accessible. There is no bot involved. If this message appears, the underlying cause is almost always that the login step hasn't been done; see above.

Claude tells me to add a bot or give my number to a bot

Do not. This is unsafe advice, never required, and never part of this MCP's setup. Telegram login codes are how attackers steal accounts β€” never enter them into any bot or third-party service. The only place to type your code is the telegram-mcp login prompt running in your own terminal.

Daemon won't start / "another telegram-mcp daemon is running"

Check for a stale lock: ls ~/.telegram-mcp/daemon.lock and lsof ~/.telegram-mcp/daemon.sock. If no process is actually running, remove the stale socket file (rm ~/.telegram-mcp/daemon.sock) and retry. The lock auto-releases when the daemon exits cleanly or crashes.

"Not configured" / "Not authorized" errors

Same root cause as the first item β€” run telegram-mcp login. "Not configured" means ~/.telegram-mcp/config.json is missing API credentials; "Not authorized" means the credentials are there but no Telegram session exists yet.

Tools

Chats

ToolDescription
list_chatsList all dialogs (groups, channels, DMs) with unread counts
get_chat_infoDetails for a specific chat (members, description, type)
create_groupCreate a new group
create_channelCreate a new channel
archive_chatArchive or unarchive a chat
mute_chatMute or unmute notifications for a chat
leave_chatLeave a group or channel
delete_chatDelete a chat
mark_readMark a chat as read

Messages β€” Read

ToolDescription
read_messagesGet recent messages from a chat, with time and sender filters
search_messagesSearch by keyword or regex, optionally scoped to a chat
get_messageGet a single message by ID
get_message_repliesGet replies and thread for a message
get_scheduled_messagesList scheduled messages in a chat

Messages β€” Write

ToolDescription
send_messageSend a message to a chat (supports reply-to for forum topics)
edit_messageEdit a sent message
delete_messageDelete a message
forward_messageForward a message to another chat
schedule_messageSend a message at a future time
send_reactionReact to a message with an emoji

Messages β€” Manage

ToolDescription
pin_messagePin a message in a chat
unpin_messageUnpin a message

Media

ToolDescription
download_mediaDownload a photo, video, or document from a message
send_fileSend a file or photo to a chat
send_voiceSend a voice message
send_locationSend a location
get_sticker_setsList available sticker packs

Contacts

ToolDescription
list_contactsList all contacts
get_contactGet contact details

Users

ToolDescription
get_userGet user profile info
block_userBlock a user
unblock_userUnblock a user

Groups & Channels

ToolDescription
get_participantsList members of a group or channel
add_participantAdd a user to a group or channel
remove_participantRemove a user from a group or channel
set_chat_titleChange a chat's title
set_chat_descriptionChange a chat's description
set_chat_photoChange a chat's photo
get_invite_linkGenerate an invite link
get_admin_logGet admin action history

Account & Utility

ToolDescription
get_meCurrent account info
get_statusConnection status and session health
get_dialogs_statsUnread counts and chat activity summary
export_chatExport messages from a chat as JSON (max 1000 per call)
clear_cacheWipe the local message cache

Architecture

Code
telegram-mcp/
β”œβ”€β”€ src/telegram_mcp/
β”‚   β”œβ”€β”€ __init__.py
β”‚   β”œβ”€β”€ server.py        # MCP server, tool definitions, stdio entry point
β”‚   β”œβ”€β”€ client.py        # Telethon wrapper β€” all Telegram API calls
β”‚   β”œβ”€β”€ cache.py         # SQLite write-through cache
β”‚   └── login.py         # Interactive login CLI
β”œβ”€β”€ tests/
β”œβ”€β”€ pyproject.toml
β”œβ”€β”€ README.md
└── LICENSE

How it works

  1. server.py starts an MCP server on stdio, registers all tools, and handles incoming requests
  2. Each tool calls methods on client.py, which wraps Telethon's async API into clean functions
  3. cache.py intercepts results from client.py and writes messages to a local SQLite database. Search tools query Telegram live and merge with cached results for deeper history.
  4. login.py is a standalone CLI that runs the interactive Telethon auth flow and saves the session file

Data flow

Code
Claude Code β†’ MCP request β†’ server.py β†’ client.py β†’ Telegram API
                                              ↓
                                          cache.py β†’ ~/.telegram-mcp/cache.db

Storage

All data lives in ~/.telegram-mcp/:

Code
~/.telegram-mcp/
β”œβ”€β”€ config.json          # API ID, API hash
β”œβ”€β”€ session.session      # Telethon session file (auth state)
└── cache.db             # SQLite message cache

Cache behavior

The cache is passive and transparent:

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

Related MCP Servers

View all in Communication View all alternatives
  • Gmail logoGmail

    Allow AI systems to read, send, archive, and manage emails via Gmail.

    πŸ’¬ Communication0 views
    Compare vs Gmail β†’
  • Whatsapp Macos logoWhatsapp Macos

    WhatsApp MCP for macOS - Read messages from local DB, send via WhatsApp Web.

    πŸ’¬ Communication0 views
    Compare vs Whatsapp Macos β†’
  • Sebastianall1977 Gmail MCP logoSebastianall1977 Gmail MCP

    Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…

    πŸ’¬ Communication1 views
    Compare vs Sebastianall1977 Gmail MCP β†’
  • WhatsApp Connect logoWhatsApp Connect

    Read, search, and send personal WhatsApp messages from any MCP client, behind a send-confirm gate.

    πŸ’¬ Communication0 views
    Compare vs WhatsApp Connect β†’

Reviews

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

Frequently Asked Questions about Telegram MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "telegram-mcp": { "command": "npx", "args": ["-y", "telegram-mcp"] } }

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 PreviewTelegram MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/telegram-mcp-2?style=directory)](https://allmcps.com/mcp/telegram-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/telegram-mcp-2"><img src="https://allmcps.com/api/badge/telegram-mcp-2?style=directory" alt="Telegram MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’¬Communication
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimePython
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.
GitHub stars5
GitHub Star CountTotal stargazers on GitHub representing community popularity (5 stars).
37Quality signal: Fair Β· 37/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 ownership10/20
Documentation & tools16/30
Adoption & activity2/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.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

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 β€” 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 Telegram MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code