Skip to main content
Glama
AlexB00M

telegram-mcp

by AlexB00M

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TG_MCP_HOMENoConfig, session, media~/.telegram-mcp
TG_MCP_PROXYNoProxy URL: `socks5://user:pass@host:port`, `http://…`, `mtproxy://secret@host:port`
TG_MCP_IDLE_SNoThe daemon exits after this many seconds without calls600
TG_MCP_ACCOUNTNoThe account this MCP server entry usesthe default account
TG_MCP_APP_NAMENoThe media subfolder nametelegram
TG_MCP_LOG_LEVELNoLog level; logs go to stderrWARNING
TG_MCP_MUSIC_DIRNoMedia root for voice and music~/Music/<app>
TG_MCP_NO_DAEMONNo`1` — no daemon, everything in-process0
TG_MCP_ENABLE_RAWNoEnable `tg_raw`0
TG_MCP_MOVIES_DIRNoMedia root for video, round videos and gif~/Movies/<app>
TG_MCP_DEFAULT_PEERNoThe chat used when `peer` is not given
TG_MCP_KB_MAX_PEERSNoAt most this many chats remembered for reply keyboards200
TG_MCP_PICTURES_DIRNoMedia root for photos and avatars~/Pictures/<app>
TG_MCP_MAX_DOWNLOADSNoFiles per call10
TG_MCP_CONNECT_TIMEOUTNoSeconds20

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