agentinbox

Connect OpenCodeto email

OpenCode works in your terminal. With Agent Inbox, it can email you when you've stepped away from it.

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

OpenCode in a terminal sending an email question to its operator
fig. 01 — opencode on email[ opencode → asks → you ]

Autonomous, butnever unsupervised

Leave OpenCode running and still make the calls that matter.

Step away from the terminal

OpenCode emails you when it needs input instead of sitting at a prompt.

Approve before it acts

Deletes, migrations and releases wait for your click.

One project or all of them

Add the server to one project, or add --global for every project.

Connect OpenCodein four steps

Add the MCP server for the inbox tools and the skills so OpenCode knows when to use them.

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

Try theseprompts

  • “Email me before you delete any files outside src.”

    OpenCode sends an approval email and waits.

  • “Ask me by email which of these two fixes to keep.”

    You get both options and pick one.

  • “When the build finishes, email me the result.”

    A tell message, with no reply needed.

What elseit can do

Everything your agent gets on Email.

Questions,
answers

Can I set it up in opencode.json instead?

Yes. Add AgentInbox as a remote MCP server with the URL https://mcp.agentinbox.md, in the project's opencode.json or in ~/.config/opencode/opencode.json for every project. Then run opencode mcp auth AgentInbox.

Do I need an API key?

No. You sign in to Agent Inbox in your browser and approve OpenCode. OpenCode never sees an API key.

What are the tools called in OpenCode?

They have the server's name in front, such as AgentInbox_inbox_send and AgentInbox_inbox_list.

Give your agentan email address.Today

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

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

An agent completes customer conversations and receives a reply.