Prerequisites
- OpenCode installed
- A TryPost Cloud account with an active trial or subscription (start a 7-day free trial)
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 TryPost; approve the request and return to the terminal.
3
Verify the connection
Inside OpenCode, ask:If anything looks off,
opencode mcp debug trypost prints the current token state.
