Skip to content
Discussion options

You must be logged in to vote

Hey @fzaninotto! We've been working on a solution to the exact problem you are facing called BYO-MCP (build your own MCP on Edge Functions). I agree that auth is the real power of building your own MCP on Supabase. Project level OAuth 2.1 servers was the first step to making this work and this is publicly available now. The second step is to wire this into an Edge Function so that it correctly handles oauth as described in the MCP spec.

You are correct that .well-known paths cannot be customized on Supabase today, but our solution to this actually doesn't require .well-known at all. MCP auth expects a www-authenticate header in the HTTP response which tells the client where to find the pr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fzaninotto
Comment options

Answer selected by fzaninotto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants