feat: local supabase stack#92
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 |
|
waiting ... |
|
waiting ⏳🫠 |
|
PR #103 is merged now any updated status for this feature?? |
9ba8904 to
e0e4b53
Compare
e0e4b53 to
369e5d6
Compare
|
We've decided to embed the MCP server directly into the local/self-hosted Closing this PR in favour of this one on the |
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/platformAPI 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 implementedexception.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/platformthough.Ref: AI-101