Telegram Bot MCP Server logo

Telegram Bot MCP Server

by @cyuanxv

Self-hosted MCP server for sending and editing rich Telegram messages, media, files, and interactive buttons.

Install Telegram Bot MCP Server

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cyuanxv-telegram-bot-mcp-server": {
      "command": "npx",
      "args": [
        "--yes",
        "@cyuanxv/telegram-bot-mcp-server@1.0.1"
      ],
      "env": {
        "MCP_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx --yes @cyuanxv/telegram-bot-mcp-server@1.0.1

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@cyuanxv/telegram-bot-mcp-server connects MCP-compatible AI clients to a Telegram Bot that you host and operate. It exposes tools for sending rich text, images, video, files, audio, GIFs, voice messages, stickers, and interactive buttons, as well as editing sent messages. The server uses Streamable HTTP at a local or deployed endpoint and authenticates requests with an MCP API key. Use it when an agent needs to deliver reports, summaries, media, or feedback controls to Telegram.

Use cases

  • Send AI-generated daily reports to a Telegram chat
  • Deliver summaries, images, and files to a team
  • Edit previously sent Telegram messages
  • Add links and copy-text buttons to notifications
  • Collect feedback through callback-based controls

Key features

  • Streamable HTTP MCP endpoint
  • Rich text with HTML and MarkdownV2
  • Media, file, audio, GIF, voice, and sticker delivery
  • Post-send message editing
  • Links, copy buttons, and callback interactions
  • Self-hosted deployment

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.

9/9 checks healthy over the last 32d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @cyuanxv/telegram-bot-mcp-server@1.0.1 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.3kPackage downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Telegram Bot MCP Server works

What @cyuanxv/telegram-bot-mcp-server does

@cyuanxv/telegram-bot-mcp-server gives MCP-compatible clients access to a Telegram Bot you control. AI-assisted workflows can send ordinary text, HTML, or MarkdownV2 messages, deliver images and other media, and edit messages after they have been sent. It also supports richer layouts that combine headings, tables, formulas, body text, and media.

Messages can include links, copy-text buttons, and interactive controls that use callbacks when callback handling is configured. The project is self-hosted: the backend runs in an environment you manage, while Telegram credentials remain under your control.

How it works

The server exposes an MCP endpoint over Streamable HTTP. By default, a local installation is available at http://127.0.0.1:3000/api/mcp. MCP clients authenticate requests with an Authorization: Bearer <MCP_API_KEY> header. The server then uses the configured Telegram Bot and destination chat information to perform delivery operations.

A local endpoint is suitable for clients running on the same machine. Cloud-hosted clients generally cannot reach a loopback address, so remote use requires deploying the backend behind an HTTPS-accessible address. Synthetic tests can exercise the server without a live Bot, but actual Telegram delivery requires valid Telegram credentials and a target chat ID.

Setup and configuration

Node.js 24 is required. The npm package can be started with npx and a chosen port:

Terminal
npx --yes @cyuanxv/telegram-bot-mcp-server@latest --port 3000

Set MCP_API_KEY in the process environment before starting the server. Configure your Telegram Bot token and destination chat ID for real message delivery. For a source-based setup, run backend commands from the server/ directory, install dependencies with npm ci --ignore-scripts, copy .env.example to .env.local, and start the development server on the loopback interface.

Tools and capabilities

  • Send plain text, HTML, and MarkdownV2 messages.
  • Edit messages that have already been sent.
  • Deliver images, video, files, audio, GIFs, voice messages, and stickers.
  • Build richer messages with headings, tables, formulas, and mixed media.
  • Add links, copy-text buttons, and callback-based interactive controls.
  • Provide sending, editing, and management operations through the MCP interface.

Limitations and notes

Treat the MCP API key as a credential for trusted operators. The interface includes message-sending and editing operations, and configured aliases are not a complete recipient allowlist; the service should not be exposed as an unauthenticated public messaging endpoint.

The repository supplies backend source and installation material, but not a Sites web entry point, Docker image, or preinstalled dependencies. Callback-based interactions require additional callback configuration. Local installation checks do not establish that a cloud deployment, real Bot, or particular client has been validated. The project is independent of Telegram. Its own code uses the MIT license, while third-party dependencies retain their respective licenses.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Telegram Bot MCP Server

@cyuanxv/telegram-bot-mcp-server is an MCP server that connects compatible AI clients to a self-hosted Telegram Bot. Its tools send rich text, media, and interactive messages, edit sent messages, and support management operations. It uses Streamable HTTP and an MCP API key; Telegram delivery also requires a Bot token and chat ID.

Install it with Node.js 24 by setting MCP_API_KEY and running the npm package with npx, such as `npx --yes @cyuanxv/telegram-bot-mcp-server@latest --port 3000`. For source installation, work from the `server/` directory, install dependencies, configure `.env.local`, and start the development server.

Connect the client to `http://127.0.0.1:3000/api/mcp` and send `Authorization: Bearer <MCP_API_KEY>` with requests. Use a deployed HTTPS endpoint instead when the client runs remotely and cannot access the local loopback address.

Yes, Cursor can use it when configured for an MCP server reachable over Streamable HTTP. Set the server URL to `/api/mcp` on the local or deployed host and provide the required bearer authentication header.

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