Prerequisites
- OpenCode installed
- A Kavio account with an active trial or subscription (no card required to start)
Setup
1
Open the configuration file
Edit No
opencode.json in your project root (or ~/.config/opencode/opencode.json for global config):Authorization header — OpenCode discovers OAuth from the URL.2
Sign in via mcp login
Run the OAuth flow explicitly so OpenCode caches the token:OpenCode opens your browser to Kavio; approve the request and return to the terminal.
3
Verify the connection
Inside OpenCode, ask:If anything looks off,
opencode mcp debug kavio prints the current token state.Bearer token fallback
Bearer token fallback
For CI or non-interactive setups, skip Create the key from Settings > API Keys on the Kavio dashboard.
mcp login and use a Personal Access Token in the config:
