@supabase/mcp-server-supabase 0.5.0 → 0.5.2
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-HZY7T3AL.js → chunk-CXRJDOVS.js} +2 -2
- package/dist/{chunk-UOAMPZEU.js → chunk-CY4GX7KZ.js} +3 -3
- package/dist/{chunk-UOAMPZEU.js.map → chunk-CY4GX7KZ.js.map} +1 -1
- package/dist/{chunk-NXJ77CGK.js → chunk-O4HE2BKY.js} +2 -2
- package/dist/{chunk-H4SVIPGM.cjs → chunk-QJ2BFGOR.cjs} +4 -4
- package/dist/{chunk-H4SVIPGM.cjs.map → chunk-QJ2BFGOR.cjs.map} +1 -1
- package/dist/{chunk-NDUGAFV2.cjs → chunk-TO5M2T7V.cjs} +2 -2
- package/dist/{chunk-NDUGAFV2.cjs.map → chunk-TO5M2T7V.cjs.map} +1 -1
- package/dist/{chunk-NOEAMFQL.cjs → chunk-V7ARYUGJ.cjs} +2 -2
- package/dist/{chunk-NOEAMFQL.cjs.map → chunk-V7ARYUGJ.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -1
- package/dist/index.d.ts +4 -1
- 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.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-HZY7T3AL.js.map → chunk-CXRJDOVS.js.map} +0 -0
- /package/dist/{chunk-NXJ77CGK.js.map → chunk-O4HE2BKY.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,6 @@ declare function createSupabaseMcpServer(options: SupabaseMcpServerOptions): _mo
|
|
|
59
60
|
} | undefined;
|
|
60
61
|
}>;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
declare const version: string;
|
|
64
|
+
|
|
65
|
+
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, currentFeatureGroupSchema, featureGroupSchema, version };
|
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,6 @@ declare function createSupabaseMcpServer(options: SupabaseMcpServerOptions): _mo
|
|
|
59
60
|
} | undefined;
|
|
60
61
|
}>;
|
|
61
62
|
|
|
62
|
-
|
|
63
|
+
declare const version: string;
|
|
64
|
+
|
|
65
|
+
export { type FeatureGroup, type SupabaseMcpServerOptions, SupabasePlatform, createSupabaseMcpServer, currentFeatureGroupSchema, featureGroupSchema, version };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as e,b as r,c as o,g as p}from"./chunk-CY4GX7KZ.js";var a=e.version;export{p as createSupabaseMcpServer,r as currentFeatureGroupSchema,o as featureGroupSchema,a as version};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import packageJson from '../package.json' with { type: 'json' };\n\nexport type { SupabasePlatform } from './platform/index.js';\nexport {\n createSupabaseMcpServer,\n type SupabaseMcpServerOptions,\n} from './server.js';\nexport {\n featureGroupSchema,\n currentFeatureGroupSchema,\n type FeatureGroup,\n} from './types.js';\nexport const version = packageJson.version;\n"],"mappings":"6DAYO,IAAMA,EAAUC,EAAY","names":["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 _chunkTO5M2T7Vcjs = require('../chunk-TO5M2T7V.cjs');require('../chunk-V7ARYUGJ.cjs');require('../chunk-QJ2BFGOR.cjs');exports.createSupabaseApiPlatform = _chunkTO5M2T7Vcjs.a;
|
|
2
2
|
//# sourceMappingURL=api-platform.cjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-O4HE2BKY.js";import"../chunk-CXRJDOVS.js";import"../chunk-CY4GX7KZ.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 _chunkV7ARYUGJcjs = require('../chunk-V7ARYUGJ.cjs');require('../chunk-QJ2BFGOR.cjs');exports.applyMigrationOptionsSchema = _chunkV7ARYUGJcjs.l; exports.branchSchema = _chunkV7ARYUGJcjs.e; exports.createBranchOptionsSchema = _chunkV7ARYUGJcjs.h; exports.createProjectOptionsSchema = _chunkV7ARYUGJcjs.g; exports.deployEdgeFunctionOptionsSchema = _chunkV7ARYUGJcjs.j; exports.edgeFunctionSchema = _chunkV7ARYUGJcjs.f; exports.executeSqlOptionsSchema = _chunkV7ARYUGJcjs.k; exports.generateTypescriptTypesResultSchema = _chunkV7ARYUGJcjs.o; exports.getLogsOptionsSchema = _chunkV7ARYUGJcjs.n; exports.migrationSchema = _chunkV7ARYUGJcjs.m; exports.organizationSchema = _chunkV7ARYUGJcjs.c; exports.projectSchema = _chunkV7ARYUGJcjs.d; exports.resetBranchOptionsSchema = _chunkV7ARYUGJcjs.i; exports.storageBucketSchema = _chunkV7ARYUGJcjs.a; exports.storageConfigSchema = _chunkV7ARYUGJcjs.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-CXRJDOVS.js";import"../chunk-CY4GX7KZ.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 _chunkTO5M2T7Vcjs = require('../chunk-TO5M2T7V.cjs');require('../chunk-V7ARYUGJ.cjs');var _chunkQJ2BFGORcjs = require('../chunk-QJ2BFGOR.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}=_chunkQJ2BFGORcjs.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=_chunkTO5M2T7Vcjs.a.call(void 0, {accessToken:n,apiUrl:e}),u=_chunkQJ2BFGORcjs.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-O4HE2BKY.js";import"../chunk-CXRJDOVS.js";import{a,g as i}from"../chunk-CY4GX7KZ.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
|