# @cyuanxv/telegram-bot-mcp-server [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/cyuanxv/telegram-bot-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 1312  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cyuanxv-telegram-bot-mcp-server

## Description
Self-hosted Telegram Bot MCP server for rich text, media and interactive buttons.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "telegram-bot-mcp-server": {
    "command": "npx",
    "args": ["--yes","@cyuanxv/telegram-bot-mcp-server@1.0.1"],
    "env": {
      "MCP_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `MCP_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## 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:

```sh
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.

_Full upstream README: https://allmcps.com/mcp/cyuanxv-telegram-bot-mcp-server/readme_

