Skip to main content
Glama
telegram-mcp

telegram-mcp

by dedotmoroz

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NODE_ENVNoNode environment. When set to 'production', AUTH_MODE=none is rejected.
AUTH_MODENoAuthentication mode. Use 'none' for local development only; production startup fails when OAuth is disabled.
OAUTH_SCOPENoRequired scope; defaults to 'telegram:send'.
OAUTH_ISSUERNoExact authorization-server issuer (iss claim).
OAUTH_AUDIENCENoExpected JWT audience and MCP resource identifier, normally the exact public /mcp URL.
OAUTH_JWKS_URLNoJWKS URL used to verify access-token signatures.
PUBLIC_BASE_URLNoPublic HTTPS origin, without /mcp, for the MCP server.
MCP_ALLOWED_HOSTSNoExtra comma-separated Host header values allowed for private proxies/tunnels.
TELEGRAM_BOT_TOKENYesTelegram bot token from @BotFather. Keep it private.
TELEGRAM_PROXY_URLNoHTTP CONNECT proxy URL for reaching api.telegram.org if direct access is blocked.
OAUTH_CIMD_SUPPORTEDNoSet to 'true' if the provider accepts client metadata document URLs (CIMD).
OAUTH_TOKEN_ENDPOINTNoToken endpoint.
IDEMPOTENCY_STORE_PATHNoPath to the persistent idempotency journal used to suppress duplicate publications.
TELEGRAM_ALLOWED_CHATSYesComma-separated allowlist of Telegram destinations in the form alias=id, e.g. english-lessons=-1001234567890. Every requested destination must resolve to an entry here.
OAUTH_REGISTRATION_ENDPOINTNoDynamic Client Registration (DCR) endpoint. Omit only when CIMD is enabled.
OAUTH_AUTHORIZATION_ENDPOINTNoAuthorization-code endpoint.
OAUTH_TOKEN_ENDPOINT_AUTH_METHODSNoComma-separated token endpoint auth methods, usually 'none' or 'none,private_key_jwt'.
OAUTH_ISSUER_IDENTIFICATION_SUPPORTEDNoSet to 'true' only if every authorization response includes the exact iss parameter (RFC 9207).

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