Single-process Python app that: - Runs a Telegram bot in a group chat, logging all messages/files to libsql - Exposes send_message, pull_updates, queue_status MCP tools over HTTP - Downloads and stores file attachments with Telegram file_id + local path - Accessible via NetBird mesh at mgmt.mg:8321 (no auth needed) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
476 B
Text
13 lines
476 B
Text
# MCP Bridge Bot credentials
|
|
# Copy to 'credentials' and fill in values
|
|
|
|
# Bot token from BotFather (create a NEW bot for the MCP bridge)
|
|
MCP_BOT_TOKEN=
|
|
|
|
# Telegram group chat ID (negative number for groups)
|
|
# Send a message in the group, then check: https://api.telegram.org/bot<TOKEN>/getUpdates
|
|
GROUP_CHAT_ID=
|
|
|
|
# (Optional) Bot ID of the existing homelab bot, for sender classification
|
|
# Find it: https://api.telegram.org/bot<HOMELAB_TOKEN>/getMe
|
|
HOMELAB_BOT_ID=8521598773
|