For AI agents: docs.octen.ai/integrations/opencode.md
The plugin connects to the hosted Octen MCP Server and adds theocten-search-guide skill, which tells OpenCode which Octen tool fits a request.
Get API Key
Create a key from the API Platform.
npm
The
@octen.ai/opencode-plugin package.GitHub
View the plugin source.
Install
You’ll need an Octen API key first. Create one from the API Platform.
1
Add the plugin
Add the plugin to OpenCode installs the plugin the next time it starts. The first time OpenCode loads any plugin, it also installs its plugin runtime, which can take a few minutes.
~/.config/opencode/opencode.json for every project, or to opencode.json at a project root for that project only:2
Sign in to Octen
Run
opencode mcp auth octen to open the Octen sign-in in your browser. On the Octen consent page, choose the account and API key the connection uses, then click Allow.3
Confirm the connection
✓ octen connected. Until you sign in, it shows ⚠ octen needs authentication.~/.zshrc or ~/.bashrc):
Last modified on November 24, 2026