Use Mode Agent with OpenCode.
Keep OpenCode on the build. Mode Agent brings customers to what you ship, every day. Add Mode as a remote MCP server and OpenCode can start growth work and check on Mode Agent from the terminal.
Way one
Side by side.
Run OpenCode in one pane and Mode Agent in the next. OpenCode writes the code. Mode Agent handles the growth and marketing around it.
Building the product
- Coding in your terminal with the setup you prefer
- Planning and building features in your repo
- Fixing bugs and writing tests
- The agents and config you already set up
Runs your growth and marketing every day
- Plans your growth and marketing and runs it every day, across every channel
- Writes and publishes posts, emails, and pages in your voice
- Holds anything that spends money until you approve it
- Sends a daily report of what shipped, what moved, and what comes next
An example week
- Monday
OpenCodePlans and builds a new command for your CLI.
Mode AgentDrafts a launch post and a changelog entry for your approval.
- Tuesday
OpenCodeYou cut the release.
Mode AgentPublishes the post and emails your users after you approve it.
- Wednesday
OpenCodeFixes a bug from an issue.
Mode AgentAnswers the people who asked about it in your community.
- Thursday
OpenCodeMid session, you ask Mode Agent to check on the launch.
Mode AgentReports installs, signups, and replies so far.
- Friday
OpenCodeStarts the next feature.
Mode AgentPlans next week and sets up the posts that run while you build.
Way two
Connect OpenCode to Mode with MCP.
Add Mode to OpenCode as a remote MCP server. OpenCode can then start growth work, check on Mode Agent, and set up recurring runs mid session.
- Add Mode to
opencode.jsonin your project, or to your global OpenCode config.json{ "$schema": "https://opencode.ai/config.json", "mcp": { "mode": { "type": "remote", "url": "https://app.gotmode.tech/mcp", "enabled": true } } } - Sign in. Your browser opens, you sign in with your Mode account, and you approve access.bash
opencode mcp auth mode - Check the connection, then ask OpenCode to use Mode.bash
opencode mcp list
OpenCode registers itself with Mode automatically, so there is no client ID to paste. To sign out later, run opencode mcp logout mode.
Official setup guide, OpenCode docs, MCP servers
What OpenCode can do once connected
Start work
Ask Mode Agent to start a task, like drafting this week's posts, and it opens a session and gets going.
Check on a session
Ask what Mode Agent is working on, read its progress, and send it a follow up message.
Set up a recurring run
Turn a request into a schedule, like a report every Monday morning, and deploy it.
Shape your agents
List your connected accounts, create agents, and update their instructions without opening the Mode app.
Try asking OpenCode
- Ask Mode Agent to announce the release I just cut.
- Check on the launch session.
- Set up a weekly post that rounds up merged pull requests.
FAQ
Common questions
Do I have to stop using OpenCode?
No. Keep OpenCode for everything you use it for today. Mode Agent works beside it and takes the daily growth and marketing work off your plate. Connecting the two is optional.
Can OpenCode spend money through Mode?
No. Connecting OpenCode lets it start work and check on Mode Agent. Anything that spends money, like an ad budget, still waits for your approval in Mode, and it never counts against your plan.
Do I need an API key?
No. OpenCode signs in to Mode in your browser with your Mode account, and you approve access there. There is no key to copy or paste.
How do I disconnect OpenCode from Mode?
Remove the Mode server from OpenCode and it can no longer call Mode. Mode Agent keeps running your growth and marketing just as before.