feat: add the telegram_mcp role #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/telegram-mcp-role"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
roles/telegram_mcp, which builds https://github.com/chigwell/telegram-mcp at commiteed9d69(v3.3.22) with Compose and runs it as a shared streamable-HTTP MCP server, and adds the role to themcphost.TELEGRAM_EXPOSED_TOOLS=read-onlyleaves only the read-only tools registered (67); send, edit, delete and admin tools are pruned.supergateway4.2.2 proxy with--apiKeyFile; a request without the key gets401. Clients passAuthorization: Bearer <key>orX-API-Key: <key>, and the key is never forwarded to the server.mcp.lan:8765;MCP_ALLOWED_HOSTSadmits the host's DNS name and the Compose service name the gateway uses./opt/telegram_mcp/transcriptson the host.host_vars/mcp.yamlas vault-encrypted values; the role renders them into/opt/telegram_mcp/.envand/opt/telegram_mcp/api_key(both0600).mcphost now runsmihomo: the Telegram data centres are blocked on the lab's uplink, and without the proxy the server cannot connect.Chat filtering (
TELEGRAM_ALLOWED_CHAT_IDS) is deliberately left out as a follow-up.WIP: feat: add the telegram_mcp roleto feat: add the telegram_mcp role