opencode
opencode copied to clipboard
Supabase MCP
Question
I'm trying to setup a remote project-scoped supabase mcp. Whichever method I try (oauth or bearer api key), the debug output is allways the same. opencode.json is in my project root, I tried both loading the api key from env and hardcoding it.
Here's the debug output.
┌ MCP OAuth Debug
│
● Server: supabase
│
● URL: https://mcp.supabase.com/mcp?project_ref=[redacted]
│
● Auth status: ○ not authenticated
│
◇ HTTP response: 401 Unauthorized
│
● WWW-Authenticate: Bearer error="invalid_request", error_description="No access token was provided in this request", resource_metadata="https://mcp.supabase.com/.well-known/oauth-protected-resource/mcp?project_ref=[redacted]"
│
▲ Server returned 401 Unauthorized
│
● Testing OAuth flow (without completing authorization)...
│
■ Connection error: Dynamic client registration failed: HTTP 404
│
└ Debug complete```
Is it even possible to use the supabase mcp, or am I doing something wrong?