Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Telegram Notify

FreeNot checked

Enables AI coding agents to send structured Telegram notifications for events like questions, plan_ready, final, attention_needed, and error.

GitHubEmbed

About

Enables AI coding agents to send structured Telegram notifications for events like questions, plan_ready, final, attention_needed, and error.

README

Notify-only Telegram MCP server for AI coding agents (Cursor, Codex, Claude Code).

IMPORTANT DISCLAIMER (WIP / SELF-USE)

[!WARNING] This repository is still in active development and currently intended for personal/self use and experimentation. APIs and behavior may change without notice. Use at your own risk.

Breaking Changes in 0.2.0

  • Removed console script: telegram-mcp-listener
  • Removed reply/input internals (inbox, listener lifecycle, pending prompts)
  • Removed singleton lock behavior for server startup

Features

  • Outbound Telegram notifications for:
    • question
    • plan_ready
    • final
    • attention_needed
    • error
  • Notify-only MCP surface:
    • send_telegram_notification
    • telegram_notify_capabilities
  • Cross-platform runtime (Windows and POSIX)

Prerequisites

  • Python 3.11+
  • uv / uvx (recommended) or pip
  • Telegram bot token (from @BotFather)
  • Telegram chat ID

Quick Start: Cursor

Create .cursor/mcp.json in your project root (or ~/.cursor/mcp.json globally):

{
  "mcpServers": {
    "telegram_notify": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/hyper-tew/telegram-mcp-notify",
        "telegram-mcp-notify"
      ],
      "env": {
        "TELEGRAM_BOT_TOKEN": "123456:ABC-DEF...",
        "TELEGRAM_CHAT_ID": "123456789"
      }
    }
  }
}

Restart Cursor after saving.

Quick Start: Codex

Add to ~/.codex/config.toml:

[mcp_servers.telegram_notify]
command = "uvx"
args = ["--from", "git+https://github.com/hyper-tew/telegram-mcp-notify", "telegram-mcp-notify"]

[mcp_servers.telegram_notify.env]
TELEGRAM_BOT_TOKEN = "123456:ABC-DEF..."
TELEGRAM_CHAT_ID = "123456789"

Or via CLI:

codex mcp add telegram_notify \
  --env TELEGRAM_BOT_TOKEN=123456:ABC-DEF... \
  --env TELEGRAM_CHAT_ID=123456789 \
  -- uvx --from "git+https://github.com/hyper-tew/telegram-mcp-notify" telegram-mcp-notify

Alternative: Pre-install with pip

# From GitHub
pip install git+https://github.com/hyper-tew/telegram-mcp-notify.git

# From local clone
pip install ./telegram-mcp-notify

# Development
pip install -e "./telegram-mcp-notify[dev]"

Then use Python module mode in MCP config:

[mcp_servers.telegram_notify]
command = "python"
args = ["-m", "telegram_mcp_notify.server"]

[mcp_servers.telegram_notify.env]
TELEGRAM_BOT_TOKEN = "123456:ABC-DEF..."
TELEGRAM_CHAT_ID = "123456789"

Environment Variables

Required:

  • TELEGRAM_BOT_TOKEN
  • TELEGRAM_CHAT_ID

Optional:

Variable Default Description
TELEGRAM_PARSE_MODE None Message parse mode (HTML or Markdown)
TELEGRAM_DISABLE_NOTIFICATION false Suppress outbound notifications
TELEGRAM_TIMEOUT_SECONDS 10 HTTP request timeout

Available Tools

Tool Description
send_telegram_notification Send a structured Telegram checkpoint notification
telegram_notify_capabilities Return current server tool/capability surface

Troubleshooting

Symptom Cause Fix
No notifications received Invalid token/chat ID Verify TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID
Unexpected tools shown Running old package version Upgrade/restart MCP runtime
spawn telegram-mcp-notify ENOENT Executable not on PATH Use uvx ... telegram-mcp-notify or python -m telegram_mcp_notify.server
spawn uvx ENOENT uv not installed/on PATH Install uv and restart the client app

License

MIT

from github.com/hyper-tew/telegram-mcp-notify

Installing Telegram Notify

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/hyper-tew/telegram-mcp-notify

FAQ

Is Telegram Notify MCP free?

Yes, Telegram Notify MCP is free — one-click install via Unyly at no cost.

Does Telegram Notify need an API key?

No, Telegram Notify runs without API keys or environment variables.

Is Telegram Notify hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Telegram Notify in Claude Desktop, Claude Code or Cursor?

Open Telegram Notify on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Telegram Notify with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All communication MCPs