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.2.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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xbghc_telegram_mcp-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 ceb34b00c68acb8f0762e8b66ae9cd22a59257e5b63965b2dc0ba34c0893b35e
MD5 e9923632ce89d2c0546d17776d85ae2c
BLAKE2b-256 b27ae816d3c6fc0aa38124cd0e6f57e078104d1f8652c188a543e1d6cf8a10c2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for xbghc_telegram_mcp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d64f473f37d8b3516e27e579fc613e396afd2de02e146c036ef54346842bf9d2
MD5 b33c81042a67d434290f3cd6096a7883
BLAKE2b-256 c284c75f2bf2a4c49d228b02b2e722b42c01b8404df4c52818bab1ea0d950c03

See more details on using hashes here.

Provenance

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