The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: bump mcp version to 0.5.9 (#41052)
Pedro Rodrigues9d12f0bc8630
diff --git a/apps/studio/lib/api/self-hosted/mcp.ts b/apps/studio/lib/api/self-hosted/mcp.tsindex 2a270a4e47b..41140208e3d 100644--- a/apps/studio/lib/api/self-hosted/mcp.ts+++ b/apps/studio/lib/api/self-hosted/mcp.ts@@ -1,4 +1,6 @@import {+ ApiKey,+ ApiKeyType,ApplyMigrationOptions,DatabaseOperations,DebuggingOperations,@@ -69,7 +71,7 @@ export function getDevelopmentOperations({const settings = getProjectSettings()return `${settings.app_config.protocol}://${settings.app_config.endpoint}`},- async getAnonKey(_projectRef) {+ async getPublishableKeys(_projectRef) {const settings = getProjectSettings()const anonKey = settings.service_api_keys.find((key) => key.name === 'anon key')@@ -77,7 +79,18 @@ export function getDevelopmentOperations({throw new Error('Anon key not found in project settings')}- return anonKey.api_key+ // For self-hosted, only the legacy anon key is available and returned here.+ // There is currently no publishable key variable in self-hosted configuration,+ // and the migration to new publishable keys requires additional Auth and service setup.+ const publishableKeysArray: ApiKey[] = [+ {+ api_key: anonKey.api_key,+ name: anonKey.name,+ type: 'anon' as ApiKeyType,+ },+ ]++ return publishableKeysArray},async generateTypescriptTypes(_projectRef) {const response = await generateTypescriptTypes({ headers })diff --git a/apps/studio/package.json b/apps/studio/package.jsonindex a0788e72755..32338e02d38 100644--- a/apps/studio/package.json+++ b/apps/studio/package.json@@ -58,8 +58,8 @@"@stripe/react-stripe-js": "^3.7.0","@stripe/stripe-js": "^7.5.0","@supabase/auth-js": "catalog:",- "@supabase/mcp-server-supabase": "^0.5.8",- "@supabase/mcp-utils": "^0.2.0",+ "@supabase/mcp-server-supabase": "^0.5.9",+ "@supabase/mcp-utils": "^0.2.4","@supabase/pg-meta": "workspace:*","@supabase/realtime-js": "catalog:","@supabase/shared-types": "0.1.83",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex dbf235f9b9d..f59faae6ca1 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -852,11 +852,11 @@ importers:specifier: 'catalog:'version: 2.87.0'@supabase/mcp-server-supabase':- specifier: ^0.5.8- version: 0.5.8([email protected])+ specifier: ^0.5.9+ version: 0.5.9([email protected])'@supabase/mcp-utils':- specifier: ^0.2.0- version: 0.2.1([email protected])+ specifier: ^0.2.4+ version: 0.2.4([email protected])'@supabase/pg-meta':specifier: workspace:*version: link:../../packages/pg-meta@@ -8587,15 +8587,12 @@ packages:resolution: {integrity: sha512-L4Y6PD8gyeWMZeHXiwywICIJvEWnnwn8E3Z7V3Wn60/N+jDKMaRJlaCncPf8rhHzFuJlabqRiVEy5nCKjmAnXA==}engines: {node: '>=20.0.0'}- '@supabase/[email protected]':- resolution: {integrity: sha512-+kpHomRCKyK1D1nEM2s89qGAfN4zN8JrDpcyAvZd19Z/KexNvaByRKpwBWnE3GEtcEx9H+XUFM72Z5O7rC802Q==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-+gXSucJ9f4c8CqUqXyfQ92kJhdrOaveP122IVRba9quykF+il1zIrdooAPR6yVwz7J8+xoiCbJ1mey1lm00kxQ==}hasBin: true- '@supabase/[email protected]':- resolution: {integrity: sha512-T3LEAEKXOxHGVzhPvxqbAYbxluUKNxQpFnYVyRIazQJOQzZ03tCg+pp3LUYQi0HkWPIo+u+AgtULJVEvgeNr/Q==}-- '@supabase/[email protected]':- resolution: {integrity: sha512-tw+DENThCaf5PrD5VrD9Gej8K0mi76mmrILdxpCnmJSaga1jFMpOpEaIjkQBXG5YKlhUqlyKfcaqx9bTuz8Bxg==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-oFLse3fDFDAY/Ahhzju1kJ0A22evVPCeMi0bIu8aNam+5KNKeWhgDrRp1v5Q7b17OH63Z1Rp7zwSmQXoKa1dRQ==}'@supabase/[email protected]':resolution: {integrity: sha512-vz5gc6RKNfDVnIfRUmH2ssTMYFI0U3MYOVyQ9R4YkzOS2dKSanjC4rTEDGjlMFwGTCUPW3N3pbY7HJIW81wMyg==}@@ -27372,11 +27369,11 @@ snapshots:dependencies:tslib: 2.8.1- '@supabase/[email protected]([email protected])':+ '@supabase/[email protected]([email protected])':dependencies:'@mjackson/multipart-parser': 0.10.1'@modelcontextprotocol/sdk': 1.18.0([email protected])- '@supabase/mcp-utils': 0.2.3([email protected])+ '@supabase/mcp-utils': 0.2.4([email protected])common-tags: 1.8.2graphql: 16.11.0openapi-fetch: 0.13.8@@ -27384,15 +27381,7 @@ snapshots:transitivePeerDependencies:- supports-color- '@supabase/[email protected]([email protected])':- dependencies:- '@modelcontextprotocol/sdk': 1.18.0([email protected])- zod: 3.25.76- zod-to-json-schema: 3.24.5([email protected])- transitivePeerDependencies:- - supports-color-- '@supabase/[email protected]([email protected])':+ '@supabase/[email protected]([email protected])':dependencies:'@modelcontextprotocol/sdk': 1.18.0([email protected])zod: 3.25.76