Telegram Notification MCP Server

Simple MCP server to send you notifications on telegram

Local serverstdioTypeScript

What is the Telegram Notification MCP server?

Simple MCP server to send you notifications on telegram. The telegram notification mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 4 defined tools rather than through you.

What it actually does

An MCP (Model Context Protocol) server that sends notifications to Telegram when Claude Code completes tasks. Built with TypeScript using the Cloudflare Agents SDK and deployable on Cloudflare Workers.

  • 🤖 MCP Tool: Provides a send_telegram_message tool for sending notifications
  • 🚀 Cloudflare Workers: Runs serverless with global distribution
  • 🔐 Secure: Uses Cloudflare secrets for credentials
  • 🌐 Dual Transport: Supports both SSE and Streamable HTTP for maximum compatibility
  • 💾 Durable Objects: State management required by McpAgent
  • 💬 Message Formatting: Supports Markdown and HTML formatting

Adding it to your client

The server ships on npm as wrangler, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Its toolset

Everything the assistant can do here goes through one of these:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — 1. Clone this repository 2. Install dependencies: bash pnpm install
  • Configuration — 1. Create a .dev.vars file from the example: bash cp .dev.vars.example .dev.vars Then edit .dev.vars with your bot token and chat ID. This file is
  • Deployment — The Deployment tool exposed by this server

Configuration

You will need 2 environment variables: YOUR_BOT_TOKEN, DEFAULT_CHAT_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  1. Telegram Bot: Create a bot via @BotFather and get your bot token 2. Chat ID: Get your chat ID by sending a message to your bot and visiting: 3. Cloudflare Account: Sign up at cloudflare.com

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the telegram notification mcp server does with a few real requests.

When to reach for it

Among the team communication options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Telegram Notification's toolset — Prerequisites, Installation, Configuration and 1 more — is a fair guide to whether it matches your workflow. It is maintained by kstonekuan; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Telegram Notification's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Installation1. Clone this repository 2. Install dependencies: bash pnpm install
Configuration1. Create a .dev.vars file from the example: bash cp .dev.vars.example .dev.vars Then edit .dev.vars with your bot token and chat ID. This file is used for both local development and deployment.
DeploymentThe Deployment tool exposed by this server.

How to install the Telegram Notification MCP server

{
  "mcpServers": {
    "telegram-notification": {
      "command": "npx",
      "args": ["-y", "wrangler"],
      "env": {
        "YOUR_BOT_TOKEN": "your-value",
        "DEFAULT_CHAT_ID": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  1. Telegram Bot: Create a bot via @BotFather and get your bot token 2. Chat ID: Get your chat ID by sending a message to your bot and visiting: 3. Cloudflare Account: Sign up at cloudflare.com
VariableDescriptionRequired
YOUR_BOT_TOKENCredential the server authenticates with.Yes
DEFAULT_CHAT_IDConfiguration value read at startup.Optional

Example prompts to try

  • Use Telegram Notification to Prerequisites.
  • Use Telegram Notification to Installation.
  • Use Telegram Notification to Configuration.

Frequently asked questions

Create a bot via BotFather and get your bot token.