{"server":{"$schema":"https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json","name":"io.github.n24q02m/telegram","description":"Telegram for AI agents: messages, chats, media, and contacts in bot and user-account modes.","title":"Telegram MCP","repository":{"url":"https://github.com/n24q02m/telegram.git","source":"github"},"version":"4.28.0","packages":[{"registryType":"pypi","identifier":"n24q02m-telegram","version":"4.28.0","runtimeHint":"uvx","transport":{"type":"stdio"},"runtimeArguments":[{"description":"Python interpreter version for uvx","type":"named","name":"--python","value":"3.13"}],"environmentVariables":[{"description":"Telegram bot token from @BotFather (for bot mode)","isSecret":true,"name":"TELEGRAM_BOT_TOKEN"},{"description":"Phone number in +<country><number> form for user mode (or save it once with `telegram auth --phone`)","name":"TELEGRAM_PHONE"},{"description":"Optional Telegram API ID from my.telegram.org; overrides the bundled public API pair","name":"TELEGRAM_API_ID"},{"description":"Optional Telegram API hash from my.telegram.org; overrides the bundled public API pair","isSecret":true,"name":"TELEGRAM_API_HASH"}]},{"registryType":"oci","identifier":"docker.io/n24q02m/telegram:latest","runtimeHint":"docker","transport":{"type":"streamable-http","url":"http://127.0.0.1:8080/mcp","headers":[{"description":"Bearer <token>, the token whose hash is token_hash in the mounted config.toml","isRequired":true,"isSecret":true,"name":"Authorization"}]},"runtimeArguments":[{"description":"Publish the image's HTTP port (8080) on loopback","type":"named","name":"-p","value":"127.0.0.1:8080:8080"},{"description":"Mount a config.toml whose [server] auth is \"token\" (token_hash from `telegram token hash`); the image binds 0.0.0.0, which \"no-auth\" refuses","isRequired":true,"variables":{"config_toml":{"description":"Path to the config.toml on the host","isRequired":true,"format":"filepath"}},"type":"named","name":"-v","value":"{config_toml}:/home/appuser/.telegram/config.toml:ro"}],"environmentVariables":[{"description":"Telegram bot token from @BotFather (for bot mode)","isSecret":true,"name":"TELEGRAM_BOT_TOKEN"}]}]},"_meta":{"io.modelcontextprotocol.registry/official":{"status":"active","statusChangedAt":"2026-11-27T03:53:51.946571Z","publishedAt":"2026-11-27T03:53:51.946571Z","updatedAt":"2026-11-27T03:53:51.946571Z","isLatest":true}}}
