Bug report
Describe the bug
When authenticating Supabase MCP in OpenCode, after clicking Authorize OpenCode, it redirects to http://127.0.0.1:19876/mcp/oauth/callback&state=**************************************************************** which has no response data at all. This happens in GitHub Codespaces.
To Reproduce
Steps to reproduce the behaviour:
- Go to 'https://github.com/codespaces'
- Click on '`New codespace'
- Pick any options
- Run the following in the terminal:
npm i -g opencode-ai
cat > .opencode/opencode.json <<'EOF'
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"supabase": {
"type": "remote",
"url": "https://mcp.supabase.com/mcp?project_ref=tiokvmuyfgcnagnelpib&features=docs%2Caccount%2Cdatabase%2Cdebugging%2Cdevelopment%2Cfunctions%2Cbranching%2Cstorage",
"enabled": true
}
}
}
EOF
opencode mcp auth supabase
- Wait and when it appears, ⌘-click on the link.
- Click
Authorize OpenCode.
Expected behavior
Closure of tab and authentication confirmation in terminal.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
- OS: macOS Tahoe 26.5.2 (25F84)
- Browser: Firefox Nightly (155.0a1 (2026-07-21) (aarch64))
- Version of Node.js: v24.14.0
Additional context
Same problem has happened before with Gemini CLI
Bug report
Describe the bug
When authenticating Supabase MCP in OpenCode, after clicking
Authorize OpenCode, it redirects to http://127.0.0.1:19876/mcp/oauth/callback&state=**************************************************************** which has no response data at all. This happens in GitHub Codespaces.To Reproduce
Steps to reproduce the behaviour:
Authorize OpenCode.Expected behavior
Closure of tab and authentication confirmation in terminal.
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Same problem has happened before with Gemini CLI