Skip to main content
Glama
ph4ntom-rev

telegram-mcp-bridge

by ph4ntom-rev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost address for the MCP HTTP server to bind to.127.0.0.1
MCP_AUTH_TOKENNoBearer token required for HTTP MCP. Must be at least 32 characters.
PUBLIC_BASE_URLNoPublic base URL of the bridge, e.g. https://bridge.example.com
BRIDGE_TRANSPORTNoTransport mode for the MCP server. Use 'http' for the server profile. Defaults to 'stdio' for local mode.stdio
MCP_ALLOWED_HOSTSNoComma-separated list of allowed Host headers, e.g. bridge.example.com
TELEGRAM_ALLOW_ALLNoSet to 'true' to allow all inbound users/chats when the ingress allowlist is empty. Outbound sending remains blocked unless TELEGRAM_ALLOWED_CHAT_IDS is set.false
TELEGRAM_BOT_TOKENYesTelegram bot token obtained from @BotFather.
TELEGRAM_INGRESS_MODENoTelegram ingress mode: 'webhook' for the server profile, 'polling' (long polling) for local mode.polling
TELEGRAM_WEBHOOK_SECRETNoSecret token used to validate X-Telegram-Bot-Api-Secret-Token for webhook requests.
TELEGRAM_ALLOWED_CHAT_IDSYesNumeric allowlist of authorized chat IDs, authorizing both inbound chats and outbound destinations.
TELEGRAM_ALLOWED_USER_IDSYesNumeric allowlist of authorized inbound user IDs. If both this and TELEGRAM_ALLOWED_CHAT_IDS are populated, an event must satisfy both.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources