Prerequisites
- OpenCode installed
- A TryPost Cloud account with an active trial or subscription (no card required to start)
Setup
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.Sign in via mcp login
Run the OAuth flow explicitly so OpenCode caches the token:OpenCode opens your browser to TryPost; approve the request and return to the terminal.
Bearer token fallback
Bearer token fallback
For CI or non-interactive setups, skip Create the key from Settings > API Keys on the TryPost dashboard.
mcp login and use a Personal Access Token in the config:
