Telegram MCP logo

Telegram MCP

Telegram bridge for your MCP-compatible agent. Bidirectional, no LLM in our stack.

Install Telegram MCP

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://telegram.regiq.in/api/mcp

Remote servers are added in the app, not the config file: Customize β†’ Connectors β†’ Add custom connector, then paste this URL.

Overview

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/21 checks healthy over the last 111d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

Last commit1mo agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

telegram-mcp

Built by Shreyas Β· Shipped by Globalion

Bidirectional Telegram ⇆ agent bridge. No LLM in our stack.

Your agent (Claude Desktop, Cursor, a custom script) is the brain. Our platform is the pipe: we take messages you send on Telegram, store them, and hand them to your agent when it polls. When your agent has something to say back, it pushes through us to your Telegram.

  • Bring your own agent. Any MCP client works.
  • No inference in the middle. We don't call an LLM. No vendor lock-in.
  • Bidirectional. get_new_messages pulls inbound, send_telegram_message pushes outbound.
  • Platform slash-commands. /help, /clear, /recent, /window, /usage all work even if your agent is offline.

Hosted at telegram.regiq.in or self-host with the Docker Compose below.

Use it (hosted)

  1. Visit https://telegram.regiq.in, sign in with Google.

  2. DM @BotFather β†’ /newbot. Paste the token in your dashboard.

  3. On the dashboard: Generate MCP API key, copy it.

  4. Add to Claude Desktop's claude_desktop_config.json (or Cursor / any MCP client):

    config.json
    {
      "mcpServers": {
        "telegram": {
          "url": "https://telegram.regiq.in/api/mcp",
          "headers": {
            "Authorization": "Bearer YOUR_KEY_HERE"
          }
        }
      }
    }
    
  5. Send /start to your bot on Telegram.

Now your agent can call get_new_messages to see what you sent it, and send_telegram_message to reply.

Tools

ToolDirectionNotes
get_new_messages()user β†’ agentReturns inbound messages since the last pull. Read-once.
send_telegram_message(text)agent β†’ userDelivers text to the user's Telegram bot.
list_recent_messages(max=20)readLast N stored messages, both directions. No cursor advance.
clear_history()actionWipes stored history for the user.

Slash commands (platform-handled)

Handled by the platform directly β€” your agent isn't involved. So /help works even when nothing is polling.

CommandEffect
/startRegisters this Telegram chat with your account.
/helpLists commands.
/recent [N]Shows the last N stored messages.
/clearWipes history.
/window NSets the history window (default 20).
/usageStored message count.

Self-host

You'll need:

  • Docker + Compose
  • A Google OAuth client β€” Cloud Console. Scopes: openid, email, profile. Redirect: <PUBLIC_BASE_URL>/api/auth/callback/google
  • A public HTTPS domain for Telegram webhooks (Cloudflare Tunnel or ngrok http 3012 locally)

No LLM key required. Your agent brings its own model.

bash
git clone https://github.com/globalion/telegram-mcp
cd telegram-mcp
cp .env.example .env
# fill NEXTAUTH_SECRET, GOOGLE_*, PUBLIC_BASE_URL
docker compose up -d
# open http://localhost:3012

Architecture

Code
  Telegram app                                Your MCP agent
     β–²   β”‚                                      β–²   β”‚
     β”‚   β”‚ text                          poll   β”‚   β”‚ push
     β”‚   β–Ό                                      β”‚   β–Ό
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚  Our platform (Hetzner)                          β”‚
   β”‚  - /api/telegram/webhook/<per-user-secret>       β”‚
   β”‚    Β· slash-commands answered here                β”‚
   β”‚    Β· plain text stored, no reply                 β”‚
   β”‚  - /api/mcp   Bearer-auth JSON-RPC               β”‚
   β”‚    Β· get_new_messages, send_telegram_message     β”‚
   β”‚    Β· list_recent_messages, clear_history         β”‚
   β”‚  - Postgres: User, ApiKey, TelegramLink, Message β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Per-user webhook URL segment is a random secret so a leaked bot token can't be pointed at someone else's account. Google sign-in is identity + ban anchor only β€” per-message identity comes from the MCP API key + chatId.

License

MIT. See LICENSE.

Reviews

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

Frequently Asked Questions about Telegram MCP

telegram-mcp is an MCP server that connects Telegram with an MCP-compatible agent through a bidirectional message bridge. It stores inbound Telegram messages for polling and delivers agent responses back to Telegram. It does not run an LLM, supports hosted or self-hosted deployment, and includes platform-handled slash commands.

Connect it by adding the hosted MCP endpoint and your generated API key to the client configuration. Use https://telegram.regiq.in/api/mcp with an Authorization: Bearer YOUR_KEY_HERE header, then send /start to your Telegram bot.

telegram-mcp provides get_new_messages, send_telegram_message, list_recent_messages, and clear_history. The first retrieves inbound messages since the last pull, the second sends agent text to Telegram, the third reads recent stored messages without advancing the cursor, and the fourth clears stored history.

No, telegram-mcp does not require an LLM API key. It acts as a message bridge, while your MCP-compatible agent supplies the model and inference.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

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