Codex Telegram

•

Connect personal Telegram accounts to Codex on Windows to securely send messages, transfer files, and inspect permitted conversations.

Codex Telegram bridges Codex with Telegram on Windows, enabling users to send messages, links, and files directly from their personal Telegram account while reading incoming messages on demand. Built with Telethon and the Model Context Protocol, it implements a security-conscious, local-first architecture where session data and credentials are encrypted using Windows user-scoped DPAPI. Chat history access is disabled by default, and interactions are strictly bounded to explicitly allowlisted contacts and groups, providing a safe environment for automated messaging, history searches, and context extraction.

Key Features

010 GitHub stars
02Local-first credential and session storage protected by Windows user-scoped DPAPI
03Full-text search and pagination across authorized chat histories and incoming messages
04Personal Telegram account messaging and file sharing up to 100 MiB directly via Codex
05Granular chat allowlisting and alias assignment with default-off history permissions
06Ten dedicated stdio MCP tools designed for agentic workflows and interactive chat querying

Use Cases

01Sending documents, files, and project updates to approved contacts and groups using natural language prompts
02Extracting tasks, decisions, contact details, and dates from recent messages in approved chats
03Locating specific discussions, agreements, or contract references across historical conversations