@supabase/mcp-server-supabase 0.18.0 → 0.20.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-6CWFTRTZ.js +17 -0
- package/dist/chunk-6CWFTRTZ.js.map +1 -0
- package/dist/{chunk-TK2UZS5X.cjs → chunk-A5FTNCK3.cjs} +11 -26
- package/dist/chunk-A5FTNCK3.cjs.map +1 -0
- package/dist/chunk-A64X45AF.cjs +17 -0
- package/dist/chunk-A64X45AF.cjs.map +1 -0
- package/dist/chunk-FL2XNMHU.cjs +295 -0
- package/dist/chunk-FL2XNMHU.cjs.map +1 -0
- package/dist/chunk-HNZQTPXQ.cjs +2 -0
- package/dist/chunk-HNZQTPXQ.cjs.map +1 -0
- package/dist/chunk-JJFVFIBB.js +2 -0
- package/dist/chunk-JJFVFIBB.js.map +1 -0
- package/dist/chunk-JR6WQZBY.js +295 -0
- package/dist/chunk-JR6WQZBY.js.map +1 -0
- package/dist/chunk-SS4B4LYS.js +50 -0
- package/dist/chunk-SS4B4LYS.js.map +1 -0
- package/dist/chunk-VV4YSLRO.cjs +1 -0
- package/dist/{chunk-PHWSETKC.cjs.map → chunk-VV4YSLRO.cjs.map} +1 -1
- package/dist/chunk-W6H5VMAV.js +1 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +177 -21
- package/dist/index.d.ts +177 -21
- 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.d.cts +1 -1
- package/dist/platform/api-platform.d.ts +1 -1
- package/dist/platform/api-platform.js +1 -1
- package/dist/platform/index.cjs +1 -1
- package/dist/platform/index.cjs.map +1 -1
- package/dist/platform/index.d.cts +14 -576
- package/dist/platform/index.d.ts +14 -576
- package/dist/platform/index.js +1 -1
- package/dist/types-Ckih0oCv.d.cts +592 -0
- package/dist/types-Ckih0oCv.d.ts +592 -0
- package/package.json +4 -2
- package/dist/chunk-6FWRABME.cjs +0 -2
- package/dist/chunk-6FWRABME.cjs.map +0 -1
- package/dist/chunk-BTGEP5EB.js +0 -65
- package/dist/chunk-BTGEP5EB.js.map +0 -1
- package/dist/chunk-DIWVSO7X.cjs +0 -2
- package/dist/chunk-DIWVSO7X.cjs.map +0 -1
- package/dist/chunk-DP5DAOXI.cjs +0 -295
- package/dist/chunk-DP5DAOXI.cjs.map +0 -1
- package/dist/chunk-JIUJWRLL.js +0 -2
- package/dist/chunk-JIUJWRLL.js.map +0 -1
- package/dist/chunk-LL3YUIO5.js +0 -2
- package/dist/chunk-LL3YUIO5.js.map +0 -1
- package/dist/chunk-LU6L7C36.js +0 -1
- package/dist/chunk-PHWSETKC.cjs +0 -1
- package/dist/chunk-TK2UZS5X.cjs.map +0 -1
- package/dist/chunk-WOFMZZMH.js +0 -295
- package/dist/chunk-WOFMZZMH.js.map +0 -1
- /package/dist/{chunk-LU6L7C36.js.map → chunk-W6H5VMAV.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ObservationContext as ObservationContext$1, RequestObservation as RequestObservation$1, RequestObserver as RequestObserver$1, ToolCallCallback } from '@supabase/mcp-utils';
|
|
2
2
|
export { ObservationEnd, ObservedMethod, ToolCallCallback, ToolCallerError, ToolCallerErrorKind, isToolCallerError } from '@supabase/mcp-utils';
|
|
3
3
|
import { z } from 'zod/v4';
|
|
4
|
-
import { FeedbackOperations, SupabasePlatform } from './
|
|
4
|
+
import { a8 as FeedbackOperations, S as SupabasePlatform } from './types-Ckih0oCv.js';
|
|
5
5
|
import * as _modelcontextprotocol_server from '@modelcontextprotocol/server';
|
|
6
6
|
import { Implementation } from '@modelcontextprotocol/server';
|
|
7
7
|
|
|
@@ -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
|
+
development: "development";
|
|
17
|
+
feedback: "feedback";
|
|
14
18
|
docs: "docs";
|
|
15
19
|
account: "account";
|
|
16
|
-
database: "database";
|
|
17
20
|
debugging: "debugging";
|
|
18
|
-
development: "development";
|
|
19
21
|
functions: "functions";
|
|
20
22
|
branching: "branching";
|
|
21
|
-
storage: "storage";
|
|
22
23
|
notebooks: "notebooks";
|
|
23
|
-
|
|
24
|
-
}>]>, z.ZodTransform<"docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback", "debug" | "docs" | "account" | "database" | "debugging" | "development" | "functions" | "branching" | "storage" | "notebooks" | "feedback">>;
|
|
24
|
+
}>]>, z.ZodTransform<"storage" | "database" | "development" | "feedback" | "docs" | "account" | "debugging" | "functions" | "branching" | "notebooks", "storage" | "database" | "development" | "feedback" | "docs" | "account" | "debugging" | "functions" | "branching" | "notebooks" | "debug">>;
|
|
25
25
|
type FeatureGroup = z.infer<typeof featureGroupSchema>;
|
|
26
26
|
|
|
27
27
|
type ObservedTool = ElicitationToolName | 'other';
|
|
@@ -103,7 +103,7 @@ type SupabaseMcpServerOptions = {
|
|
|
103
103
|
* The API URL for the Supabase Content API.
|
|
104
104
|
*/
|
|
105
105
|
contentApiUrl?: string;
|
|
106
|
-
/** Dashboard base URL for notebook links. Defaults to the production dashboard. */
|
|
106
|
+
/** Dashboard base URL for notebook and MCP Apps view links. Defaults to the production dashboard. */
|
|
107
107
|
dashboardUrl?: string;
|
|
108
108
|
/**
|
|
109
109
|
* The project ID to scope the server to.
|
|
@@ -360,6 +360,11 @@ declare const accountToolDefs: {
|
|
|
360
360
|
created_at: z.ZodString;
|
|
361
361
|
region: z.ZodString;
|
|
362
362
|
}, z.core.$strip>;
|
|
363
|
+
readonly _meta: {
|
|
364
|
+
readonly ui: {
|
|
365
|
+
readonly resourceUri: "ui://supabase/create-project";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
363
368
|
readonly annotations: {
|
|
364
369
|
readonly title: "Create project";
|
|
365
370
|
readonly readOnlyHint: false;
|
|
@@ -431,6 +436,11 @@ declare const branchingToolDefs: {
|
|
|
431
436
|
created_at: z.ZodString;
|
|
432
437
|
updated_at: z.ZodString;
|
|
433
438
|
}, z.core.$strip>;
|
|
439
|
+
readonly _meta: {
|
|
440
|
+
readonly ui: {
|
|
441
|
+
readonly resourceUri: "ui://supabase/create-branch";
|
|
442
|
+
};
|
|
443
|
+
};
|
|
434
444
|
readonly annotations: {
|
|
435
445
|
readonly title: "Create branch";
|
|
436
446
|
readonly readOnlyHint: false;
|
|
@@ -679,19 +689,89 @@ declare const databaseToolDefs: {
|
|
|
679
689
|
};
|
|
680
690
|
|
|
681
691
|
declare const debuggingToolDefs: {
|
|
692
|
+
readonly get_issues: {
|
|
693
|
+
readonly description: "Gets current project issues grouped by check, with security, performance, and health check coverage. Start here when debugging or after DDL changes. IDs identify checks within this project, not persistent incidents. An unavailable check is not a clean assessment. Include docs_url as a clickable remediation link.";
|
|
694
|
+
readonly parameters: z.ZodObject<{
|
|
695
|
+
project_id: z.ZodString;
|
|
696
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
697
|
+
health: "health";
|
|
698
|
+
all: "all";
|
|
699
|
+
security: "security";
|
|
700
|
+
performance: "performance";
|
|
701
|
+
}>>;
|
|
702
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
703
|
+
critical: "critical";
|
|
704
|
+
warning: "warning";
|
|
705
|
+
info: "info";
|
|
706
|
+
}>>;
|
|
707
|
+
}, z.core.$strip>;
|
|
708
|
+
readonly outputSchema: z.ZodObject<{
|
|
709
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
710
|
+
id: z.ZodString;
|
|
711
|
+
title: z.ZodString;
|
|
712
|
+
description: z.ZodString;
|
|
713
|
+
severity: z.ZodEnum<{
|
|
714
|
+
critical: "critical";
|
|
715
|
+
warning: "warning";
|
|
716
|
+
info: "info";
|
|
717
|
+
}>;
|
|
718
|
+
category: z.ZodEnum<{
|
|
719
|
+
health: "health";
|
|
720
|
+
security: "security";
|
|
721
|
+
performance: "performance";
|
|
722
|
+
}>;
|
|
723
|
+
source: z.ZodLiteral<"lint">;
|
|
724
|
+
docs_url: z.ZodString;
|
|
725
|
+
affected_count: z.ZodNumber;
|
|
726
|
+
affected: z.ZodArray<z.ZodObject<{
|
|
727
|
+
id: z.ZodString;
|
|
728
|
+
resource: z.ZodObject<{
|
|
729
|
+
type: z.ZodString;
|
|
730
|
+
name: z.ZodString;
|
|
731
|
+
schema: z.ZodNullable<z.ZodString>;
|
|
732
|
+
}, z.core.$strip>;
|
|
733
|
+
detail: z.ZodString;
|
|
734
|
+
severity: z.ZodEnum<{
|
|
735
|
+
critical: "critical";
|
|
736
|
+
warning: "warning";
|
|
737
|
+
info: "info";
|
|
738
|
+
}>;
|
|
739
|
+
}, z.core.$strip>>;
|
|
740
|
+
}, z.core.$strip>>;
|
|
741
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
742
|
+
type: z.ZodEnum<{
|
|
743
|
+
health: "health";
|
|
744
|
+
security: "security";
|
|
745
|
+
performance: "performance";
|
|
746
|
+
}>;
|
|
747
|
+
status: z.ZodEnum<{
|
|
748
|
+
unavailable: "unavailable";
|
|
749
|
+
complete: "complete";
|
|
750
|
+
}>;
|
|
751
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
}, z.core.$strip>;
|
|
754
|
+
readonly annotations: {
|
|
755
|
+
readonly title: "Get project issues";
|
|
756
|
+
readonly readOnlyHint: true;
|
|
757
|
+
readonly destructiveHint: false;
|
|
758
|
+
readonly idempotentHint: true;
|
|
759
|
+
readonly openWorldHint: false;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
682
762
|
readonly get_logs: {
|
|
683
763
|
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.";
|
|
684
764
|
readonly parameters: z.ZodObject<{
|
|
685
765
|
project_id: z.ZodString;
|
|
686
766
|
service: z.ZodEnum<{
|
|
767
|
+
auth: "auth";
|
|
768
|
+
realtime: "realtime";
|
|
687
769
|
storage: "storage";
|
|
688
770
|
api: "api";
|
|
689
771
|
"branch-action": "branch-action";
|
|
690
772
|
postgres: "postgres";
|
|
691
773
|
"edge-function": "edge-function";
|
|
692
774
|
"edge-function-runtime": "edge-function-runtime";
|
|
693
|
-
auth: "auth";
|
|
694
|
-
realtime: "realtime";
|
|
695
775
|
}>;
|
|
696
776
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
697
777
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -727,7 +807,7 @@ declare const debuggingToolDefs: {
|
|
|
727
807
|
};
|
|
728
808
|
};
|
|
729
809
|
readonly get_advisors: {
|
|
730
|
-
readonly description: "Gets a list of advisory notices for the Supabase project. Use this to check for security vulnerabilities, performance improvements, or health issues. Include the remediation URL as a clickable link so that the user can reference the issue themselves.
|
|
810
|
+
readonly description: "Planned for future deprecation in favor of get_issues; remains available. Gets a list of advisory notices for the Supabase project. Use this to check for security vulnerabilities, performance improvements, or health issues. Include the remediation URL as a clickable link so that the user can reference the issue themselves.";
|
|
731
811
|
readonly parameters: z.ZodObject<{
|
|
732
812
|
project_id: z.ZodString;
|
|
733
813
|
type: z.ZodEnum<{
|
|
@@ -796,6 +876,7 @@ declare const developmentToolDefs: {
|
|
|
796
876
|
readonly description: "Generates TypeScript types for a project.";
|
|
797
877
|
readonly parameters: z.ZodObject<{
|
|
798
878
|
project_id: z.ZodString;
|
|
879
|
+
schemas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
799
880
|
}, z.core.$strip>;
|
|
800
881
|
readonly outputSchema: z.ZodObject<{
|
|
801
882
|
types: z.ZodString;
|
|
@@ -976,11 +1057,11 @@ declare const notebookToolDefs: {
|
|
|
976
1057
|
text: z.ZodString;
|
|
977
1058
|
}, z.core.$strict>, z.ZodObject<{
|
|
978
1059
|
type: z.ZodLiteral<"database">;
|
|
979
|
-
title: z.ZodOptional<z.ZodString>;
|
|
980
1060
|
view: z.ZodOptional<z.ZodEnum<{
|
|
981
1061
|
table: "table";
|
|
982
1062
|
chart: "chart";
|
|
983
1063
|
}>>;
|
|
1064
|
+
title: z.ZodOptional<z.ZodString>;
|
|
984
1065
|
sql: z.ZodString;
|
|
985
1066
|
row_limit: z.ZodNumber;
|
|
986
1067
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1002,11 +1083,11 @@ declare const notebookToolDefs: {
|
|
|
1002
1083
|
}, z.core.$strict>>;
|
|
1003
1084
|
}, z.core.$strict>, z.ZodObject<{
|
|
1004
1085
|
type: z.ZodLiteral<"log">;
|
|
1005
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1006
1086
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1007
1087
|
table: "table";
|
|
1008
1088
|
chart: "chart";
|
|
1009
1089
|
}>>;
|
|
1090
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1010
1091
|
sql: z.ZodString;
|
|
1011
1092
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1012
1093
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1044,8 +1125,8 @@ declare const notebookToolDefs: {
|
|
|
1044
1125
|
}, z.core.$strip>;
|
|
1045
1126
|
}, z.core.$strip>;
|
|
1046
1127
|
readonly outputSchema: z.ZodObject<{
|
|
1047
|
-
id: z.ZodString;
|
|
1048
1128
|
name: z.ZodString;
|
|
1129
|
+
id: z.ZodString;
|
|
1049
1130
|
updated_at: z.ZodString;
|
|
1050
1131
|
url: z.ZodString;
|
|
1051
1132
|
}, z.core.$strip>;
|
|
@@ -1154,8 +1235,8 @@ declare const notebookToolDefs: {
|
|
|
1154
1235
|
notebook_id: z.ZodString;
|
|
1155
1236
|
}, z.core.$strip>;
|
|
1156
1237
|
readonly outputSchema: z.ZodObject<{
|
|
1157
|
-
id: z.ZodString;
|
|
1158
1238
|
name: z.ZodString;
|
|
1239
|
+
id: z.ZodString;
|
|
1159
1240
|
}, z.core.$strip>;
|
|
1160
1241
|
readonly annotations: {
|
|
1161
1242
|
readonly title: "Delete notebook";
|
|
@@ -1332,11 +1413,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1332
1413
|
text: z.ZodString;
|
|
1333
1414
|
}, z.core.$strict>, z.ZodObject<{
|
|
1334
1415
|
type: z.ZodLiteral<"database">;
|
|
1335
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1336
1416
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1337
1417
|
table: "table";
|
|
1338
1418
|
chart: "chart";
|
|
1339
1419
|
}>>;
|
|
1420
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1340
1421
|
sql: z.ZodString;
|
|
1341
1422
|
row_limit: z.ZodNumber;
|
|
1342
1423
|
database_identifier: z.ZodOptional<z.ZodString>;
|
|
@@ -1358,11 +1439,11 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1358
1439
|
}, z.core.$strict>>;
|
|
1359
1440
|
}, z.core.$strict>, z.ZodObject<{
|
|
1360
1441
|
type: z.ZodLiteral<"log">;
|
|
1361
|
-
title: z.ZodOptional<z.ZodString>;
|
|
1362
1442
|
view: z.ZodOptional<z.ZodEnum<{
|
|
1363
1443
|
table: "table";
|
|
1364
1444
|
chart: "chart";
|
|
1365
1445
|
}>>;
|
|
1446
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1366
1447
|
sql: z.ZodString;
|
|
1367
1448
|
time_range: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1368
1449
|
type: z.ZodLiteral<"absolute">;
|
|
@@ -1400,8 +1481,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1400
1481
|
}, z.core.$strip>;
|
|
1401
1482
|
}, z.core.$strip>;
|
|
1402
1483
|
outputSchema: z.ZodObject<{
|
|
1403
|
-
id: z.ZodString;
|
|
1404
1484
|
name: z.ZodString;
|
|
1485
|
+
id: z.ZodString;
|
|
1405
1486
|
updated_at: z.ZodString;
|
|
1406
1487
|
url: z.ZodString;
|
|
1407
1488
|
}, z.core.$strip>;
|
|
@@ -1513,8 +1594,8 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1513
1594
|
notebook_id: z.ZodString;
|
|
1514
1595
|
}, z.core.$strip>;
|
|
1515
1596
|
outputSchema: z.ZodObject<{
|
|
1516
|
-
id: z.ZodString;
|
|
1517
1597
|
name: z.ZodString;
|
|
1598
|
+
id: z.ZodString;
|
|
1518
1599
|
}, z.core.$strip>;
|
|
1519
1600
|
annotations: {
|
|
1520
1601
|
readonly title: "Delete notebook";
|
|
@@ -1785,6 +1866,7 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1785
1866
|
generate_typescript_types: {
|
|
1786
1867
|
inputSchema: z.ZodObject<{
|
|
1787
1868
|
project_id: z.ZodString;
|
|
1869
|
+
schemas: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1788
1870
|
}, z.core.$strip>;
|
|
1789
1871
|
outputSchema: z.ZodObject<{
|
|
1790
1872
|
types: z.ZodString;
|
|
@@ -1799,18 +1881,89 @@ declare const supabaseMcpToolSchemas: {
|
|
|
1799
1881
|
readOnlyBehavior: undefined;
|
|
1800
1882
|
hidden: undefined;
|
|
1801
1883
|
};
|
|
1884
|
+
get_issues: {
|
|
1885
|
+
inputSchema: z.ZodObject<{
|
|
1886
|
+
project_id: z.ZodString;
|
|
1887
|
+
type: z.ZodDefault<z.ZodEnum<{
|
|
1888
|
+
health: "health";
|
|
1889
|
+
all: "all";
|
|
1890
|
+
security: "security";
|
|
1891
|
+
performance: "performance";
|
|
1892
|
+
}>>;
|
|
1893
|
+
severity: z.ZodDefault<z.ZodEnum<{
|
|
1894
|
+
critical: "critical";
|
|
1895
|
+
warning: "warning";
|
|
1896
|
+
info: "info";
|
|
1897
|
+
}>>;
|
|
1898
|
+
}, z.core.$strip>;
|
|
1899
|
+
outputSchema: z.ZodObject<{
|
|
1900
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
1901
|
+
id: z.ZodString;
|
|
1902
|
+
title: z.ZodString;
|
|
1903
|
+
description: z.ZodString;
|
|
1904
|
+
severity: z.ZodEnum<{
|
|
1905
|
+
critical: "critical";
|
|
1906
|
+
warning: "warning";
|
|
1907
|
+
info: "info";
|
|
1908
|
+
}>;
|
|
1909
|
+
category: z.ZodEnum<{
|
|
1910
|
+
health: "health";
|
|
1911
|
+
security: "security";
|
|
1912
|
+
performance: "performance";
|
|
1913
|
+
}>;
|
|
1914
|
+
source: z.ZodLiteral<"lint">;
|
|
1915
|
+
docs_url: z.ZodString;
|
|
1916
|
+
affected_count: z.ZodNumber;
|
|
1917
|
+
affected: z.ZodArray<z.ZodObject<{
|
|
1918
|
+
id: z.ZodString;
|
|
1919
|
+
resource: z.ZodObject<{
|
|
1920
|
+
type: z.ZodString;
|
|
1921
|
+
name: z.ZodString;
|
|
1922
|
+
schema: z.ZodNullable<z.ZodString>;
|
|
1923
|
+
}, z.core.$strip>;
|
|
1924
|
+
detail: z.ZodString;
|
|
1925
|
+
severity: z.ZodEnum<{
|
|
1926
|
+
critical: "critical";
|
|
1927
|
+
warning: "warning";
|
|
1928
|
+
info: "info";
|
|
1929
|
+
}>;
|
|
1930
|
+
}, z.core.$strip>>;
|
|
1931
|
+
}, z.core.$strip>>;
|
|
1932
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1933
|
+
type: z.ZodEnum<{
|
|
1934
|
+
health: "health";
|
|
1935
|
+
security: "security";
|
|
1936
|
+
performance: "performance";
|
|
1937
|
+
}>;
|
|
1938
|
+
status: z.ZodEnum<{
|
|
1939
|
+
unavailable: "unavailable";
|
|
1940
|
+
complete: "complete";
|
|
1941
|
+
}>;
|
|
1942
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1943
|
+
}, z.core.$strip>>;
|
|
1944
|
+
}, z.core.$strip>;
|
|
1945
|
+
annotations: {
|
|
1946
|
+
readonly title: "Get project issues";
|
|
1947
|
+
readonly readOnlyHint: true;
|
|
1948
|
+
readonly destructiveHint: false;
|
|
1949
|
+
readonly idempotentHint: true;
|
|
1950
|
+
readonly openWorldHint: false;
|
|
1951
|
+
};
|
|
1952
|
+
readOnlyBehavior: undefined;
|
|
1953
|
+
hidden: undefined;
|
|
1954
|
+
};
|
|
1802
1955
|
get_logs: {
|
|
1803
1956
|
inputSchema: z.ZodObject<{
|
|
1804
1957
|
project_id: z.ZodString;
|
|
1805
1958
|
service: z.ZodEnum<{
|
|
1959
|
+
auth: "auth";
|
|
1960
|
+
realtime: "realtime";
|
|
1806
1961
|
storage: "storage";
|
|
1807
1962
|
api: "api";
|
|
1808
1963
|
"branch-action": "branch-action";
|
|
1809
1964
|
postgres: "postgres";
|
|
1810
1965
|
"edge-function": "edge-function";
|
|
1811
1966
|
"edge-function-runtime": "edge-function-runtime";
|
|
1812
|
-
auth: "auth";
|
|
1813
|
-
realtime: "realtime";
|
|
1814
1967
|
}>;
|
|
1815
1968
|
iso_timestamp_start: z.ZodOptional<z.ZodISODateTime>;
|
|
1816
1969
|
iso_timestamp_end: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -2456,6 +2609,9 @@ declare function createToolSchemas<const Features extends readonly FeatureGroup[
|
|
|
2456
2609
|
readOnly?: ReadOnly;
|
|
2457
2610
|
}): ToolSchemasFor<Features[number], ProjectScoped, ReadOnly>;
|
|
2458
2611
|
|
|
2612
|
+
declare const CREATE_PROJECT_UI_URI = "ui://supabase/create-project";
|
|
2613
|
+
declare const CREATE_BRANCH_UI_URI = "ui://supabase/create-branch";
|
|
2614
|
+
|
|
2459
2615
|
declare const version: string;
|
|
2460
2616
|
|
|
2461
|
-
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 };
|
|
2617
|
+
export { CREATE_BRANCH_UI_URI, CREATE_PROJECT_UI_URI, 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,b as p,
|
|
1
|
+
import{a,b as p,c as s,d as c,h as n,i,j as e}from"./chunk-JR6WQZBY.js";import{a as r,d as t}from"./chunk-SS4B4LYS.js";import"./chunk-6CWFTRTZ.js";import{isToolCallerError as E,ToolCallerError as x}from"@supabase/mcp-utils";import{createMcpHandler as l}from"@modelcontextprotocol/server";function m(o){return l(()=>e(o),{legacy:"reject"})}var S=r.version;export{p as CREATE_BRANCH_UI_URI,a as CREATE_PROJECT_UI_URI,s as CURRENT_ELICITATION_TOOLS,c as CURRENT_FEATURE_GROUPS,x as ToolCallerError,t as createFeedbackOperations,m as createSupabaseMcpHandler,e as createSupabaseMcpServer,i as createToolSchemas,E as isToolCallerError,n as supabaseMcpToolSchemas,S as version};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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';\nexport {\n CREATE_BRANCH_UI_URI,\n CREATE_PROJECT_UI_URI,\n} from './resources/app-resources.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":"mJAYA,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 _chunkHNZQTPXQcjs = require('../chunk-HNZQTPXQ.cjs');require('../chunk-A5FTNCK3.cjs');require('../chunk-VV4YSLRO.cjs');require('../chunk-A64X45AF.cjs');exports.createSupabaseApiPlatform = _chunkHNZQTPXQcjs.a;
|
|
2
2
|
//# sourceMappingURL=api-platform.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-JJFVFIBB.js";import"../chunk-SS4B4LYS.js";import"../chunk-W6H5VMAV.js";import"../chunk-6CWFTRTZ.js";export{a as createSupabaseApiPlatform};
|
|
2
2
|
//# sourceMappingURL=api-platform.js.map
|
package/dist/platform/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-VV4YSLRO.cjs');var _chunkA64X45AFcjs = require('../chunk-A64X45AF.cjs');exports.DEFAULT_IMPORT_MAP_FILENAMES = _chunkA64X45AFcjs.d; exports.ResultTooLargeError = _chunkA64X45AFcjs.s; exports.apiKeyTypeSchema = _chunkA64X45AFcjs.E; exports.applyMigrationOptionsSchema = _chunkA64X45AFcjs.u; exports.branchSchema = _chunkA64X45AFcjs.l; exports.createBranchOptionsSchema = _chunkA64X45AFcjs.p; exports.createNotebookOptionsSchema = _chunkA64X45AFcjs.B; exports.createProjectOptionsSchema = _chunkA64X45AFcjs.o; exports.deployEdgeFunctionOptionsSchema = _chunkA64X45AFcjs.r; exports.edgeFunctionSchema = _chunkA64X45AFcjs.m; exports.edgeFunctionWithBodySchema = _chunkA64X45AFcjs.n; exports.executeSqlOptionsSchema = _chunkA64X45AFcjs.t; exports.generateTypescriptTypesResultSchema = _chunkA64X45AFcjs.z; exports.getDefaultImportMapPath = _chunkA64X45AFcjs.e; exports.getLogsOptionsSchema = _chunkA64X45AFcjs.x; exports.logsServiceSchema = _chunkA64X45AFcjs.w; exports.migrationSchema = _chunkA64X45AFcjs.v; exports.notebookCellSchema = _chunkA64X45AFcjs.A; exports.notebookSchema = _chunkA64X45AFcjs.C; exports.notebookWithContentSchema = _chunkA64X45AFcjs.D; exports.organizationSchema = _chunkA64X45AFcjs.j; exports.projectSchema = _chunkA64X45AFcjs.k; exports.queryLogsOptionsSchema = _chunkA64X45AFcjs.y; exports.resetBranchOptionsSchema = _chunkA64X45AFcjs.q; exports.storageBucketSchema = _chunkA64X45AFcjs.h; exports.storageConfigSchema = _chunkA64X45AFcjs.i;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/mcp/mcp/packages/mcp-server-supabase/dist/platform/index.cjs"],"names":[],"mappings":"AAAA,0GAA6B,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/mcp/mcp/packages/mcp-server-supabase/dist/platform/index.cjs"],"names":[],"mappings":"AAAA,0GAA6B,yDAAyN,+2CAAotB","file":"/home/runner/work/mcp/mcp/packages/mcp-server-supabase/dist/platform/index.cjs"}
|