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 xbghc-telegram-mcp

Claude Code .mcp.json

{
  "mcpServers": {
    "telegram": {
      "command": "uvx",
      "args": ["xbghc-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.1.tar.gz (3.1 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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xbghc_telegram_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 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.1.tar.gz
Algorithm Hash digest
SHA256 735843796f1e525e6906633f989b2673dd6790b9cef15b824ffab9c98df99f4b
MD5 95e494e4aadc2ac06b2f2af25b99babf
BLAKE2b-256 ff4684ed35ea01edbc6fd8f616b8f6aeda1f1853394fcb7b40f0a421b5f45607

See more details on using hashes here.

Provenance

The following attestation bundles were made for xbghc_telegram_mcp-0.1.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for xbghc_telegram_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 019ff64db917d8dcae482714d9befe8e0b6e0a28caa1e8396b8f7ddf9129e295
MD5 eff533020c6c7ef8b0ced1f5d522e65e
BLAKE2b-256 1f0267b61bdd9c3ea2c902a1f16dcf59ddab3177aaa28c071f1e80bb87beae2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xbghc_telegram_mcp-0.1.1-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