agentinbox

Connect OpenCodeto Telegram

OpenCode stays in the terminal. Your answers can come from your phone.

opencode mcp add AgentInbox --url https://mcp.agentinbox.md --global

OpenCode asking on Telegram whether to rewrite a folder, with Approve and Deny buttons
fig. 01 — opencode on telegram[ opencode → asks → you ]

Autonomous, butnever unsupervised

Start a task, leave your desk, and answer when OpenCode asks.

Answer from your phone

OpenCode's questions arrive in Telegram instead of waiting at a prompt.

Approve before it acts

Big rewrites and deletes wait for your tap.

A bot only you control

You create it with @BotFather. Nobody else owns it.

Connect OpenCodein four steps

Add the MCP server for every project, sign in, and add Telegram from OpenCode.

opencode mcp add AgentInbox --url https://mcp.agentinbox.md --global

Try theseprompts

  • “Ask me on Telegram before you rewrite the migrations folder.”

    Nothing changes until you tap Approve.

  • “Send me the failing test names on Telegram.”

    A tell message you can read on the go.

  • “Give me three names for the new module as buttons.”

    You tap one, and OpenCode uses it.

What elseit can do

Everything your agent gets on Telegram.

Questions,
answers

Do I need the CLI too?

No. The MCP server gives OpenCode the inbox tools, and OpenCode can add Telegram for you with a link. The CLI is only for scripts and terminals.

How do I check that it's signed in?

Run opencode mcp list. It shows whether Agent Inbox is signed in.

What if I don't see the message for a while?

The question stays open until you answer or it expires: 24 hours by default, up to 5 days. OpenCode gets an expired result if it runs out.

Give your agenta Telegram bot.Today

Free for 100 conversations a month. No credit card required.

opencode mcp add AgentInbox --url https://mcp.agentinbox.md --global

An agent completes customer conversations and receives a reply.