Skip to main content

Telegram MCP server for Claude Code — provides wait_for_message and send_message tools

Project description

telegram-mcp

Telegram MCP server for Claude Code.

Tools

  • wait_for_message — Blocks until a new Telegram message arrives (long polling internally)
  • send_message — Send a message to a Telegram chat

Usage

uvx --from xbghc-telegram-mcp telegram-mcp

Claude Code .mcp.json

{
  "mcpServers": {
    "telegram": {
      "command": "uvx",
      "args": ["--from", "xbghc-telegram-mcp", "telegram-mcp"],
      "env": {
        "TELEGRAM_BOT_TOKEN": "${TELEGRAM_BOT_TOKEN}",
        "TELEGRAM_ALLOWED_CHAT_ID": "${TELEGRAM_ALLOWED_CHAT_ID}"
      }
    }
  }
}

Environment Variables

  • TELEGRAM_BOT_TOKEN (required) — Bot token from @BotFather
  • TELEGRAM_ALLOWED_CHAT_ID (optional) — Only accept messages from this chat ID. Other messages are silently ignored.
  • http_proxy / https_proxy (optional) — Auto-detected for proxy support

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xbghc_telegram_mcp-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xbghc_telegram_mcp-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file xbghc_telegram_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: xbghc_telegram_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xbghc_telegram_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4b07efe4923b610036b32df6a2d857c67c8a6b888d136f3b42312e26f0109de4
MD5 e0d32ec6ee6857fe7ec8ed8ff94bdfb1
BLAKE2b-256 1311665b39b538c812d4e300ce81cb6b69802dcf9ae73ba7f07fcb6227ae444d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xbghc_telegram_mcp-0.1.3.tar.gz:

Publisher: publish.yml on xbghc/telegram-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xbghc_telegram_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for xbghc_telegram_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd7840c66ccc3731057bb52f5a660095acb7ff450731df1354ed5d950b5c393
MD5 0b7ef6015d2b8c2c9c9944c3f2a9694f
BLAKE2b-256 bf8159195daaa5a89dab5ba1d73f00339eeda5b39988f386adff5bd0165ca6d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xbghc_telegram_mcp-0.1.3-py3-none-any.whl:

Publisher: publish.yml on xbghc/telegram-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page