-
Notifications
You must be signed in to change notification settings - Fork 187
feat: self-hosted supabase stack #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hello, I'll start working on this tomorrow. |
Hey @gregnr should #103 be merged before this PR gets finalised? I rebased this draft branch locally on upstream/main and I will merge the 103 branch into this draft branch and then will update/continue local-platform and what else is needed. @gregnr should tool
When u say: "Migrations we should implement in studio /api/platform though." I believe we need to implement this in another repo(UI/Studio) and request that from EDIT: I used the local DB server run in Docker and the local version of MCP server and I can confirm that it works for the things that are implemented under "local-platform" (migrations and edge-functions not implemented). And I guess storage also doesn't work for local DBs since it is cloud-hosted. |
Hey @diksipav, thanks for diving into this and sorry for the delay. You're right, #103 needs to be merged first - your plan to branch off that for now works great.
For now, I don't see this being extremely useful since there will only ever be the one project. There is definitely an argument to pull
Yeah that's right. Let me discuss with the team on the best place to put this and I'll follow up. |
I've literally been trying to work out how I can implement this as I use coolify atm to host my supabase instances |
Team any timelime available for this feature |
WIP.
This allows you to connect MCP to your local Supabase stack. The platform abstraction work simplified what was required to make this possible.
We use the
/api/platform
API shims in the studio container to implement the majority of this. Some tools will not be possible locally, like account level operations and branching,so we need to add logic to conditionally omit those tools instead of throwing athis will be possible once #103 is merged.not implemented
exception.The biggest unknowns right now are migration and edge function tools, since both of these require access to the supabase CLI to implement correctly. For the initial version we can probably omit edge functions. Migrations we should implement in studio
/api/platform
though.Ref: AI-101