Description
opencode mcp auth context7 completes successfully and the browser OAuth flow finishes without errors.
The CLI prints:
Authentication successful!
However, running:
immediately afterwards still shows:
✗ context7 not authenticated
The same behavior occurs with deepwiki.
In addition, ~/.local/share/opencode/mcp-auth.json is never created (or remains empty), so the OAuth state does not appear to be persisted.
Plugins
opencode-mem opencode-pty opencode-vibeguard @tarquinen/opencode-dcp @mohak34/opencode-notifier
OpenCode version
1.16.2
Steps to reproduce
- Fresh install of OpenCode 1.16.2 via pnpm.
- Remove existing database and auth files:
del $HOME\.local\share\opencode\opencode.db*
del $HOME\.local\share\opencode\mcp-auth.json
- Run:
opencode mcp auth context7
- Complete the browser OAuth flow.
- Run:
- Observe that it still reports:
✗ context7 not authenticated
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
PowerShell 7.6.2
Description
opencode mcp auth context7completes successfully and the browser OAuth flow finishes without errors.The CLI prints:
However, running:
immediately afterwards still shows:
The same behavior occurs with
deepwiki.In addition,
~/.local/share/opencode/mcp-auth.jsonis never created (or remains empty), so the OAuth state does not appear to be persisted.Plugins
opencode-mem opencode-pty opencode-vibeguard @tarquinen/opencode-dcp @mohak34/opencode-notifier
OpenCode version
1.16.2
Steps to reproduce
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
PowerShell 7.6.2