mcp-supabase-selfhosted 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,441 @@
1
+ export declare const toolsDefinitions: ({
2
+ name: string;
3
+ description: string;
4
+ inputSchema: {
5
+ type: string;
6
+ properties: {
7
+ schema: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ sql?: undefined;
12
+ page?: undefined;
13
+ perPage?: undefined;
14
+ email?: undefined;
15
+ password?: undefined;
16
+ email_confirm?: undefined;
17
+ user_id?: undefined;
18
+ confirm?: undefined;
19
+ bucket?: undefined;
20
+ public?: undefined;
21
+ table_name?: undefined;
22
+ path?: undefined;
23
+ };
24
+ required?: undefined;
25
+ };
26
+ } | {
27
+ name: string;
28
+ description: string;
29
+ inputSchema: {
30
+ type: string;
31
+ properties: {
32
+ sql: {
33
+ type: string;
34
+ description: string;
35
+ };
36
+ schema?: undefined;
37
+ page?: undefined;
38
+ perPage?: undefined;
39
+ email?: undefined;
40
+ password?: undefined;
41
+ email_confirm?: undefined;
42
+ user_id?: undefined;
43
+ confirm?: undefined;
44
+ bucket?: undefined;
45
+ public?: undefined;
46
+ table_name?: undefined;
47
+ path?: undefined;
48
+ };
49
+ required: string[];
50
+ };
51
+ } | {
52
+ name: string;
53
+ description: string;
54
+ inputSchema: {
55
+ type: string;
56
+ properties: {
57
+ page: {
58
+ type: string;
59
+ description: string;
60
+ };
61
+ perPage: {
62
+ type: string;
63
+ description: string;
64
+ };
65
+ schema?: undefined;
66
+ sql?: undefined;
67
+ email?: undefined;
68
+ password?: undefined;
69
+ email_confirm?: undefined;
70
+ user_id?: undefined;
71
+ confirm?: undefined;
72
+ bucket?: undefined;
73
+ public?: undefined;
74
+ table_name?: undefined;
75
+ path?: undefined;
76
+ };
77
+ required?: undefined;
78
+ };
79
+ } | {
80
+ name: string;
81
+ description: string;
82
+ inputSchema: {
83
+ type: string;
84
+ properties: {
85
+ email: {
86
+ type: string;
87
+ description: string;
88
+ };
89
+ password: {
90
+ type: string;
91
+ description: string;
92
+ };
93
+ email_confirm: {
94
+ type: string;
95
+ description: string;
96
+ };
97
+ schema?: undefined;
98
+ sql?: undefined;
99
+ page?: undefined;
100
+ perPage?: undefined;
101
+ user_id?: undefined;
102
+ confirm?: undefined;
103
+ bucket?: undefined;
104
+ public?: undefined;
105
+ table_name?: undefined;
106
+ path?: undefined;
107
+ };
108
+ required: string[];
109
+ };
110
+ } | {
111
+ name: string;
112
+ description: string;
113
+ inputSchema: {
114
+ type: string;
115
+ properties: {
116
+ user_id: {
117
+ type: string;
118
+ description: string;
119
+ };
120
+ confirm: {
121
+ type: string;
122
+ description: string;
123
+ };
124
+ schema?: undefined;
125
+ sql?: undefined;
126
+ page?: undefined;
127
+ perPage?: undefined;
128
+ email?: undefined;
129
+ password?: undefined;
130
+ email_confirm?: undefined;
131
+ bucket?: undefined;
132
+ public?: undefined;
133
+ table_name?: undefined;
134
+ path?: undefined;
135
+ };
136
+ required: string[];
137
+ };
138
+ } | {
139
+ name: string;
140
+ description: string;
141
+ inputSchema: {
142
+ type: string;
143
+ properties: {
144
+ schema?: undefined;
145
+ sql?: undefined;
146
+ page?: undefined;
147
+ perPage?: undefined;
148
+ email?: undefined;
149
+ password?: undefined;
150
+ email_confirm?: undefined;
151
+ user_id?: undefined;
152
+ confirm?: undefined;
153
+ bucket?: undefined;
154
+ public?: undefined;
155
+ table_name?: undefined;
156
+ path?: undefined;
157
+ };
158
+ required?: undefined;
159
+ };
160
+ } | {
161
+ name: string;
162
+ description: string;
163
+ inputSchema: {
164
+ type: string;
165
+ properties: {
166
+ bucket: {
167
+ type: string;
168
+ description: string;
169
+ };
170
+ public: {
171
+ type: string;
172
+ description: string;
173
+ };
174
+ schema?: undefined;
175
+ sql?: undefined;
176
+ page?: undefined;
177
+ perPage?: undefined;
178
+ email?: undefined;
179
+ password?: undefined;
180
+ email_confirm?: undefined;
181
+ user_id?: undefined;
182
+ confirm?: undefined;
183
+ table_name?: undefined;
184
+ path?: undefined;
185
+ };
186
+ required: string[];
187
+ };
188
+ } | {
189
+ name: string;
190
+ description: string;
191
+ inputSchema: {
192
+ type: string;
193
+ properties: {
194
+ bucket: {
195
+ type: string;
196
+ description: string;
197
+ };
198
+ confirm: {
199
+ type: string;
200
+ description: string;
201
+ };
202
+ schema?: undefined;
203
+ sql?: undefined;
204
+ page?: undefined;
205
+ perPage?: undefined;
206
+ email?: undefined;
207
+ password?: undefined;
208
+ email_confirm?: undefined;
209
+ user_id?: undefined;
210
+ public?: undefined;
211
+ table_name?: undefined;
212
+ path?: undefined;
213
+ };
214
+ required: string[];
215
+ };
216
+ } | {
217
+ name: string;
218
+ description: string;
219
+ inputSchema: {
220
+ type: string;
221
+ properties: {
222
+ table_name: {
223
+ type: string;
224
+ description: string;
225
+ };
226
+ schema: {
227
+ type: string;
228
+ description: string;
229
+ };
230
+ sql?: undefined;
231
+ page?: undefined;
232
+ perPage?: undefined;
233
+ email?: undefined;
234
+ password?: undefined;
235
+ email_confirm?: undefined;
236
+ user_id?: undefined;
237
+ confirm?: undefined;
238
+ bucket?: undefined;
239
+ public?: undefined;
240
+ path?: undefined;
241
+ };
242
+ required?: undefined;
243
+ };
244
+ } | {
245
+ name: string;
246
+ description: string;
247
+ inputSchema: {
248
+ type: string;
249
+ properties: {
250
+ bucket: {
251
+ type: string;
252
+ description: string;
253
+ };
254
+ path: {
255
+ type: string;
256
+ description: string;
257
+ };
258
+ schema?: undefined;
259
+ sql?: undefined;
260
+ page?: undefined;
261
+ perPage?: undefined;
262
+ email?: undefined;
263
+ password?: undefined;
264
+ email_confirm?: undefined;
265
+ user_id?: undefined;
266
+ confirm?: undefined;
267
+ public?: undefined;
268
+ table_name?: undefined;
269
+ };
270
+ required: string[];
271
+ };
272
+ })[];
273
+ export declare function handleGetSchema(params: any): Promise<{
274
+ content: {
275
+ type: string;
276
+ text: string;
277
+ }[];
278
+ isError?: undefined;
279
+ } | {
280
+ isError: boolean;
281
+ content: {
282
+ type: string;
283
+ text: string;
284
+ }[];
285
+ }>;
286
+ export declare function handleListTables(params: any): Promise<{
287
+ content: {
288
+ type: string;
289
+ text: string;
290
+ }[];
291
+ isError?: undefined;
292
+ } | {
293
+ isError: boolean;
294
+ content: {
295
+ type: string;
296
+ text: string;
297
+ }[];
298
+ }>;
299
+ export declare function handleExecuteSql(params: any): Promise<{
300
+ isError: boolean;
301
+ content: {
302
+ type: string;
303
+ text: string;
304
+ }[];
305
+ } | {
306
+ content: {
307
+ type: string;
308
+ text: string;
309
+ }[];
310
+ isError?: undefined;
311
+ }>;
312
+ export declare function handleListUsers(params: any): Promise<{
313
+ content: {
314
+ type: string;
315
+ text: string;
316
+ }[];
317
+ isError?: undefined;
318
+ } | {
319
+ isError: boolean;
320
+ content: {
321
+ type: string;
322
+ text: string;
323
+ }[];
324
+ }>;
325
+ export declare function handleCreateUser(params: any): Promise<{
326
+ isError: boolean;
327
+ content: {
328
+ type: string;
329
+ text: string;
330
+ }[];
331
+ } | {
332
+ content: {
333
+ type: string;
334
+ text: string;
335
+ }[];
336
+ isError?: undefined;
337
+ }>;
338
+ export declare function handleDeleteUser(params: any): Promise<{
339
+ isError: boolean;
340
+ content: {
341
+ type: string;
342
+ text: string;
343
+ }[];
344
+ } | {
345
+ content: {
346
+ type: string;
347
+ text: string;
348
+ }[];
349
+ isError?: undefined;
350
+ }>;
351
+ export declare function handleListBuckets(): Promise<{
352
+ content: {
353
+ type: string;
354
+ text: string;
355
+ }[];
356
+ isError?: undefined;
357
+ } | {
358
+ isError: boolean;
359
+ content: {
360
+ type: string;
361
+ text: string;
362
+ }[];
363
+ }>;
364
+ export declare function handleCreateBucket(params: any): Promise<{
365
+ isError: boolean;
366
+ content: {
367
+ type: string;
368
+ text: string;
369
+ }[];
370
+ } | {
371
+ content: {
372
+ type: string;
373
+ text: string;
374
+ }[];
375
+ isError?: undefined;
376
+ }>;
377
+ export declare function handleDeleteBucket(params: any): Promise<{
378
+ isError: boolean;
379
+ content: {
380
+ type: string;
381
+ text: string;
382
+ }[];
383
+ } | {
384
+ content: {
385
+ type: string;
386
+ text: string;
387
+ }[];
388
+ isError?: undefined;
389
+ }>;
390
+ export declare function handleGetAdvisors(): Promise<{
391
+ content: {
392
+ type: string;
393
+ text: string;
394
+ }[];
395
+ isError?: undefined;
396
+ } | {
397
+ isError: boolean;
398
+ content: {
399
+ type: string;
400
+ text: string;
401
+ }[];
402
+ }>;
403
+ export declare function handleListFiles(params: any): Promise<{
404
+ isError: boolean;
405
+ content: {
406
+ type: string;
407
+ text: string;
408
+ }[];
409
+ } | {
410
+ content: {
411
+ type: string;
412
+ text: string;
413
+ }[];
414
+ isError?: undefined;
415
+ }>;
416
+ export declare function handleListRlsPolicies(params: any): Promise<{
417
+ content: {
418
+ type: string;
419
+ text: string;
420
+ }[];
421
+ isError?: undefined;
422
+ } | {
423
+ isError: boolean;
424
+ content: {
425
+ type: string;
426
+ text: string;
427
+ }[];
428
+ }>;
429
+ export declare function handleGetActiveConnections(): Promise<{
430
+ content: {
431
+ type: string;
432
+ text: string;
433
+ }[];
434
+ isError?: undefined;
435
+ } | {
436
+ isError: boolean;
437
+ content: {
438
+ type: string;
439
+ text: string;
440
+ }[];
441
+ }>;