Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TG_MCP_API_IDYesThe api_id of your own Telegram app registered at my.telegram.org/apps.
TG_MCP_DB_PATHNoPath to the SQLite database, e.g. /data/tg-mcp.db.
TG_MCP_API_HASHYesThe api_hash of your own Telegram app registered at my.telegram.org/apps.
TG_MCP_PUBLIC_URLYesThe public HTTPS URL of the server (required for OAuth).
TG_MCP_TRUST_FORWARDED_FORNoSet to 1 when the reverse proxy sets or appends X-Forwarded-For, so per-IP rate limits see real client addresses.
TG_MCP_EXPERIMENTAL_DOCUMENTSNoSet to 1 to enable the experimental get_media mode "document".

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