@supabase/mcp-server-supabase 0.16.1 → 0.17.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.
- package/dist/chunk-HID6VPMI.js +2 -0
- package/dist/{chunk-SG7AFJOS.js.map → chunk-HID6VPMI.js.map} +1 -1
- package/dist/chunk-IMPRDEX4.cjs +295 -0
- package/dist/chunk-IMPRDEX4.cjs.map +1 -0
- package/dist/{chunk-EM7YPWKE.cjs → chunk-SXD3C6JM.cjs} +4 -4
- package/dist/chunk-SXD3C6JM.cjs.map +1 -0
- package/dist/{chunk-AQJ4OQXH.js → chunk-VJTFZ74D.js} +4 -4
- package/dist/chunk-VJTFZ74D.js.map +1 -0
- package/dist/chunk-VNQ4ISM6.js +295 -0
- package/dist/chunk-VNQ4ISM6.js.map +1 -0
- package/dist/chunk-VVFN7QGX.cjs +2 -0
- package/dist/{chunk-2ELO73TX.cjs.map → chunk-VVFN7QGX.cjs.map} +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -37
- package/dist/index.d.ts +26 -37
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/platform/api-platform.cjs +1 -1
- package/dist/platform/api-platform.js +1 -1
- package/dist/platform/index.d.cts +6 -6
- package/dist/platform/index.d.ts +6 -6
- package/package.json +2 -2
- package/dist/chunk-2ELO73TX.cjs +0 -2
- package/dist/chunk-7LBYXIBL.js +0 -294
- package/dist/chunk-7LBYXIBL.js.map +0 -1
- package/dist/chunk-AQJ4OQXH.js.map +0 -1
- package/dist/chunk-EM7YPWKE.cjs.map +0 -1
- package/dist/chunk-SG7AFJOS.js +0 -2
- package/dist/chunk-YF5MBEBT.cjs +0 -294
- package/dist/chunk-YF5MBEBT.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObservationContext as ObservationContext$1, RequestObservation as RequestObservation$1, RequestObserver as RequestObserver$1, ToolCallCallback } from '@supabase/mcp-utils';
|
|
2
|
-
export { ObservationEnd, ObservedMethod, ToolCallCallback } from '@supabase/mcp-utils';
|
|
2
|
+
export { ObservationEnd, ObservedMethod, ToolCallCallback, ToolCallerError, ToolCallerErrorKind, isToolCallerError } from '@supabase/mcp-utils';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
import { FeedbackOperations, SupabasePlatform } from './platform/index.cjs';
|
|
5
5
|
import * as _modelcontextprotocol_server from '@modelcontextprotocol/server';
|
|
@@ -11,17 +11,17 @@ declare const CURRENT_FEATURE_GROUPS: readonly ["docs", "account", "database", "
|
|
|
11
11
|
declare const featureGroupSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
12
|
debug: "debug";
|
|
13
13
|
}>, z.ZodEnum<{
|
|
14
|
-
storage: "storage";
|
|
15
|
-
database: "database";
|
|
16
|
-
feedback: "feedback";
|
|
17
14
|
docs: "docs";
|
|
18
15
|
account: "account";
|
|
16
|
+
database: "database";
|
|
19
17
|
debugging: "debugging";
|
|
20
18
|
development: "development";
|
|
21
19
|
functions: "functions";
|
|
22
20
|
branching: "branching";
|
|
21
|
+
storage: "storage";
|
|
23
22
|
notebooks: "notebooks";
|
|
24
|
-
|
|
23
|
+
feedback: "feedback";
|
|
24
|
+
}>]>, z.ZodTransform<"docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback", "debug" | "docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback">>;
|
|
25
25
|
type FeatureGroup = z.infer<typeof featureGroupSchema>;
|
|
26
26
|
|
|
27
27
|
type ObservedTool = ElicitationToolName | 'other';
|
|
@@ -76,19 +76,6 @@ type ObservationContext = ObservationContext$1<ObservedTool>;
|
|
|
76
76
|
type RequestObservation = RequestObservation$1<ObservationFact>;
|
|
77
77
|
type RequestObserver = RequestObserver$1<ObservedTool, ObservationFact>;
|
|
78
78
|
|
|
79
|
-
declare const toolCallerErrorBrand: unique symbol;
|
|
80
|
-
/**
|
|
81
|
-
* A tool error caused by the caller's input, comparable to an HTTP 4xx.
|
|
82
|
-
*/
|
|
83
|
-
declare class ToolCallerError extends Error {
|
|
84
|
-
[toolCallerErrorBrand]: true;
|
|
85
|
-
constructor(message: string, options?: ErrorOptions);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Checks the global symbol brand so errors from another installed copy of this package still match.
|
|
89
|
-
*/
|
|
90
|
-
declare function isToolCallerError(error: unknown): error is ToolCallerError;
|
|
91
|
-
|
|
92
79
|
declare const FEEDBACK_ENVIRONMENTS: {
|
|
93
80
|
production: {
|
|
94
81
|
url: string;
|
|
@@ -157,8 +144,6 @@ type SupabaseMcpServerOptions = {
|
|
|
157
144
|
key: string | Uint8Array;
|
|
158
145
|
/** The authenticated principal `requestState` is bound to. */
|
|
159
146
|
principal: string;
|
|
160
|
-
/** How long a minted `requestState` stays valid, in seconds. */
|
|
161
|
-
ttlSeconds?: number;
|
|
162
147
|
};
|
|
163
148
|
/**
|
|
164
149
|
* Form confirmation for the listed cost, destructive SQL and notebook
|
|
@@ -170,6 +155,8 @@ type SupabaseMcpServerOptions = {
|
|
|
170
155
|
confirmation?: {
|
|
171
156
|
/** Tools that accept a confirmation elicitation. Empty disables all forms. */
|
|
172
157
|
enabledTools: readonly ElicitationToolName[];
|
|
158
|
+
/** How long a confirmation `requestState` stays valid, in seconds. Defaults to 600. */
|
|
159
|
+
ttlSeconds?: number;
|
|
173
160
|
};
|
|
174
161
|
/**
|
|
175
162
|
* URL-mode secret collection for `create_edge_function_secret`. Requires
|
|
@@ -184,6 +171,8 @@ type SupabaseMcpServerOptions = {
|
|
|
184
171
|
* Example: `https://supabase.com/dashboard/mcp/secrets?ref={ref}&name={name}`.
|
|
185
172
|
*/
|
|
186
173
|
connectUrlTemplate: string;
|
|
174
|
+
/** How long a secret-collection `requestState` stays valid, in seconds. Defaults to 600. */
|
|
175
|
+
ttlSeconds?: number;
|
|
187
176
|
};
|
|
188
177
|
};
|
|
189
178
|
};
|
|
@@ -257,7 +246,7 @@ declare const accountToolDefs: {
|
|
|
257
246
|
};
|
|
258
247
|
};
|
|
259
248
|
readonly get_project: {
|
|
260
|
-
readonly description: "Gets details for a Supabase project.";
|
|
249
|
+
readonly description: "Gets details for a Supabase project. `status` is `ACTIVE_HEALTHY` when the project is ready for database tools; other values such as `COMING_UP`, `RESTORING`, or `INACTIVE` (paused) mean database calls will fail or time out.";
|
|
261
250
|
readonly parameters: z.ZodObject<{
|
|
262
251
|
id: z.ZodString;
|
|
263
252
|
}, z.core.$strip>;
|
|
@@ -332,7 +321,7 @@ declare const accountToolDefs: {
|
|
|
332
321
|
};
|
|
333
322
|
};
|
|
334
323
|
readonly create_project: {
|
|
335
|
-
readonly description: "Creates a new Supabase project, which can add to the organization's bill. The user must agree to any nonzero quoted cost before the project is created. Unless `confirm_cost_id` is required, call this tool without it and without asking for cost confirmation in chat first. The server handles cost confirmation, or returns instructions for obtaining a confirmation ID. If it requests an ID, follow those instructions and retry with it. A project quoted at $0 may be created without a cost-confirmation form. Always ask the user which organization to create the project in. The project can take a few minutes to initialize
|
|
324
|
+
readonly description: "Creates a new Supabase project, which can add to the organization's bill. The user must agree to any nonzero quoted cost before the project is created. Unless `confirm_cost_id` is required, call this tool without it and without asking for cost confirmation in chat first. The server handles cost confirmation, or returns instructions for obtaining a confirmation ID. If it requests an ID, follow those instructions and retry with it. A project quoted at $0 may be created without a cost-confirmation form. Always ask the user which organization to create the project in. The project can take a few minutes to initialize. Call `get_project`, waiting a few seconds between checks, until `status` is `ACTIVE_HEALTHY` before running SQL, migrations, or other database tools against it. If `status` becomes `INIT_FAILED` or `REMOVED`, stop and tell the user.";
|
|
336
325
|
readonly parameters: z.ZodObject<{
|
|
337
326
|
name: z.ZodString;
|
|
338
327
|
region: z.ZodEnum<{
|
|
@@ -686,18 +675,18 @@ declare const databaseToolDefs: {
|
|
|
686
675
|
|
|
687
676
|
declare const debuggingToolDefs: {
|
|
688
677
|
readonly get_logs: {
|
|
689
|
-
readonly description: "Gets logs for a Supabase project by service type. When the user asks about a specific time range, always pass iso_timestamp_start and iso_timestamp_end to match it; otherwise each call defaults to the last 24 hours and will return logs from a wider window than intended. The window
|
|
678
|
+
readonly description: "Gets logs for a Supabase project by service type. When the user asks about a specific time range, always pass iso_timestamp_start and iso_timestamp_end to match it; otherwise each call defaults to the last 24 hours and will return logs from a wider window than intended. The window must be 24 hours or less and iso_timestamp_start must be before iso_timestamp_end; other windows are rejected. If you pass only iso_timestamp_start, the end defaults to now, so for a past time range pass both timestamps. For a longer range, make one call per 24-hour slice. Edge Function logs are split by kind: `edge-function` returns invocation/request logs, while `edge-function-runtime` returns console output from inside the function. Query one service first, then correlate with other services by timestamp or error anchors. Do not poll get_logs in a loop.";
|
|
690
679
|
readonly parameters: z.ZodObject<{
|
|
691
680
|
project_id: z.ZodString;
|
|
692
681
|
service: z.ZodEnum<{
|
|
693
|
-
auth: "auth";
|
|
694
|
-
realtime: "realtime";
|
|
695
682
|
storage: "storage";
|
|
696
683
|
api: "api";
|
|
697
684
|
"branch-action": "branch-action";
|
|
698
685
|
postgres: "postgres";
|
|
699
686
|
"edge-function": "edge-function";
|
|
700
687
|
"edge-function-runtime": "edge-function-runtime";
|
|
688
|
+
auth: "auth";
|
|
689
|
+
realtime: "realtime";
|
|
701
690
|
}>;
|
|
702
691
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
703
692
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -934,7 +923,7 @@ ${string}`;
|
|
|
934
923
|
|
|
935
924
|
declare const feedbackToolDefs: {
|
|
936
925
|
readonly submit_feedback: {
|
|
937
|
-
readonly description: "Sends feedback about Supabase tools to the Supabase team. Use it when the user asks, or when you hit a bug
|
|
926
|
+
readonly description: "Sends feedback about Supabase tools or documentation to the Supabase team. Use it when the user asks, or when you hit a bug, a missing capability, or a wrong docs page. Ask the user before sending feedback they didn't request. Never include secrets, personal data, or database contents. Keep it to 1000 characters or fewer. Show the user the returned delete token.";
|
|
938
927
|
readonly parameters: z.ZodObject<{
|
|
939
928
|
feedback: z.ZodString;
|
|
940
929
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -982,11 +971,11 @@ declare const notebookToolDefs: {
|
|
|
982
971
|
text: z.ZodString;
|
|
983
972
|
}, z.core.$strict>, z.ZodObject<{
|
|
984
973
|
type: z.ZodLiteral<"database">;
|
|
974
|
+
title: z.ZodOptional<z.ZodString>;
|
|
985
975
|
view: z.ZodOptional<z.ZodEnum<{
|
|
986
976
|
table: "table";
|
|
987
977
|
chart: "chart";
|
|
988
978
|
}>>;
|
|
989
|
-
title: z.ZodOptional<z.ZodString>;
|
|
990
979
|
sql: z.ZodString;
|
|
991
980
|
row_limit: z.ZodNumber;
|
|
992
981
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1008,11 +997,11 @@ declare const notebookToolDefs: {
|
|
|
1008
997
|
}, z.core.$strict>>;
|
|
1009
998
|
}, z.core.$strict>, z.ZodObject<{
|
|
1010
999
|
type: z.ZodLiteral<"log">;
|
|
1000
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1011
1001
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1012
1002
|
table: "table";
|
|
1013
1003
|
chart: "chart";
|
|
1014
1004
|
}>>;
|
|
1015
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1016
1005
|
sql: z.ZodString;
|
|
1017
1006
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1018
1007
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1050,8 +1039,8 @@ declare const notebookToolDefs: {
|
|
|
1050
1039
|
}, z.core.$strip>;
|
|
1051
1040
|
}, z.core.$strip>;
|
|
1052
1041
|
readonly outputSchema: z.ZodObject<{
|
|
1053
|
-
name: z.ZodString;
|
|
1054
1042
|
id: z.ZodString;
|
|
1043
|
+
name: z.ZodString;
|
|
1055
1044
|
updated_at: z.ZodString;
|
|
1056
1045
|
url: z.ZodString;
|
|
1057
1046
|
}, z.core.$strip>;
|
|
@@ -1160,8 +1149,8 @@ declare const notebookToolDefs: {
|
|
|
1160
1149
|
notebook_id: z.ZodString;
|
|
1161
1150
|
}, z.core.$strip>;
|
|
1162
1151
|
readonly outputSchema: z.ZodObject<{
|
|
1163
|
-
name: z.ZodString;
|
|
1164
1152
|
id: z.ZodString;
|
|
1153
|
+
name: z.ZodString;
|
|
1165
1154
|
}, z.core.$strip>;
|
|
1166
1155
|
readonly annotations: {
|
|
1167
1156
|
readonly title: "Delete notebook";
|
|
@@ -1338,11 +1327,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1338
1327
|
text: z.ZodString;
|
|
1339
1328
|
}, z.core.$strict>, z.ZodObject<{
|
|
1340
1329
|
type: z.ZodLiteral<"database">;
|
|
1330
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1341
1331
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1342
1332
|
table: "table";
|
|
1343
1333
|
chart: "chart";
|
|
1344
1334
|
}>>;
|
|
1345
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1346
1335
|
sql: z.ZodString;
|
|
1347
1336
|
row_limit: z.ZodNumber;
|
|
1348
1337
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1364,11 +1353,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1364
1353
|
}, z.core.$strict>>;
|
|
1365
1354
|
}, z.core.$strict>, z.ZodObject<{
|
|
1366
1355
|
type: z.ZodLiteral<"log">;
|
|
1356
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1367
1357
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1368
1358
|
table: "table";
|
|
1369
1359
|
chart: "chart";
|
|
1370
1360
|
}>>;
|
|
1371
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1372
1361
|
sql: z.ZodString;
|
|
1373
1362
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1374
1363
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1406,8 +1395,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1406
1395
|
}, z.core.$strip>;
|
|
1407
1396
|
}, z.core.$strip>;
|
|
1408
1397
|
outputSchema: z.ZodObject<{
|
|
1409
|
-
name: z.ZodString;
|
|
1410
1398
|
id: z.ZodString;
|
|
1399
|
+
name: z.ZodString;
|
|
1411
1400
|
updated_at: z.ZodString;
|
|
1412
1401
|
url: z.ZodString;
|
|
1413
1402
|
}, z.core.$strip>;
|
|
@@ -1519,8 +1508,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1519
1508
|
notebook_id: z.ZodString;
|
|
1520
1509
|
}, z.core.$strip>;
|
|
1521
1510
|
outputSchema: z.ZodObject<{
|
|
1522
|
-
name: z.ZodString;
|
|
1523
1511
|
id: z.ZodString;
|
|
1512
|
+
name: z.ZodString;
|
|
1524
1513
|
}, z.core.$strip>;
|
|
1525
1514
|
annotations: {
|
|
1526
1515
|
readonly title: "Delete notebook";
|
|
@@ -1809,14 +1798,14 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1809
1798
|
inputSchema: z.ZodObject<{
|
|
1810
1799
|
project_id: z.ZodString;
|
|
1811
1800
|
service: z.ZodEnum<{
|
|
1812
|
-
auth: "auth";
|
|
1813
|
-
realtime: "realtime";
|
|
1814
1801
|
storage: "storage";
|
|
1815
1802
|
api: "api";
|
|
1816
1803
|
"branch-action": "branch-action";
|
|
1817
1804
|
postgres: "postgres";
|
|
1818
1805
|
"edge-function": "edge-function";
|
|
1819
1806
|
"edge-function-runtime": "edge-function-runtime";
|
|
1807
|
+
auth: "auth";
|
|
1808
|
+
realtime: "realtime";
|
|
1820
1809
|
}>;
|
|
1821
1810
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
1822
1811
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -2464,4 +2453,4 @@ declare function createToolSchemas<const Features extends readonly FeatureGroup[
|
|
|
2464
2453
|
|
|
2465
2454
|
declare const version: string;
|
|
2466
2455
|
|
|
2467
|
-
export { CURRENT_ELICITATION_TOOLS, CURRENT_FEATURE_GROUPS, type ConfirmationFeature, type ElicitationToolName, type FeatureGroup, FeedbackOperations, type FeedbackOperationsOptions, type ObservationContext, type ObservationFact, type ObservedTool, type RequestObservation, type RequestObserver, type SupabaseMcpServerOptions, SupabasePlatform,
|
|
2456
|
+
export { CURRENT_ELICITATION_TOOLS, CURRENT_FEATURE_GROUPS, type ConfirmationFeature, type ElicitationToolName, type FeatureGroup, FeedbackOperations, type FeedbackOperationsOptions, type ObservationContext, type ObservationFact, type ObservedTool, type RequestObservation, type RequestObserver, type SupabaseMcpServerOptions, SupabasePlatform, createFeedbackOperations, createSupabaseMcpHandler, createSupabaseMcpServer, createToolSchemas, supabaseMcpToolSchemas, version };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObservationContext as ObservationContext$1, RequestObservation as RequestObservation$1, RequestObserver as RequestObserver$1, ToolCallCallback } from '@supabase/mcp-utils';
|
|
2
|
-
export { ObservationEnd, ObservedMethod, ToolCallCallback } from '@supabase/mcp-utils';
|
|
2
|
+
export { ObservationEnd, ObservedMethod, ToolCallCallback, ToolCallerError, ToolCallerErrorKind, isToolCallerError } from '@supabase/mcp-utils';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
4
|
import { FeedbackOperations, SupabasePlatform } from './platform/index.js';
|
|
5
5
|
import * as _modelcontextprotocol_server from '@modelcontextprotocol/server';
|
|
@@ -11,17 +11,17 @@ declare const CURRENT_FEATURE_GROUPS: readonly ["docs", "account", "database", "
|
|
|
11
11
|
declare const featureGroupSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
|
|
12
12
|
debug: "debug";
|
|
13
13
|
}>, z.ZodEnum<{
|
|
14
|
-
storage: "storage";
|
|
15
|
-
database: "database";
|
|
16
|
-
feedback: "feedback";
|
|
17
14
|
docs: "docs";
|
|
18
15
|
account: "account";
|
|
16
|
+
database: "database";
|
|
19
17
|
debugging: "debugging";
|
|
20
18
|
development: "development";
|
|
21
19
|
functions: "functions";
|
|
22
20
|
branching: "branching";
|
|
21
|
+
storage: "storage";
|
|
23
22
|
notebooks: "notebooks";
|
|
24
|
-
|
|
23
|
+
feedback: "feedback";
|
|
24
|
+
}>]>, z.ZodTransform<"docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback", "debug" | "docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback">>;
|
|
25
25
|
type FeatureGroup = z.infer<typeof featureGroupSchema>;
|
|
26
26
|
|
|
27
27
|
type ObservedTool = ElicitationToolName | 'other';
|
|
@@ -76,19 +76,6 @@ type ObservationContext = ObservationContext$1<ObservedTool>;
|
|
|
76
76
|
type RequestObservation = RequestObservation$1<ObservationFact>;
|
|
77
77
|
type RequestObserver = RequestObserver$1<ObservedTool, ObservationFact>;
|
|
78
78
|
|
|
79
|
-
declare const toolCallerErrorBrand: unique symbol;
|
|
80
|
-
/**
|
|
81
|
-
* A tool error caused by the caller's input, comparable to an HTTP 4xx.
|
|
82
|
-
*/
|
|
83
|
-
declare class ToolCallerError extends Error {
|
|
84
|
-
[toolCallerErrorBrand]: true;
|
|
85
|
-
constructor(message: string, options?: ErrorOptions);
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Checks the global symbol brand so errors from another installed copy of this package still match.
|
|
89
|
-
*/
|
|
90
|
-
declare function isToolCallerError(error: unknown): error is ToolCallerError;
|
|
91
|
-
|
|
92
79
|
declare const FEEDBACK_ENVIRONMENTS: {
|
|
93
80
|
production: {
|
|
94
81
|
url: string;
|
|
@@ -157,8 +144,6 @@ type SupabaseMcpServerOptions = {
|
|
|
157
144
|
key: string | Uint8Array;
|
|
158
145
|
/** The authenticated principal `requestState` is bound to. */
|
|
159
146
|
principal: string;
|
|
160
|
-
/** How long a minted `requestState` stays valid, in seconds. */
|
|
161
|
-
ttlSeconds?: number;
|
|
162
147
|
};
|
|
163
148
|
/**
|
|
164
149
|
* Form confirmation for the listed cost, destructive SQL and notebook
|
|
@@ -170,6 +155,8 @@ type SupabaseMcpServerOptions = {
|
|
|
170
155
|
confirmation?: {
|
|
171
156
|
/** Tools that accept a confirmation elicitation. Empty disables all forms. */
|
|
172
157
|
enabledTools: readonly ElicitationToolName[];
|
|
158
|
+
/** How long a confirmation `requestState` stays valid, in seconds. Defaults to 600. */
|
|
159
|
+
ttlSeconds?: number;
|
|
173
160
|
};
|
|
174
161
|
/**
|
|
175
162
|
* URL-mode secret collection for `create_edge_function_secret`. Requires
|
|
@@ -184,6 +171,8 @@ type SupabaseMcpServerOptions = {
|
|
|
184
171
|
* Example: `https://supabase.com/dashboard/mcp/secrets?ref={ref}&name={name}`.
|
|
185
172
|
*/
|
|
186
173
|
connectUrlTemplate: string;
|
|
174
|
+
/** How long a secret-collection `requestState` stays valid, in seconds. Defaults to 600. */
|
|
175
|
+
ttlSeconds?: number;
|
|
187
176
|
};
|
|
188
177
|
};
|
|
189
178
|
};
|
|
@@ -257,7 +246,7 @@ declare const accountToolDefs: {
|
|
|
257
246
|
};
|
|
258
247
|
};
|
|
259
248
|
readonly get_project: {
|
|
260
|
-
readonly description: "Gets details for a Supabase project.";
|
|
249
|
+
readonly description: "Gets details for a Supabase project. `status` is `ACTIVE_HEALTHY` when the project is ready for database tools; other values such as `COMING_UP`, `RESTORING`, or `INACTIVE` (paused) mean database calls will fail or time out.";
|
|
261
250
|
readonly parameters: z.ZodObject<{
|
|
262
251
|
id: z.ZodString;
|
|
263
252
|
}, z.core.$strip>;
|
|
@@ -332,7 +321,7 @@ declare const accountToolDefs: {
|
|
|
332
321
|
};
|
|
333
322
|
};
|
|
334
323
|
readonly create_project: {
|
|
335
|
-
readonly description: "Creates a new Supabase project, which can add to the organization's bill. The user must agree to any nonzero quoted cost before the project is created. Unless `confirm_cost_id` is required, call this tool without it and without asking for cost confirmation in chat first. The server handles cost confirmation, or returns instructions for obtaining a confirmation ID. If it requests an ID, follow those instructions and retry with it. A project quoted at $0 may be created without a cost-confirmation form. Always ask the user which organization to create the project in. The project can take a few minutes to initialize
|
|
324
|
+
readonly description: "Creates a new Supabase project, which can add to the organization's bill. The user must agree to any nonzero quoted cost before the project is created. Unless `confirm_cost_id` is required, call this tool without it and without asking for cost confirmation in chat first. The server handles cost confirmation, or returns instructions for obtaining a confirmation ID. If it requests an ID, follow those instructions and retry with it. A project quoted at $0 may be created without a cost-confirmation form. Always ask the user which organization to create the project in. The project can take a few minutes to initialize. Call `get_project`, waiting a few seconds between checks, until `status` is `ACTIVE_HEALTHY` before running SQL, migrations, or other database tools against it. If `status` becomes `INIT_FAILED` or `REMOVED`, stop and tell the user.";
|
|
336
325
|
readonly parameters: z.ZodObject<{
|
|
337
326
|
name: z.ZodString;
|
|
338
327
|
region: z.ZodEnum<{
|
|
@@ -686,18 +675,18 @@ declare const databaseToolDefs: {
|
|
|
686
675
|
|
|
687
676
|
declare const debuggingToolDefs: {
|
|
688
677
|
readonly get_logs: {
|
|
689
|
-
readonly description: "Gets logs for a Supabase project by service type. When the user asks about a specific time range, always pass iso_timestamp_start and iso_timestamp_end to match it; otherwise each call defaults to the last 24 hours and will return logs from a wider window than intended. The window
|
|
678
|
+
readonly description: "Gets logs for a Supabase project by service type. When the user asks about a specific time range, always pass iso_timestamp_start and iso_timestamp_end to match it; otherwise each call defaults to the last 24 hours and will return logs from a wider window than intended. The window must be 24 hours or less and iso_timestamp_start must be before iso_timestamp_end; other windows are rejected. If you pass only iso_timestamp_start, the end defaults to now, so for a past time range pass both timestamps. For a longer range, make one call per 24-hour slice. Edge Function logs are split by kind: `edge-function` returns invocation/request logs, while `edge-function-runtime` returns console output from inside the function. Query one service first, then correlate with other services by timestamp or error anchors. Do not poll get_logs in a loop.";
|
|
690
679
|
readonly parameters: z.ZodObject<{
|
|
691
680
|
project_id: z.ZodString;
|
|
692
681
|
service: z.ZodEnum<{
|
|
693
|
-
auth: "auth";
|
|
694
|
-
realtime: "realtime";
|
|
695
682
|
storage: "storage";
|
|
696
683
|
api: "api";
|
|
697
684
|
"branch-action": "branch-action";
|
|
698
685
|
postgres: "postgres";
|
|
699
686
|
"edge-function": "edge-function";
|
|
700
687
|
"edge-function-runtime": "edge-function-runtime";
|
|
688
|
+
auth: "auth";
|
|
689
|
+
realtime: "realtime";
|
|
701
690
|
}>;
|
|
702
691
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
703
692
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -934,7 +923,7 @@ ${string}`;
|
|
|
934
923
|
|
|
935
924
|
declare const feedbackToolDefs: {
|
|
936
925
|
readonly submit_feedback: {
|
|
937
|
-
readonly description: "Sends feedback about Supabase tools to the Supabase team. Use it when the user asks, or when you hit a bug
|
|
926
|
+
readonly description: "Sends feedback about Supabase tools or documentation to the Supabase team. Use it when the user asks, or when you hit a bug, a missing capability, or a wrong docs page. Ask the user before sending feedback they didn't request. Never include secrets, personal data, or database contents. Keep it to 1000 characters or fewer. Show the user the returned delete token.";
|
|
938
927
|
readonly parameters: z.ZodObject<{
|
|
939
928
|
feedback: z.ZodString;
|
|
940
929
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -982,11 +971,11 @@ declare const notebookToolDefs: {
|
|
|
982
971
|
text: z.ZodString;
|
|
983
972
|
}, z.core.$strict>, z.ZodObject<{
|
|
984
973
|
type: z.ZodLiteral<"database">;
|
|
974
|
+
title: z.ZodOptional<z.ZodString>;
|
|
985
975
|
view: z.ZodOptional<z.ZodEnum<{
|
|
986
976
|
table: "table";
|
|
987
977
|
chart: "chart";
|
|
988
978
|
}>>;
|
|
989
|
-
title: z.ZodOptional<z.ZodString>;
|
|
990
979
|
sql: z.ZodString;
|
|
991
980
|
row_limit: z.ZodNumber;
|
|
992
981
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1008,11 +997,11 @@ declare const notebookToolDefs: {
|
|
|
1008
997
|
}, z.core.$strict>>;
|
|
1009
998
|
}, z.core.$strict>, z.ZodObject<{
|
|
1010
999
|
type: z.ZodLiteral<"log">;
|
|
1000
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1011
1001
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1012
1002
|
table: "table";
|
|
1013
1003
|
chart: "chart";
|
|
1014
1004
|
}>>;
|
|
1015
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1016
1005
|
sql: z.ZodString;
|
|
1017
1006
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1018
1007
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1050,8 +1039,8 @@ declare const notebookToolDefs: {
|
|
|
1050
1039
|
}, z.core.$strip>;
|
|
1051
1040
|
}, z.core.$strip>;
|
|
1052
1041
|
readonly outputSchema: z.ZodObject<{
|
|
1053
|
-
name: z.ZodString;
|
|
1054
1042
|
id: z.ZodString;
|
|
1043
|
+
name: z.ZodString;
|
|
1055
1044
|
updated_at: z.ZodString;
|
|
1056
1045
|
url: z.ZodString;
|
|
1057
1046
|
}, z.core.$strip>;
|
|
@@ -1160,8 +1149,8 @@ declare const notebookToolDefs: {
|
|
|
1160
1149
|
notebook_id: z.ZodString;
|
|
1161
1150
|
}, z.core.$strip>;
|
|
1162
1151
|
readonly outputSchema: z.ZodObject<{
|
|
1163
|
-
name: z.ZodString;
|
|
1164
1152
|
id: z.ZodString;
|
|
1153
|
+
name: z.ZodString;
|
|
1165
1154
|
}, z.core.$strip>;
|
|
1166
1155
|
readonly annotations: {
|
|
1167
1156
|
readonly title: "Delete notebook";
|
|
@@ -1338,11 +1327,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1338
1327
|
text: z.ZodString;
|
|
1339
1328
|
}, z.core.$strict>, z.ZodObject<{
|
|
1340
1329
|
type: z.ZodLiteral<"database">;
|
|
1330
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1341
1331
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1342
1332
|
table: "table";
|
|
1343
1333
|
chart: "chart";
|
|
1344
1334
|
}>>;
|
|
1345
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1346
1335
|
sql: z.ZodString;
|
|
1347
1336
|
row_limit: z.ZodNumber;
|
|
1348
1337
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1364,11 +1353,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1364
1353
|
}, z.core.$strict>>;
|
|
1365
1354
|
}, z.core.$strict>, z.ZodObject<{
|
|
1366
1355
|
type: z.ZodLiteral<"log">;
|
|
1356
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1367
1357
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1368
1358
|
table: "table";
|
|
1369
1359
|
chart: "chart";
|
|
1370
1360
|
}>>;
|
|
1371
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1372
1361
|
sql: z.ZodString;
|
|
1373
1362
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1374
1363
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1406,8 +1395,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1406
1395
|
}, z.core.$strip>;
|
|
1407
1396
|
}, z.core.$strip>;
|
|
1408
1397
|
outputSchema: z.ZodObject<{
|
|
1409
|
-
name: z.ZodString;
|
|
1410
1398
|
id: z.ZodString;
|
|
1399
|
+
name: z.ZodString;
|
|
1411
1400
|
updated_at: z.ZodString;
|
|
1412
1401
|
url: z.ZodString;
|
|
1413
1402
|
}, z.core.$strip>;
|
|
@@ -1519,8 +1508,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1519
1508
|
notebook_id: z.ZodString;
|
|
1520
1509
|
}, z.core.$strip>;
|
|
1521
1510
|
outputSchema: z.ZodObject<{
|
|
1522
|
-
name: z.ZodString;
|
|
1523
1511
|
id: z.ZodString;
|
|
1512
|
+
name: z.ZodString;
|
|
1524
1513
|
}, z.core.$strip>;
|
|
1525
1514
|
annotations: {
|
|
1526
1515
|
readonly title: "Delete notebook";
|
|
@@ -1809,14 +1798,14 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1809
1798
|
inputSchema: z.ZodObject<{
|
|
1810
1799
|
project_id: z.ZodString;
|
|
1811
1800
|
service: z.ZodEnum<{
|
|
1812
|
-
auth: "auth";
|
|
1813
|
-
realtime: "realtime";
|
|
1814
1801
|
storage: "storage";
|
|
1815
1802
|
api: "api";
|
|
1816
1803
|
"branch-action": "branch-action";
|
|
1817
1804
|
postgres: "postgres";
|
|
1818
1805
|
"edge-function": "edge-function";
|
|
1819
1806
|
"edge-function-runtime": "edge-function-runtime";
|
|
1807
|
+
auth: "auth";
|
|
1808
|
+
realtime: "realtime";
|
|
1820
1809
|
}>;
|
|
1821
1810
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
1822
1811
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -2464,4 +2453,4 @@ declare function createToolSchemas<const Features extends readonly FeatureGroup[
|
|
|
2464
2453
|
|
|
2465
2454
|
declare const version: string;
|
|
2466
2455
|
|
|
2467
|
-
export { CURRENT_ELICITATION_TOOLS, CURRENT_FEATURE_GROUPS, type ConfirmationFeature, type ElicitationToolName, type FeatureGroup, FeedbackOperations, type FeedbackOperationsOptions, type ObservationContext, type ObservationFact, type ObservedTool, type RequestObservation, type RequestObserver, type SupabaseMcpServerOptions, SupabasePlatform,
|
|
2456
|
+
export { CURRENT_ELICITATION_TOOLS, CURRENT_FEATURE_GROUPS, type ConfirmationFeature, type ElicitationToolName, type FeatureGroup, FeedbackOperations, type FeedbackOperationsOptions, type ObservationContext, type ObservationFact, type ObservedTool, type RequestObservation, type RequestObserver, type SupabaseMcpServerOptions, SupabasePlatform, createFeedbackOperations, createSupabaseMcpHandler, createSupabaseMcpServer, createToolSchemas, supabaseMcpToolSchemas, version };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a,b as p,f as s,g as c,h as e}from"./chunk-VNQ4ISM6.js";import{a as r,h as t}from"./chunk-VJTFZ74D.js";import"./chunk-LL3YUIO5.js";import{isToolCallerError as v,ToolCallerError as T}from"@supabase/mcp-utils";import{createMcpHandler as n}from"@modelcontextprotocol/server";function i(o){return n(()=>e(o),{legacy:"reject"})}var O=r.version;export{a as CURRENT_ELICITATION_TOOLS,p as CURRENT_FEATURE_GROUPS,T as ToolCallerError,t as createFeedbackOperations,i as createSupabaseMcpHandler,e as createSupabaseMcpServer,c as createToolSchemas,v as isToolCallerError,s as supabaseMcpToolSchemas,O as version};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/transports/http.ts"],"sourcesContent":["import packageJson from '../package.json' with { type: 'json' };\n\nexport type {\n ObservationContext,\n ObservationEnd,\n ObservationFact,\n ObservedMethod,\n ObservedTool,\n ConfirmationFeature,\n RequestObservation,\n RequestObserver,\n} from './observation.js';\nexport {\n isToolCallerError,\n ToolCallerError,\n type ToolCallerErrorKind,\n} from '@supabase/mcp-utils';\nexport type { ToolCallCallback } from '@supabase/mcp-utils';\nexport {\n createFeedbackOperations,\n type FeedbackOperationsOptions,\n} from './platform/feedback.js';\nexport type { FeedbackOperations, SupabasePlatform } from './platform/index.js';\nexport {\n createSupabaseMcpServer,\n type SupabaseMcpServerOptions,\n} from './server.js';\nexport { createSupabaseMcpHandler } from './transports/http.js';\nexport {\n CURRENT_ELICITATION_TOOLS,\n CURRENT_FEATURE_GROUPS,\n type ElicitationToolName,\n type FeatureGroup,\n} from './types.js';\nexport const version = packageJson.version;\n\nexport {\n createToolSchemas,\n supabaseMcpToolSchemas,\n} from './tools/tool-schemas.js';\n","import { createMcpHandler } from '@modelcontextprotocol/server';\n\nimport {\n createSupabaseMcpServer,\n type SupabaseMcpServerOptions,\n} from '../server.js';\n\n// Modern protocol only: created with `legacy: 'reject'`, so a client that\n// speaks just the 2025-era protocol gets an HTTP 400 instead of being served.\nexport function createSupabaseMcpHandler(options: SupabaseMcpServerOptions) {\n return createMcpHandler(() => createSupabaseMcpServer(options), {\n legacy: 'reject',\n });\n}\n"],"mappings":"0IAYA,OACE,qBAAAA,EACA,mBAAAC,MAEK,sBChBP,OAAS,oBAAAC,MAAwB,+BAS1B,SAASC,EAAyBC,EAAmC,CAC1E,OAAOC,EAAiB,IAAMC,EAAwBF,CAAO,EAAG,CAC9D,OAAQ,QACV,CAAC,CACH,CDqBO,IAAMG,EAAUC,EAAY","names":["isToolCallerError","ToolCallerError","createMcpHandler","createSupabaseMcpHandler","options","createMcpHandler","createSupabaseMcpServer","version","package_default"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkVVFN7QGXcjs = require('../chunk-VVFN7QGX.cjs');require('../chunk-SXD3C6JM.cjs');require('../chunk-PHWSETKC.cjs');require('../chunk-6FWRABME.cjs');exports.createSupabaseApiPlatform = _chunkVVFN7QGXcjs.a;
|
|
2
2
|
//# sourceMappingURL=api-platform.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-HID6VPMI.js";import"../chunk-VJTFZ74D.js";import"../chunk-LU6L7C36.js";import"../chunk-LL3YUIO5.js";export{a as createSupabaseApiPlatform};
|
|
2
2
|
//# sourceMappingURL=api-platform.js.map
|
|
@@ -148,25 +148,25 @@ declare const migrationSchema: z.ZodObject<{
|
|
|
148
148
|
name: z.ZodOptional<z.ZodString>;
|
|
149
149
|
}, z.core.$strip>;
|
|
150
150
|
declare const logsServiceSchema: z.ZodEnum<{
|
|
151
|
-
auth: "auth";
|
|
152
|
-
realtime: "realtime";
|
|
153
151
|
storage: "storage";
|
|
154
152
|
api: "api";
|
|
155
153
|
"branch-action": "branch-action";
|
|
156
154
|
postgres: "postgres";
|
|
157
155
|
"edge-function": "edge-function";
|
|
158
156
|
"edge-function-runtime": "edge-function-runtime";
|
|
157
|
+
auth: "auth";
|
|
158
|
+
realtime: "realtime";
|
|
159
159
|
}>;
|
|
160
160
|
declare const getLogsOptionsSchema: z.ZodObject<{
|
|
161
161
|
service: z.ZodEnum<{
|
|
162
|
-
auth: "auth";
|
|
163
|
-
realtime: "realtime";
|
|
164
162
|
storage: "storage";
|
|
165
163
|
api: "api";
|
|
166
164
|
"branch-action": "branch-action";
|
|
167
165
|
postgres: "postgres";
|
|
168
166
|
"edge-function": "edge-function";
|
|
169
167
|
"edge-function-runtime": "edge-function-runtime";
|
|
168
|
+
auth: "auth";
|
|
169
|
+
realtime: "realtime";
|
|
170
170
|
}>;
|
|
171
171
|
iso_timestamp_start: z.ZodOptional<z.ZodString>;
|
|
172
172
|
iso_timestamp_end: z.ZodOptional<z.ZodString>;
|
|
@@ -262,11 +262,11 @@ declare const createNotebookOptionsSchema: z.ZodObject<{
|
|
|
262
262
|
text: z.ZodString;
|
|
263
263
|
}, z.core.$strict>, z.ZodObject<{
|
|
264
264
|
type: z.ZodLiteral<"database">;
|
|
265
|
+
title: z.ZodOptional<z.ZodString>;
|
|
265
266
|
view: z.ZodOptional<z.ZodEnum<{
|
|
266
267
|
table: "table";
|
|
267
268
|
chart: "chart";
|
|
268
269
|
}>>;
|
|
269
|
-
title: z.ZodOptional<z.ZodString>;
|
|
270
270
|
sql: z.ZodString;
|
|
271
271
|
row_limit: z.ZodNumber;
|
|
272
272
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -288,11 +288,11 @@ declare const createNotebookOptionsSchema: z.ZodObject<{
|
|
|
288
288
|
}, z.core.$strict>>;
|
|
289
289
|
}, z.core.$strict>, z.ZodObject<{
|
|
290
290
|
type: z.ZodLiteral<"log">;
|
|
291
|
+
title: z.ZodOptional<z.ZodString>;
|
|
291
292
|
view: z.ZodOptional<z.ZodEnum<{
|
|
292
293
|
table: "table";
|
|
293
294
|
chart: "chart";
|
|
294
295
|
}>>;
|
|
295
|
-
title: z.ZodOptional<z.ZodString>;
|
|
296
296
|
sql: z.ZodString;
|
|
297
297
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
298
298
|
type: z.ZodLiteral<"absolute">;
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -148,25 +148,25 @@ declare const migrationSchema: z.ZodObject<{
|
|
|
148
148
|
name: z.ZodOptional<z.ZodString>;
|
|
149
149
|
}, z.core.$strip>;
|
|
150
150
|
declare const logsServiceSchema: z.ZodEnum<{
|
|
151
|
-
auth: "auth";
|
|
152
|
-
realtime: "realtime";
|
|
153
151
|
storage: "storage";
|
|
154
152
|
api: "api";
|
|
155
153
|
"branch-action": "branch-action";
|
|
156
154
|
postgres: "postgres";
|
|
157
155
|
"edge-function": "edge-function";
|
|
158
156
|
"edge-function-runtime": "edge-function-runtime";
|
|
157
|
+
auth: "auth";
|
|
158
|
+
realtime: "realtime";
|
|
159
159
|
}>;
|
|
160
160
|
declare const getLogsOptionsSchema: z.ZodObject<{
|
|
161
161
|
service: z.ZodEnum<{
|
|
162
|
-
auth: "auth";
|
|
163
|
-
realtime: "realtime";
|
|
164
162
|
storage: "storage";
|
|
165
163
|
api: "api";
|
|
166
164
|
"branch-action": "branch-action";
|
|
167
165
|
postgres: "postgres";
|
|
168
166
|
"edge-function": "edge-function";
|
|
169
167
|
"edge-function-runtime": "edge-function-runtime";
|
|
168
|
+
auth: "auth";
|
|
169
|
+
realtime: "realtime";
|
|
170
170
|
}>;
|
|
171
171
|
iso_timestamp_start: z.ZodOptional<z.ZodString>;
|
|
172
172
|
iso_timestamp_end: z.ZodOptional<z.ZodString>;
|
|
@@ -262,11 +262,11 @@ declare const createNotebookOptionsSchema: z.ZodObject<{
|
|
|
262
262
|
text: z.ZodString;
|
|
263
263
|
}, z.core.$strict>, z.ZodObject<{
|
|
264
264
|
type: z.ZodLiteral<"database">;
|
|
265
|
+
title: z.ZodOptional<z.ZodString>;
|
|
265
266
|
view: z.ZodOptional<z.ZodEnum<{
|
|
266
267
|
table: "table";
|
|
267
268
|
chart: "chart";
|
|
268
269
|
}>>;
|
|
269
|
-
title: z.ZodOptional<z.ZodString>;
|
|
270
270
|
sql: z.ZodString;
|
|
271
271
|
row_limit: z.ZodNumber;
|
|
272
272
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -288,11 +288,11 @@ declare const createNotebookOptionsSchema: z.ZodObject<{
|
|
|
288
288
|
}, z.core.$strict>>;
|
|
289
289
|
}, z.core.$strict>, z.ZodObject<{
|
|
290
290
|
type: z.ZodLiteral<"log">;
|
|
291
|
+
title: z.ZodOptional<z.ZodString>;
|
|
291
292
|
view: z.ZodOptional<z.ZodEnum<{
|
|
292
293
|
table: "table";
|
|
293
294
|
chart: "chart";
|
|
294
295
|
}>>;
|
|
295
|
-
title: z.ZodOptional<z.ZodString>;
|
|
296
296
|
sql: z.ZodString;
|
|
297
297
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
298
298
|
type: z.ZodLiteral<"absolute">;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supabase/mcp-server-supabase",
|
|
3
3
|
"mcpName": "com.supabase/mcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.0",
|
|
5
5
|
"description": "MCP server for interacting with Supabase",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"gqlmin": "^0.3.1",
|
|
43
43
|
"graphql": "^16.11.0",
|
|
44
44
|
"openapi-fetch": "^0.13.5",
|
|
45
|
-
"@supabase/mcp-utils": "^0.
|
|
45
|
+
"@supabase/mcp-utils": "^0.10.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@modelcontextprotocol/server": "^2.0.0",
|