Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
API_IDYesTelegram API ID from my.telegram.org.
API_HASHYesTelegram API hash from my.telegram.org.
MCP_HOSTNoHost for the Streamable HTTP MCP server.127.0.0.1
MCP_PORTNoPort for the Streamable HTTP MCP server.8000
CODEX_BINNoCodex CLI binary used by the Codex bridge.codex
CODEX_HOMENoIsolated Codex home directory for the Codex bridge.~/.local/share/pyrogram-mcp/codex
CODEX_MODELNoCodex model used by the Codex bridge.gpt-5.6-luna
MEDIA_ROOTSNoSandboxed filesystem roots allowed for MCP file access.
PHONE_NUMBERYesTelegram phone number used for userbot authorization.
CODEX_TIMEOUTNoTimeout in seconds for Codex operations.180
MCP_TRANSPORTNoMCP transport to use, such as streamable-http or stdio.
MYSQL_ENABLEDNoEnable optional MySQL persistence.false
REDIS_ENABLEDNoEnable optional Redis caching.false
CODEX_SERVICE_TIERNoCodex service tier.default
CODEX_REASONING_EFFORTNoCodex reasoning effort level.xhigh

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