@supabase/mcp-server-supabase 0.5.0 → 0.5.1
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-UOAMPZEU.js → chunk-AFPBIW7K.js} +3 -3
- package/dist/{chunk-UOAMPZEU.js.map → chunk-AFPBIW7K.js.map} +1 -1
- package/dist/{chunk-NDUGAFV2.cjs → chunk-BLDFZEFO.cjs} +2 -2
- package/dist/{chunk-NDUGAFV2.cjs.map → chunk-BLDFZEFO.cjs.map} +1 -1
- package/dist/{chunk-NXJ77CGK.js → chunk-J7H5ACH4.js} +2 -2
- package/dist/{chunk-HZY7T3AL.js → chunk-OSDQ3JLU.js} +2 -2
- package/dist/{chunk-H4SVIPGM.cjs → chunk-TTHZ6XJ5.cjs} +4 -4
- package/dist/{chunk-H4SVIPGM.cjs.map → chunk-TTHZ6XJ5.cjs.map} +1 -1
- package/dist/{chunk-NOEAMFQL.cjs → chunk-TTME4LEF.cjs} +2 -2
- package/dist/{chunk-NOEAMFQL.cjs.map → chunk-TTME4LEF.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/platform/api-platform.cjs +1 -1
- package/dist/platform/api-platform.js +1 -1
- package/dist/platform/index.cjs +1 -1
- package/dist/platform/index.js +1 -1
- package/dist/transports/stdio.cjs +1 -1
- package/dist/transports/stdio.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-NXJ77CGK.js.map → chunk-J7H5ACH4.js.map} +0 -0
- /package/dist/{chunk-HZY7T3AL.js.map → chunk-OSDQ3JLU.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -3,6 +3,7 @@ import * as _modelcontextprotocol_sdk_server from '@modelcontextprotocol/sdk/ser
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@supabase/mcp-utils';
|
|
5
5
|
|
|
6
|
+
declare const currentFeatureGroupSchema: z.ZodEnum<["docs", "account", "database", "debugging", "development", "functions", "branching", "storage"]>;
|
|
6
7
|
declare const featureGroupSchema: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["debug"]>, z.ZodEnum<["docs", "account", "database", "debugging", "development", "functions", "branching", "storage"]>]>, "account" | "branching" | "database" | "storage" | "debugging" | "development" | "functions" | "docs", "account" | "branching" | "database" | "storage" | "debugging" | "development" | "functions" | "debug" | "docs">;
|
|
7
8
|
type FeatureGroup = z.infer<typeof featureGroupSchema>;
|
|
8
9
|
|
|
@@ -59,4 +60,4 @@ declare function createSupabaseMcpServer(options: SupabaseMcpServerOptions): _mo
|
|
|
59
60
|
} | undefined;
|
|
60
61
|
}>;
|
|
61
62
|
|
|
62
|
-
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, featureGroupSchema };
|
|
63
|
+
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, currentFeatureGroupSchema, featureGroupSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as _modelcontextprotocol_sdk_server from '@modelcontextprotocol/sdk/ser
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import '@supabase/mcp-utils';
|
|
5
5
|
|
|
6
|
+
declare const currentFeatureGroupSchema: z.ZodEnum<["docs", "account", "database", "debugging", "development", "functions", "branching", "storage"]>;
|
|
6
7
|
declare const featureGroupSchema: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["debug"]>, z.ZodEnum<["docs", "account", "database", "debugging", "development", "functions", "branching", "storage"]>]>, "account" | "branching" | "database" | "storage" | "debugging" | "development" | "functions" | "docs", "account" | "branching" | "database" | "storage" | "debugging" | "development" | "functions" | "debug" | "docs">;
|
|
7
8
|
type FeatureGroup = z.infer<typeof featureGroupSchema>;
|
|
8
9
|
|
|
@@ -59,4 +60,4 @@ declare function createSupabaseMcpServer(options: SupabaseMcpServerOptions): _mo
|
|
|
59
60
|
} | undefined;
|
|
60
61
|
}>;
|
|
61
62
|
|
|
62
|
-
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, featureGroupSchema };
|
|
63
|
+
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, currentFeatureGroupSchema, featureGroupSchema };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as e,
|
|
1
|
+
import{b as e,c as r,g as p}from"./chunk-AFPBIW7K.js";export{p as createSupabaseMcpServer,e as currentFeatureGroupSchema,r as featureGroupSchema};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBLDFZEFOcjs = require('../chunk-BLDFZEFO.cjs');require('../chunk-TTME4LEF.cjs');require('../chunk-TTHZ6XJ5.cjs');exports.createSupabaseApiPlatform = _chunkBLDFZEFOcjs.a;
|
|
2
2
|
//# sourceMappingURL=api-platform.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-J7H5ACH4.js";import"../chunk-OSDQ3JLU.js";import"../chunk-AFPBIW7K.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});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkTTME4LEFcjs = require('../chunk-TTME4LEF.cjs');require('../chunk-TTHZ6XJ5.cjs');exports.applyMigrationOptionsSchema = _chunkTTME4LEFcjs.l; exports.branchSchema = _chunkTTME4LEFcjs.e; exports.createBranchOptionsSchema = _chunkTTME4LEFcjs.h; exports.createProjectOptionsSchema = _chunkTTME4LEFcjs.g; exports.deployEdgeFunctionOptionsSchema = _chunkTTME4LEFcjs.j; exports.edgeFunctionSchema = _chunkTTME4LEFcjs.f; exports.executeSqlOptionsSchema = _chunkTTME4LEFcjs.k; exports.generateTypescriptTypesResultSchema = _chunkTTME4LEFcjs.o; exports.getLogsOptionsSchema = _chunkTTME4LEFcjs.n; exports.migrationSchema = _chunkTTME4LEFcjs.m; exports.organizationSchema = _chunkTTME4LEFcjs.c; exports.projectSchema = _chunkTTME4LEFcjs.d; exports.resetBranchOptionsSchema = _chunkTTME4LEFcjs.i; exports.storageBucketSchema = _chunkTTME4LEFcjs.a; exports.storageConfigSchema = _chunkTTME4LEFcjs.b;
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/platform/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}from"../chunk-OSDQ3JLU.js";import"../chunk-AFPBIW7K.js";export{l as applyMigrationOptionsSchema,e as branchSchema,h as createBranchOptionsSchema,g as createProjectOptionsSchema,j as deployEdgeFunctionOptionsSchema,f as edgeFunctionSchema,k as executeSqlOptionsSchema,o as generateTypescriptTypesResultSchema,n as getLogsOptionsSchema,m as migrationSchema,c as organizationSchema,d as projectSchema,i as resetBranchOptionsSchema,a as storageBucketSchema,b as storageConfigSchema};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
"use strict"; function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var
|
|
2
|
+
"use strict"; function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }var _chunkBLDFZEFOcjs = require('../chunk-BLDFZEFO.cjs');require('../chunk-TTME4LEF.cjs');var _chunkTTHZ6XJ5cjs = require('../chunk-TTHZ6XJ5.cjs');var _stdiojs = require('@modelcontextprotocol/sdk/server/stdio.js');var _util = require('util');function p(r,o=","){return r.split(o).map(e=>e.trim()).filter(e=>e!=="")}var{version:d}=_chunkTTHZ6XJ5cjs.a;async function g(){let{values:{["access-token"]:r,["project-ref"]:o,["read-only"]:t,["api-url"]:e,["version"]:l,["features"]:s}}=_util.parseArgs.call(void 0, {options:{"access-token":{type:"string"},"project-ref":{type:"string"},"read-only":{type:"boolean",default:!1},"api-url":{type:"string"},version:{type:"boolean"},features:{type:"string"}}});l&&(console.log(d),process.exit(0));let n=_nullishCoalesce(r, () => (process.env.SUPABASE_ACCESS_TOKEN));n||(console.error("Please provide a personal access token (PAT) with the --access-token flag or set the SUPABASE_ACCESS_TOKEN environment variable"),process.exit(1));let f=s?p(s):void 0,m=_chunkBLDFZEFOcjs.a.call(void 0, {accessToken:n,apiUrl:e}),u=_chunkTTHZ6XJ5cjs.g.call(void 0, {platform:m,projectId:o,readOnly:t,features:f}),S=new _stdiojs.StdioServerTransport;await u.connect(S)}g().catch(console.error);
|
|
3
3
|
//# sourceMappingURL=stdio.cjs.map
|
package/dist/transports/stdio.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{a as c}from"../chunk-
|
|
2
|
+
import{a as c}from"../chunk-J7H5ACH4.js";import"../chunk-OSDQ3JLU.js";import{a,g as i}from"../chunk-AFPBIW7K.js";import{StdioServerTransport as v}from"@modelcontextprotocol/sdk/server/stdio.js";import{parseArgs as y}from"util";function p(r,o=","){return r.split(o).map(e=>e.trim()).filter(e=>e!=="")}var{version:d}=a;async function g(){let{values:{["access-token"]:r,["project-ref"]:o,["read-only"]:t,["api-url"]:e,["version"]:l,["features"]:s}}=y({options:{"access-token":{type:"string"},"project-ref":{type:"string"},"read-only":{type:"boolean",default:!1},"api-url":{type:"string"},version:{type:"boolean"},features:{type:"string"}}});l&&(console.log(d),process.exit(0));let n=r??process.env.SUPABASE_ACCESS_TOKEN;n||(console.error("Please provide a personal access token (PAT) with the --access-token flag or set the SUPABASE_ACCESS_TOKEN environment variable"),process.exit(1));let f=s?p(s):void 0,m=c({accessToken:n,apiUrl:e}),u=i({platform:m,projectId:o,readOnly:t,features:f}),S=new v;await u.connect(S)}g().catch(console.error);
|
|
3
3
|
//# sourceMappingURL=stdio.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|