pyrogram-mcp
by SkrudjReal
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| API_ID | Yes | Telegram API ID from my.telegram.org. | |
| API_HASH | Yes | Telegram API hash from my.telegram.org. | |
| MCP_HOST | No | Host for the Streamable HTTP MCP server. | 127.0.0.1 |
| MCP_PORT | No | Port for the Streamable HTTP MCP server. | 8000 |
| CODEX_BIN | No | Codex CLI binary used by the Codex bridge. | codex |
| CODEX_HOME | No | Isolated Codex home directory for the Codex bridge. | ~/.local/share/pyrogram-mcp/codex |
| CODEX_MODEL | No | Codex model used by the Codex bridge. | gpt-5.6-luna |
| MEDIA_ROOTS | No | Sandboxed filesystem roots allowed for MCP file access. | |
| PHONE_NUMBER | Yes | Telegram phone number used for userbot authorization. | |
| CODEX_TIMEOUT | No | Timeout in seconds for Codex operations. | 180 |
| MCP_TRANSPORT | No | MCP transport to use, such as streamable-http or stdio. | |
| MYSQL_ENABLED | No | Enable optional MySQL persistence. | false |
| REDIS_ENABLED | No | Enable optional Redis caching. | false |
| CODEX_SERVICE_TIER | No | Codex service tier. | default |
| CODEX_REASONING_EFFORT | No | Codex 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues