Connect opencode to Conbersa
Add the Conbersa MCP server to opencode as a remote server in opencode.json so the agent can run, post, and schedule against your fleet.
opencode reaches Conbersa the same way: a remote server in opencode.json. Add it once and the agent gets all 22 tools.
Prerequisites
- A Conbersa API key (
cb_live_...) from Settings → API keys. - opencode with MCP support.
Add the server
Edit opencode.json in your project (or the global config) and add a conbersa entry under mcp:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"conbersa": {
"type": "remote",
"url": "https://api.conbersa.ai/mcp",
"enabled": true,
"timeout": 60000,
"headers": {
"X-API-Key": "cb_live_YOUR_KEY"
}
}
}
}
Reload opencode. The Conbersa tools show up.
Verify
Ask the agent:
List my Conbersa devices.
If you get your fleet, you're connected. If not, see MCP troubleshooting.
Example prompts
Which devices are free, and which prompt does each one run by default?
Start a run using my saved prompt on the free TikTok devices.
Ingest this public Drive link and post it to TikTok, then send me the session link.
Notes
- Keep keys out of commits. Add
opencode.jsonto.gitignorewhen it holds a live key, or read the key from an environment variable. - Multiple accounts. You can register several entries — say
conbersa-adminandconbersa-readonly— with different keys to separate access levels. - Local development. Point
urlathttp://localhost:8080/mcpwhen you run the backend locally.