@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/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,f as r}from"./chunk-UOAMPZEU.js";export{r as createSupabaseMcpServer,e as featureGroupSchema};
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 _chunkNDUGAFV2cjs = require('../chunk-NDUGAFV2.cjs');require('../chunk-NOEAMFQL.cjs');require('../chunk-H4SVIPGM.cjs');exports.createSupabaseApiPlatform = _chunkNDUGAFV2cjs.a;
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-NXJ77CGK.js";import"../chunk-HZY7T3AL.js";import"../chunk-UOAMPZEU.js";export{a as createSupabaseApiPlatform};
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
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkNOEAMFQLcjs = require('../chunk-NOEAMFQL.cjs');require('../chunk-H4SVIPGM.cjs');exports.applyMigrationOptionsSchema = _chunkNOEAMFQLcjs.l; exports.branchSchema = _chunkNOEAMFQLcjs.e; exports.createBranchOptionsSchema = _chunkNOEAMFQLcjs.h; exports.createProjectOptionsSchema = _chunkNOEAMFQLcjs.g; exports.deployEdgeFunctionOptionsSchema = _chunkNOEAMFQLcjs.j; exports.edgeFunctionSchema = _chunkNOEAMFQLcjs.f; exports.executeSqlOptionsSchema = _chunkNOEAMFQLcjs.k; exports.generateTypescriptTypesResultSchema = _chunkNOEAMFQLcjs.o; exports.getLogsOptionsSchema = _chunkNOEAMFQLcjs.n; exports.migrationSchema = _chunkNOEAMFQLcjs.m; exports.organizationSchema = _chunkNOEAMFQLcjs.c; exports.projectSchema = _chunkNOEAMFQLcjs.d; exports.resetBranchOptionsSchema = _chunkNOEAMFQLcjs.i; exports.storageBucketSchema = _chunkNOEAMFQLcjs.a; exports.storageConfigSchema = _chunkNOEAMFQLcjs.b;
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
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}from"../chunk-HZY7T3AL.js";import"../chunk-UOAMPZEU.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};
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 _chunkNDUGAFV2cjs = require('../chunk-NDUGAFV2.cjs');require('../chunk-NOEAMFQL.cjs');var _chunkH4SVIPGMcjs = require('../chunk-H4SVIPGM.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}=_chunkH4SVIPGMcjs.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=_chunkNDUGAFV2cjs.a.call(void 0, {accessToken:n,apiUrl:e}),u=_chunkH4SVIPGMcjs.f.call(void 0, {platform:m,projectId:o,readOnly:t,features:f}),S=new _stdiojs.StdioServerTransport;await u.connect(S)}g().catch(console.error);
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
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import{a as c}from"../chunk-NXJ77CGK.js";import"../chunk-HZY7T3AL.js";import{a,f as i}from"../chunk-UOAMPZEU.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);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/mcp-server-supabase",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "MCP server for interacting with Supabase",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",