opencode-telegram-bot

MCP.Pizza Chef: grinev

Send coding prompts to your computer from anywhere and watch the work happen in real time, right inside a private Telegram chat. You can switch between AI models, answer the assistant's questions, approve permissions, browse and download project files, send photos or documents, and schedule tasks to run later — all while the actual work happens securely on your own computer, with nothing exposed to the outside internet. It runs alongside OpenCode rather than inside Claude Desktop, Cursor, or ChatGPT. Setup needs Node.js, an OpenCode installation, and a free Telegram bot token.

Coding
Communication

Use This MCP client To

Send a coding task to my computer from my phone Watch my AI coding assistant work in real time from anywhere Switch between AI models without opening my laptop Approve or answer the assistant's questions with a tap Schedule a coding task to run later automatically Browse and download project files from my phone Get notified the moment a background task finishes

README

OpenCode Telegram Bot

npm version CI License: MIT Node.js Follow updates Community

OpenCode Telegram Bot is a secure Telegram client for OpenCode CLI that runs on your local machine.

Run AI coding tasks, monitor progress, switch models, and manage sessions from your phone.

No open ports, no exposed APIs. The bot communicates with your local OpenCode server and the Telegram Bot API only.

Scheduled tasks support. Turns the bot into a lightweight OpenClaw alternative for OpenCode users.

Platforms: macOS, Windows, Linux

Languages: English (en), العربية (ar), Deutsch (de), Español (es), Français (fr), Português (Brasil) (pt), Русский (ru), 简体中文 (zh)

OpenCode Telegram Bot screencast

I use boardown, my open-source Markdown-based task board, to plan and track this project. It stores tasks in plain .md files and can be used as a VS Code extension or a desktop app.

Features

opencode-telegram-bot FAQ

Can I use this to run a coding task while I'm away from my desk?
Yes — you send a prompt from your phone, it runs on your computer through OpenCode, and you get the finished result along with any code files it produced.
Can I use this to pick up a coding session I started earlier?
Yes — you can reconnect to an existing session from your phone and keep going right where you left off, or start a fresh one.
Which apps does this work with?
It runs inside Telegram on your phone or computer, and it talks to OpenCode on your own machine rather than to Claude Desktop, Cursor, or ChatGPT directly.
Do I need an API key or account?
You need a free Telegram bot, which you create in about a minute through Telegram's BotFather, plus your own OpenCode installation — no separate paid account is required for the bot itself.
How hard is it to set up?
It's a short guided process: install Node.js, install OpenCode, create a Telegram bot, then run one command and follow the on-screen setup wizard.
Is my bot private and secure?
Yes — only the Telegram account you approve can talk to it, and your computer doesn't open any ports or expose any address to the internet.
Which AI models can it use?
That depends on how OpenCode is configured on your computer, since it can work with models from providers like OpenAI, Claude, or Gemini rather than being locked to one.
Will I know when a task is done or needs my input?
Yes — the bot sends you a short message the moment a task finishes, asks a question, or needs your permission to continue.