File tree Expand file tree Collapse file tree 8 files changed +1374
-271
lines changed
packages/mcp-server-supabase Expand file tree Collapse file tree 8 files changed +1374
-271
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,16 @@ The following Supabase tools are available to the LLM:
138
138
- ` get_project_url ` : Gets the API URL for a project.
139
139
- ` get_anon_key ` : Gets the anonymous API key for a project.
140
140
141
+ #### Branching (Experimental)
142
+
143
+ - ` enable_branching ` : Enables branching on a project (requires a paid plan).
144
+ - ` create_branch ` : Creates a development branch with migrations from production branch.
145
+ - ` list_branches ` : Lists all development branches.
146
+ - ` delete_branch ` : Deletes a development branch.
147
+ - ` merge_branch ` : Merges migrations and edge functions from a development branch to production.
148
+ - ` reset_branch ` : Resets migrations of a development branch to a prior version.
149
+ - ` rebase_branch ` : Rebases development branch on production to handle migration drift.
150
+
141
151
#### Development Tools
142
152
143
153
- ` generate_typescript_types ` : Generates TypeScript types based on the database schema. LLMs can save this to a file and use it in their code.
Original file line number Diff line number Diff line change 41
41
"@types/node" : " ^22.8.6" ,
42
42
"date-fns" : " ^4.1.0" ,
43
43
"msw" : " ^2.7.3" ,
44
+ "nanoid" : " ^5.1.5" ,
44
45
"openapi-typescript" : " ^7.5.0" ,
45
46
"openapi-typescript-helpers" : " ^0.0.15" ,
46
47
"prettier" : " ^3.3.3" ,
Original file line number Diff line number Diff line change @@ -1346,6 +1346,9 @@ export interface components {
1346
1346
/** @enum {string} */
1347
1347
message : "ok" ;
1348
1348
} ;
1349
+ BranchActionBody : {
1350
+ migration_version ?: string ;
1351
+ } ;
1349
1352
BranchUpdateResponse : {
1350
1353
workflow_run_id : string ;
1351
1354
/** @enum {string} */
@@ -2364,6 +2367,10 @@ export interface components {
2364
2367
version : string ;
2365
2368
name ?: string ;
2366
2369
} [ ] ;
2370
+ V1CreateMigrationBody : {
2371
+ query : string ;
2372
+ name ?: string ;
2373
+ } ;
2367
2374
V1RunQueryBody : {
2368
2375
query : string ;
2369
2376
} ;
@@ -2705,7 +2712,11 @@ export interface operations {
2705
2712
} ;
2706
2713
cookie ?: never ;
2707
2714
} ;
2708
- requestBody ?: never ;
2715
+ requestBody : {
2716
+ content : {
2717
+ "application/json" : components [ "schemas" ] [ "BranchActionBody" ] ;
2718
+ } ;
2719
+ } ;
2709
2720
responses : {
2710
2721
201 : {
2711
2722
headers : {
@@ -2733,7 +2744,11 @@ export interface operations {
2733
2744
} ;
2734
2745
cookie ?: never ;
2735
2746
} ;
2736
- requestBody ?: never ;
2747
+ requestBody : {
2748
+ content : {
2749
+ "application/json" : components [ "schemas" ] [ "BranchActionBody" ] ;
2750
+ } ;
2751
+ } ;
2737
2752
responses : {
2738
2753
201 : {
2739
2754
headers : {
@@ -2761,7 +2776,11 @@ export interface operations {
2761
2776
} ;
2762
2777
cookie ?: never ;
2763
2778
} ;
2764
- requestBody ?: never ;
2779
+ requestBody : {
2780
+ content : {
2781
+ "application/json" : components [ "schemas" ] [ "BranchActionBody" ] ;
2782
+ } ;
2783
+ } ;
2765
2784
responses : {
2766
2785
201 : {
2767
2786
headers : {
@@ -5310,7 +5329,11 @@ export interface operations {
5310
5329
} ;
5311
5330
cookie ?: never ;
5312
5331
} ;
5313
- requestBody ?: never ;
5332
+ requestBody : {
5333
+ content : {
5334
+ "application/json" : components [ "schemas" ] [ "V1CreateMigrationBody" ] ;
5335
+ } ;
5336
+ } ;
5314
5337
responses : {
5315
5338
200 : {
5316
5339
headers : {
You can’t perform that action at this time.
0 commit comments