Skip to main content

MCP server that exposes a Telegram bot

Project description

mcp-telegram-bot

MCP server that exposes a Telegram bot

PyPI Python Coverage Ruff

Install

pip install mcp-telegram-bot

Setup

  1. Create a Telegram bot by talking to @BotFather on Telegram
  2. Get your bot token
  3. Set the TELEGRAM_BOT_TOKEN environment variable

Usage

export TELELEGRAM_BOT_TOKEN="your-bot-token-here"
mcp-telegram-bot

MCP Tools

  • send_message: Send a message to a Telegram chat
  • get_me: Get bot information
  • get_updates: Get recent updates from Telegram

MCP Resources

  • bot://status: Get bot status

mcp-name: io.github.daedalus/mcp-telegram-bot

Development

git clone https://github.com/daedalus/mcp-telegram-bot.git
cd mcp-telegram-bot
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

License

MIT

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

mcp_telegram_bot-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

mcp_telegram_bot-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_telegram_bot-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for mcp_telegram_bot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad8834e2e6060959cfc5ad333f6abced9962329cc2847689fdbf3c1af10dc38c
MD5 37b19488e609361d6ce40fb0dc9b5abf
BLAKE2b-256 7f3af94a4e93e2f811c86f1d9f1ac791617bb2351cade97e3295d7cee58b5336

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_telegram_bot-0.1.0.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-telegram-bot

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

File details

Details for the file mcp_telegram_bot-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_telegram_bot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a77925bd1e8fd6311c5a0f9bfff5710f0e94fa68cacadfb9040c23f188ec8f5a
MD5 1b4cade34b161a292dde948e0edc8d6d
BLAKE2b-256 e6a9f180a0b60d01c5ad00b79aa5b0322cab7c45d29525f396bbc0176f243719

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_telegram_bot-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-telegram-bot

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